diff --git a/specs/github.yaml b/specs/github.yaml index a02b3deb82..8f27bb6765 100644 --- a/specs/github.yaml +++ b/specs/github.yaml @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: code-security + description: Endpoints to manage Code security using the REST API. servers: - url: https://api.github.com externalDocs: @@ -229,6 +231,20 @@ paths: in: query schema: type: string + - name: epss_percentage + in: query + description: |- + If specified, only return advisories that have an EPSS percentage score that matches the provided value. + The EPSS percentage represents the likelihood of a CVE being exploited. + schema: + type: string + - name: epss_percentile + in: query + description: |- + If specified, only return advisories that have an EPSS percentile score that matches the provided value. + The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. + schema: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/direction" @@ -250,6 +266,8 @@ paths: enum: - updated - published + - epss_percentage + - epss_percentile default: published responses: '200': @@ -834,7 +852,7 @@ paths: delete: summary: Delete an app authorization description: |- - OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. + OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). operationId: apps/delete-authorization tags: @@ -877,9 +895,7 @@ paths: description: OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently - with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - to use this endpoint, where the username is the application `client_id` and - the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. tags: - apps operationId: apps/check-token @@ -928,9 +944,7 @@ paths: description: OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes - take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the application's `client_id` and `client_secret` - as the username and password. Invalid tokens will return `404 NOT FOUND`. + take effect immediately. Invalid tokens will return `404 NOT FOUND`. tags: - apps operationId: apps/reset-token @@ -976,9 +990,6 @@ paths: summary: Delete an app token description: OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. - You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the application's `client_id` and `client_secret` - as the username and password. tags: - apps operationId: apps/delete-token @@ -1023,10 +1034,6 @@ paths: token. Invalid tokens will return `404 NOT FOUND`. - - You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App - as the username and password. tags: - apps operationId: apps/scope-token @@ -1113,9 +1120,9 @@ paths: "/apps/{app_slug}": get: summary: Get an app - description: "**Note**: The `:app_slug` is just the URL-friendly name of your - GitHub App. You can find this on the settings page for your GitHub App (e.g., - `https://github.com/settings/apps/:app_slug`)." + description: |- + > [!NOTE] + > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). tags: - apps operationId: apps/get-by-slug @@ -1181,7 +1188,7 @@ paths: the assignment. tags: - classroom - operationId: classroom/list-accepted-assigments-for-an-assignment + operationId: classroom/list-accepted-assignments-for-an-assignment externalDocs: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment @@ -1425,24 +1432,92 @@ paths: enabledForGitHubApps: true category: emojis subcategory: emojis + "/enterprises/{enterprise}/copilot/billing/seats": + get: + summary: List all Copilot seat assignments for an enterprise + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. + + Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once. + + For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array. + + Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams. + + Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-seats-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/page" + - name: per_page + description: 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)." + in: query + schema: + type: integer + default: 50 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_seats: + type: integer + description: The total number of Copilot seats the enterprise + is being billed for. Users with access through multiple organizations + or enterprise teams are only counted once. + seats: + type: array + items: + "$ref": "#/components/schemas/copilot-seat-details" + examples: + default: + "$ref": "#/components/examples/copilot-seats-list" + headers: + Link: + "$ref": "#/components/headers/link" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/usage": get: summary: Get a summary of Copilot usage for enterprise members description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, they must have telemetry enabled in their IDE. - Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage - metrics for the enterprise. + Only owners and billing managers can view Copilot usage metrics for the enterprise. - OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. tags: - copilot operationId: copilot/usage-metrics-for-enterprise @@ -1609,12 +1684,91 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": + get: + summary: Get a summary of Copilot usage for an enterprise team + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE + for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. + See the response schema tab for detailed metrics definitions. + + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, + and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + they must have telemetry enabled in their IDE. + + > [!NOTE] + > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. + + Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/usage-metrics-for-enterprise-team + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + - name: since + description: Show usage metrics since this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). + Maximum value is 28 days ago. + in: query + required: false + schema: + type: string + - name: until + description: Show usage metrics until this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) + and should not preceed the `since` date if it is passed. + in: query + required: false + schema: + type: string + - "$ref": "#/components/parameters/page" + - name: per_page + description: The number of days of metrics to display per page (max 28). 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)." + in: query + schema: + type: integer + default: 28 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/copilot-usage-metrics" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-org" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/events": get: summary: List public events - description: 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. + description: |- + > [!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. tags: - activity operationId: activity/list-public-events @@ -1663,7 +1817,8 @@ paths: 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. + > [!NOTE] + > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. tags: - activity operationId: activity/get-feeds @@ -1730,7 +1885,8 @@ paths: description: |- Allows you to add a new gist with one or more files. - **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + > [!NOTE] + > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. operationId: gists/create tags: - gists @@ -2692,10 +2848,8 @@ paths: repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -3006,7 +3160,7 @@ paths: description: |- Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/get-subscription-plan-for-account @@ -3044,7 +3198,7 @@ paths: description: |- Lists all plans that are part of your GitHub Marketplace listing. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-plans @@ -3084,7 +3238,7 @@ paths: description: |- Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-accounts-for-plan @@ -3138,7 +3292,7 @@ paths: description: |- Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/get-subscription-plan-for-account-stubbed @@ -3172,7 +3326,7 @@ paths: description: |- Lists all plans that are part of your GitHub Marketplace listing. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-plans-stubbed @@ -3210,7 +3364,7 @@ paths: description: |- Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-accounts-for-plan-stubbed @@ -3264,7 +3418,8 @@ paths: The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. - **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + > [!NOTE] + > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. tags: - meta operationId: meta/get @@ -3292,7 +3447,9 @@ paths: "/networks/{owner}/{repo}/events": get: summary: List public events for a network of repositories - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-events-for-repo-network @@ -3677,7 +3834,8 @@ paths: description: |- Lists all organizations, in the order that they were created. - **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + > [!NOTE] + > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. tags: - orgs operationId: orgs/list @@ -3721,17 +3879,6 @@ paths: To see the full details about an organization, the authenticated user must be an organization owner. - The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration: - - - advanced_security_enabled_for_new_repositories - - dependabot_alerts_enabled_for_new_repositories - - dependabot_security_updates_enabled_for_new_repositories - - dependency_graph_enabled_for_new_repositories - - secret_scanning_enabled_for_new_repositories - - secret_scanning_push_protection_enabled_for_new_repositories - - For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization. To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. @@ -3763,20 +3910,13 @@ paths: patch: summary: Update an organization description: |- - **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - - Updates the organization's profile and member privileges. + > [!WARNING] + > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration: + > [!WARNING] + > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). - - advanced_security_enabled_for_new_repositories - - dependabot_alerts_enabled_for_new_repositories - - dependabot_security_updates_enabled_for_new_repositories - - dependency_graph_enabled_for_new_repositories - - secret_scanning_enabled_for_new_repositories - - secret_scanning_push_protection_enabled_for_new_repositories - - For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." + Updates the organization's profile and member privileges. The authenticated user must be an organization owner to use this endpoint. @@ -3910,51 +4050,69 @@ paths: advanced_security_enabled_for_new_repositories: type: boolean description: |- - Whether GitHub Advanced Security is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependabot_alerts_enabled_for_new_repositories: type: boolean description: |- - Whether Dependabot alerts is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependabot_security_updates_enabled_for_new_repositories: type: boolean description: |- - Whether Dependabot security updates is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependency_graph_enabled_for_new_repositories: type: boolean description: |- - Whether dependency graph is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_enabled_for_new_repositories: type: boolean description: |- - Whether secret scanning is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: |- - Whether secret scanning push protection is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_push_protection_custom_link_enabled: type: boolean description: Whether a custom link is shown to contributors who @@ -4512,6 +4670,544 @@ paths: enabledForGitHubApps: true category: actions subcategory: permissions + "/orgs/{org}/actions/runner-groups": + get: + summary: List self-hosted runner groups for an organization + description: |- + Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runner-groups-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/visible-to-repository" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runner_groups + properties: + total_count: + type: number + runner_groups: + type: array + items: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-groups-org" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + post: + summary: Create a self-hosted runner group for an organization + description: |- + Creates a new self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/create-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or limit access to private repositories. + type: string + enum: + - selected + - all + - private + default: all + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + selected_repository_ids: + - 32 + - 91 + runners: + - 9 + - 2 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}": + get: + summary: Get a self-hosted runner group for an organization + description: |- + Gets a specific self-hosted runner group for an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/get-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group-item" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + patch: + summary: Update a self-hosted runner group for an organization + description: |- + Updates the `name` and `visibility` of a self-hosted runner group in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/update-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or all private repositories. + type: string + enum: + - selected + - all + - private + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Delete a self-hosted runner group from an organization + description: |- + Deletes a self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/delete-self-hosted-runner-group-from-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": + get: + summary: List repository access to a self-hosted runner group in an organization + description: |- + Lists the repositories with access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: number + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set repository access for a self-hosted runner group in an organization + description: |- + Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": + put: + summary: Add repository access to a self-hosted runner group in an organization + description: |- + Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove repository access to a self-hosted runner group in an organization + description: |- + Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": + get: + summary: List self-hosted runners in a group for an organization + description: |- + Lists self-hosted runners that are in a specific organization group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runners + properties: + total_count: + type: number + runners: + type: array + items: + "$ref": "#/components/schemas/runner" + examples: + default: + "$ref": "#/components/examples/runner-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set self-hosted runners in a group for an organization + description: |- + Replaces the list of self-hosted runners that are part of an organization runner group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + required: + - runners + examples: + default: + value: + runners: + - 9 + - 2 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": + put: + summary: Add a self-hosted runner to a group for an organization + description: |- + Adds a self-hosted runner to a runner group configured in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-self-hosted-runner-to-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove a self-hosted runner from a group for an organization + description: |- + Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-self-hosted-runner-from-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups "/orgs/{org}/actions/runners": get: summary: List self-hosted runners for an organization @@ -5797,6 +6493,73 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization. + + The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - orgs + operationId: orgs/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestations + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + repository_id: + type: integer + examples: + default: + "$ref": "#/components/examples/list-attestations" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -5972,6 +6735,746 @@ paths: enabledForGitHubApps: true category: code-scanning subcategory: code-scanning + "/orgs/{org}/code-security/configurations": + get: + summary: Get code security configurations for an organization + description: |- + Lists all code security configurations available in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: target_type + in: query + description: The target type of the code security configuration + required: false + schema: + type: string + enum: + - global + - all + default: all + - name: per_page + in: query + description: 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)." + required: false + schema: + type: integer + default: 30 + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + post: + summary: Create a code security configuration + description: |- + Creates a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/create-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + type: string + description: The name of the code security configuration. Must be + unique within the organization. + description: + type: string + description: A description of the code security configuration + maxLength: 255 + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + default: disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + default: enabled + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + default: disabled + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + default: false + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + default: disabled + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + default: disabled + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non provider + patterns + enum: + - enabled + - disabled + - not_set + default: disabled + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + default: disabled + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + default: enforced + required: + - name + - description + examples: + default: + summary: Example for a code security configuration + value: + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependabot_alerts: enabled + dependabot_security_updates: not_set + secret_scanning: enabled + responses: + '201': + description: Successfully created code security configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/defaults": + get: + summary: Get default code security configurations + description: |- + Lists the default code security configurations for an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-default-configurations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-default-configurations" + examples: + default: + "$ref": "#/components/examples/code-security-default-configurations" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/detach": + delete: + summary: Detach configurations from repositories + description: |- + Detach code security configuration(s) from a set of repositories. + Repositories will retain their settings but will no longer be associated with the configuration. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/detach-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + selected_repository_ids: + type: array + description: An array of repository IDs to detach from configurations. + items: + type: integer + description: Unique identifier of the repository. + examples: + default: + summary: Example for detaching repositories from configurations. + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}": + get: + summary: Get a code security configuration + description: |- + Gets a code security configuration available in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + patch: + summary: Update a code security configuration + description: |- + Updates a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/update-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + type: string + description: The name of the code security configuration. Must be + unique within the organization. + description: + type: string + description: A description of the code security configuration + maxLength: 255 + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non-provider + patterns + enum: + - enabled + - disabled + - not_set + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + examples: + default: + summary: Example for updating a code security configuration + value: + name: octo-org recommended settings v2 + secret_scanning: disabled + code_scanning_default_setup: enabled + responses: + '200': + description: Response when a configuration is updated + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-updated" + '204': + description: Response when no new updates are made + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + delete: + summary: Delete a code security configuration + description: |- + Deletes the desired code security configuration from an organization. + Repositories attached to the configuration will retain their settings but will no longer be associated with + the configuration. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/delete-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/attach": + post: + summary: Attach a configuration to repositories + description: |- + Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + + If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/attach-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + scope: + type: string + description: The type of repositories to attach the configuration + to. `selected` means the configuration will be attached to only + the repositories specified by `selected_repository_ids` + enum: + - all + - public + - private_or_internal + - selected + selected_repository_ids: + type: array + description: An array of repository IDs to attach the configuration + to. You can only provide a list of repository ids when the `scope` + is set to `selected`. + items: + type: integer + description: Unique identifier of the repository. + required: + - scope + examples: + default: + summary: Example for attaching a configuration to some repositories + value: + scope: selected + selected_repository_ids: + - 32 + - 91 + responses: + '202': + "$ref": "#/components/responses/accepted" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/defaults": + put: + summary: Set a code security configuration as a default for an organization + description: |- + Sets a code security configuration as a default to be applied to new repositories in your organization. + + This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/set-configuration-as-default + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_for_new_repos: + type: string + description: Specify which types of repository this security configuration + should be applied to by default. + enum: + - all + - none + - private_and_internal + - public + examples: + default: + summary: Set this configuration to be enabled by default on all new + repositories. + value: + default_for_new_repos: all + responses: + '200': + description: Default successfully changed. + content: + application/json: + schema: + type: object + properties: + default_for_new_repos: + type: string + description: Specifies which types of repository this security + configuration is applied to by default. + enum: + - all + - none + - private_and_internal + - public + configuration: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + value: + default_for_new_repos: all + configuration: + "$ref": "#/components/examples/code-security-configuration" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/repositories": + get: + summary: Get repositories associated with a code security configuration + description: |- + Lists the repositories associated with a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-repositories-for-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + - name: per_page + description: 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)." + in: query + required: false + schema: + type: integer + default: 30 + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: status + description: |- + A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. + + Can be: `all`, `attached`, `attaching`, `detached`, `removed`, `enforced`, `failed`, `updating`, `removed_by_enterprise` + in: query + required: false + schema: + type: string + default: all + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-security-configuration-repositories" + examples: + default: + summary: Example of code security configuration repositories + value: + - status: attached + repository: + "$ref": "#/components/examples/simple-repository" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations "/orgs/{org}/codespaces": get: summary: List codespaces for the organization @@ -6602,15 +8105,16 @@ paths: get: summary: Get Copilot seat information and settings for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Gets information about an organization's Copilot subscription, including seat breakdown - and code matching policies. To configure these settings, go to your organization's settings on GitHub.com. + and feature policies. To configure these settings, go to your organization's settings on GitHub.com. For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)". - Only organization owners can configure and view details about the organization's Copilot Business subscription. + Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/get-copilot-organization-details @@ -6648,13 +8152,13 @@ paths: get: summary: List all Copilot seat assignments for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. - - Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle). + > [!NOTE] + > This endpoint is in beta and is subject to change. - Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription. + Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. + Only organization owners can view assigned seats. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/list-copilot-seats @@ -6710,18 +8214,21 @@ paths: post: summary: Add teams to the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can add Copilot seats for their organization members. In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + The response will contain the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/add-copilot-seats-for-teams @@ -6791,7 +8298,8 @@ paths: delete: summary: Remove teams from the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Cancels the Copilot seat assignment for all members of each team specified. This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -6800,9 +8308,9 @@ paths: For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can cancel Copilot seats for their organization members. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/cancel-copilot-seat-assignment-for-teams @@ -6873,18 +8381,21 @@ paths: post: summary: Add users to the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Purchases a GitHub Copilot seat for each user specified. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can add Copilot seats for their organization members. In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + The response will contain the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/add-copilot-seats-for-users @@ -6954,7 +8465,8 @@ paths: delete: summary: Remove users from the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Cancels the Copilot seat assignment for each user specified. This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -6963,9 +8475,9 @@ paths: For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can cancel Copilot seats for their organization members. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/cancel-copilot-seat-assignment-for-users @@ -7037,20 +8549,20 @@ paths: get: summary: Get a summary of Copilot usage for organization members description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, they must have telemetry enabled in their IDE. - Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view - Copilot usage metrics. + Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. tags: - copilot operationId: copilot/usage-metrics-for-org @@ -7575,7 +9087,9 @@ paths: "/orgs/{org}/events": get: summary: List public organization events - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-org-events @@ -8342,10 +9856,11 @@ paths: "/orgs/{org}/invitations": get: summary: List pending organization invitations - description: 'The return hash contains a `role` field which refers to the Organization - Invitation role and will be one of the following values: `direct_member`, - `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub - member, the `login` field in the return hash will be `null`.' + description: |- + The return hash contains a `role` field which refers to the Organization + Invitation role and will be one of the following values: `direct_member`, `admin`, + `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub + member, the `login` field in the return hash will be `null`. tags: - orgs operationId: orgs/list-pending-invitations @@ -8407,7 +9922,7 @@ paths: description: |- Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - orgs @@ -8558,10 +10073,8 @@ paths: description: |- List issues in an organization assigned to the authenticated user. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -8895,13 +10408,14 @@ paths: get: summary: Get Copilot seat assignment details for a user description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. - Organization owners can view GitHub Copilot seat assignment details for members in their organization. + Only organization owners can view Copilot seat assignment details for members of their organization. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/get-copilot-seat-details-for-user @@ -8982,10 +10496,10 @@ paths: the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user - is limited to 50 organization invitations per 24 hour period. If the organization - is more than one month old or on a paid plan, the limit is 500 invitations - per 24 hour period." + will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners + are limited to creating 50 organization invitations for an organization within + a 24 hour period. If the organization is more than one month old or on a paid + plan, the limit is 500 invitations per 24 hour period." tags: - orgs operationId: orgs/set-membership-for-user @@ -9373,54 +10887,11 @@ paths: enabledForGitHubApps: false category: migrations subcategory: orgs - "/orgs/{org}/organization-fine-grained-permissions": - get: - summary: List organization fine-grained permissions for an organization - description: |- - Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/list-organization-fine-grained-permissions - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-fine-grained-permission" - examples: - default: - "$ref": "#/components/examples/organization-fine-grained-permission-example" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles": get: summary: Get all organization roles for an organization description: |- - Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, the authenticated user must be one of: @@ -9465,106 +10936,11 @@ paths: enabledForGitHubApps: true category: orgs subcategory: organization-roles - post: - summary: Create a custom organization role - description: |- - Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/create-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the custom role. - description: - type: string - description: A short description about the intended usage of this - role or what permissions it grants. - permissions: - type: array - description: A list of additional permissions included in this role. - items: - type: string - required: - - name - - permissions - examples: - default: - value: - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/organization-role" - examples: - default: - value: - id: 8030 - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - organization: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - created_at: '2022-07-04T22:19:11Z' - updated_at: '2022-07-04T22:19:11Z' - '422': - "$ref": "#/components/responses/validation_failed" - '404': - "$ref": "#/components/responses/not_found" - '409': - "$ref": "#/components/responses/conflict" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles/teams/{team_slug}": delete: summary: Remove all organization roles for a team description: |- - Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9590,7 +10966,7 @@ paths: put: summary: Assign an organization role to a team description: |- - Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9621,7 +10997,7 @@ paths: delete: summary: Remove an organization role from a team description: |- - Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9648,7 +11024,7 @@ paths: delete: summary: Remove all organization roles for a user description: |- - Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9674,7 +11050,7 @@ paths: put: summary: Assign an organization role to a user description: |- - Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9706,7 +11082,7 @@ paths: delete: summary: Remove an organization role from a user description: |- - Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9733,7 +11109,7 @@ paths: get: summary: Get an organization role description: |- - Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, the authenticated user must be one of: @@ -9769,127 +11145,11 @@ paths: enabledForGitHubApps: true category: orgs subcategory: organization-roles - patch: - summary: Update a custom organization role - description: |- - Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/patch-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/role-id" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the custom role. - description: - type: string - description: A short description about the intended usage of this - role or what permissions it grants. - permissions: - type: array - description: A list of additional permissions included in this role. - items: - type: string - examples: - default: - value: - description: Permissions to manage custom roles within an org. - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/organization-role" - examples: - default: - value: - id: 8030 - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - organization: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - created_at: '2022-07-04T22:19:11Z' - updated_at: '2022-07-04T22:19:11Z' - '422': - "$ref": "#/components/responses/validation_failed" - '409': - "$ref": "#/components/responses/conflict" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles - delete: - summary: Delete a custom organization role. - description: |- - Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/delete-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/role-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles/{role_id}/teams": get: summary: List teams that are assigned to an organization role description: |- - Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, you must be an administrator for the organization. @@ -9914,7 +11174,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -9935,7 +11195,7 @@ paths: get: summary: List users that are assigned to an organization role description: |- - Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, you must be an administrator for the organization. @@ -9960,7 +11220,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -11049,10 +12309,10 @@ paths: schema: type: array items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-properties" + "$ref": "#/components/examples/custom-properties" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11089,7 +12349,7 @@ paths: type: array description: The array of custom properties to create or update. items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" minItems: 1 maxItems: 100 required: @@ -11120,10 +12380,10 @@ paths: schema: type: array items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-properties" + "$ref": "#/components/examples/custom-properties" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11154,10 +12414,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-property" + "$ref": "#/components/examples/custom-property" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11197,6 +12457,8 @@ paths: enum: - string - single_select + - multi_select + - true_false description: The type of the value for the property required: type: boolean @@ -11241,10 +12503,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-property" + "$ref": "#/components/examples/custom-property" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11508,7 +12770,8 @@ paths: description: |- Lists repositories for the specified organization. - **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > [!NOTE] + > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." tags: - repos operationId: repos/list-for-org @@ -11704,6 +12967,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -11726,6 +12991,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -11803,6 +13070,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -11848,14 +13116,12 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag - push + default: branch enforcement: "$ref": "#/components/schemas/repository-rule-enforcement" bypass_actors: @@ -11930,6 +13196,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/ref-in-query" - "$ref": "#/components/parameters/repository-name-in-query" - "$ref": "#/components/parameters/time-period" - "$ref": "#/components/parameters/actor-name-in-query" @@ -11992,7 +13259,11 @@ paths: "/orgs/{org}/rulesets/{ruleset_id}": get: summary: Get an organization repository ruleset - description: Get a repository ruleset for an organization. + description: |- + Get a repository ruleset for an organization. + + **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + making the API request has write access to the ruleset. tags: - repos operationId: repos/get-org-ruleset @@ -12061,10 +13332,7 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -12336,9 +13604,6 @@ paths: responses: '204': description: Response - '409': - description: The organization has reached the maximum number of security - manager teams. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12467,6 +13732,85 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/team/{team_slug}/copilot/usage": + get: + summary: Get a summary of Copilot usage for a team + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE + for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. + See the response schema tab for detailed metrics definitions. + + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, + and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + they must have telemetry enabled in their IDE. + + > [!NOTE] + > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. + + Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/usage-metrics-for-team + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/team-slug" + - name: since + description: Show usage metrics since this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). + Maximum value is 28 days ago. + in: query + required: false + schema: + type: string + - name: until + description: Show usage metrics until this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) + and should not preceed the `since` date if it is passed. + in: query + required: false + schema: + type: string + - "$ref": "#/components/parameters/page" + - name: per_page + description: The number of days of metrics to display per page (max 28). 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)." + in: query + schema: + type: integer + default: 28 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/copilot-usage-metrics" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-org" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -12609,7 +13953,8 @@ paths: description: |- Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/get-by-name @@ -12641,7 +13986,8 @@ paths: description: |- To edit a team, the authenticated user must either be an organization owner or a team maintainer. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/update-in-org @@ -12744,7 +14090,8 @@ paths: If you are an organization owner, deleting a parent team will delete all of its child teams as well. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/delete-in-org @@ -12768,7 +14115,8 @@ paths: description: |- List all discussions on a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -12814,9 +14162,10 @@ paths: description: |- Creates a new discussion post on a team's page. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12878,7 +14227,8 @@ paths: description: |- Get a specific discussion on a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -12911,7 +14261,8 @@ paths: description: |- Edits the title and body text of a discussion post. Only the parameters you provide are updated. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12961,7 +14312,8 @@ paths: description: |- Delete a discussion from a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12988,7 +14340,8 @@ paths: description: |- List all comments on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13029,9 +14382,10 @@ paths: description: |- Creates a new comment on a team discussion. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13082,7 +14436,8 @@ paths: description: |- Get a specific comment on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13116,7 +14471,8 @@ paths: description: |- Edits the body text of a discussion comment. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13166,7 +14522,8 @@ paths: description: |- Deletes a comment on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13194,7 +14551,8 @@ paths: description: |- List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13253,7 +14611,8 @@ paths: A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13322,7 +14681,8 @@ paths: delete: summary: Delete team discussion comment reaction description: |- - **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -13353,7 +14713,8 @@ paths: description: |- List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13411,7 +14772,8 @@ paths: A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13478,7 +14840,8 @@ paths: delete: summary: Delete team discussion reaction description: |- - **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -13508,7 +14871,8 @@ paths: description: |- The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. tags: - teams operationId: teams/list-pending-invitations-in-org @@ -13597,10 +14961,11 @@ paths: To get a user's membership with a team, the team must be visible to the authenticated user. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. - **Note:** - The response contains the `state` of the membership and the member's `role`. + > [!NOTE] + > The response contains the `state` of the membership and the member's `role`. The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). tags: @@ -13637,13 +15002,15 @@ paths: Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - teams operationId: teams/add-or-update-membership-for-user-in-org @@ -13700,9 +15067,11 @@ paths: Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - teams operationId: teams/remove-membership-for-user-in-org @@ -13729,7 +15098,8 @@ paths: description: |- Lists the organization projects for a team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. tags: - teams operationId: teams/list-projects-in-org @@ -13767,7 +15137,8 @@ paths: description: |- Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/check-permissions-for-project-in-org @@ -13800,7 +15171,8 @@ paths: description: |- Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/add-or-update-project-permissions-in-org @@ -13865,7 +15237,8 @@ paths: description: |- Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/remove-project-in-org @@ -13890,7 +15263,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: - teams operationId: teams/list-repos-in-org @@ -13928,13 +15302,14 @@ paths: description: |- Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. + You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header. If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - teams operationId: teams/check-permissions-for-repo-in-org @@ -13972,7 +15347,8 @@ paths: description: |- To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". tags: @@ -14002,7 +15378,6 @@ paths: If no permission is specified, the team''s `permission` attribute will be used to determine what permission to grant the team on this repository.' - default: push examples: default: summary: Adding a team to an organization repository with the write @@ -14022,7 +15397,8 @@ paths: description: |- If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - teams operationId: teams/remove-repo-in-org @@ -14048,7 +15424,8 @@ paths: description: |- Lists the child teams of the team specified by `{team_slug}`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. tags: - teams operationId: teams/list-child-in-org @@ -14084,11 +15461,14 @@ paths: post: summary: Enable or disable a security feature for an organization description: |- + > [!WARNING] + > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. tags: - orgs operationId: orgs/enable-or-disable-security-product-on-all-org-repos @@ -14128,6 +15508,9 @@ paths: previews: [] category: orgs subcategory: orgs + deprecationDate: '2024-07-22' + removalDate: '2025-07-22' + deprecated: true "/projects/columns/cards/{card_id}": get: summary: Get a project card @@ -15148,7 +16531,8 @@ paths: get: summary: Get rate limit status for the authenticated user description: |- - **Note:** Accessing this endpoint does not count against your REST API rate limit. + > [!NOTE] + > Accessing this endpoint does not count against your REST API rate limit. Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories: * The `core` object provides your rate limit status for all non-search-related resources in the REST API. @@ -15159,9 +16543,10 @@ paths: * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." - * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)." + * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." - **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + > [!NOTE] + > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. tags: - rate-limit operationId: rate-limit/get @@ -15201,7 +16586,8 @@ paths: description: |- The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > [!NOTE] + > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." tags: - repos operationId: repos/get @@ -15317,6 +16703,25 @@ paths: status: type: string description: Can be `enabled` or `disabled`. + secret_scanning_ai_detection: + type: object + description: Use the `status` property to enable or disable + secret scanning AI detection for this repository. For more + information, see "[Responsible detection of generic secrets + with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. + secret_scanning_non_provider_patterns: + type: object + description: Use the `status` property to enable or disable + secret scanning non-provider patterns for this repository. + For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. has_issues: type: boolean description: Either `true` to enable issues for this repository @@ -15389,6 +16794,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -15411,6 +16818,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -17283,8 +18692,8 @@ paths: description: |- Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." - **Note:** GitHub Apps can only review their own custom deployment protection rules. - To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). + > [!NOTE] + > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. tags: @@ -18569,6 +19978,146 @@ paths: enabledForGitHubApps: true category: issues subcategory: assignees + "/repos/{owner}/{repo}/attestations": + post: + summary: Create an attestation + description: |- + Store an artifact attestation and associate it with a repository. + + The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required. + + Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - repos + operationId: repos/create-attestation + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#create-an-attestation + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + required: + - bundle + examples: + default: + summary: Example of a request body + value: + "$ref": "#/components/examples/attestation" + responses: + '201': + description: response + content: + application/json: + schema: + type: object + properties: + id: + type: integer + description: The ID of the attestation. + examples: + default: + value: + id: 2 + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + "/repos/{owner}/{repo}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with a repository. + + The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - repos + operationId: repos/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#list-attestations + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + repository_id: + type: integer + examples: + default: + "$ref": "#/components/examples/list-attestations" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/autolinks": get: summary: Get all autolinks of a repository @@ -18747,7 +20296,7 @@ paths: - "$ref": "#/components/parameters/repo" responses: '200': - description: Response if dependabot is enabled + description: Response if Dependabot is enabled content: application/json: schema: @@ -18758,7 +20307,7 @@ paths: enabled: true paused: false '404': - description: Not Found if dependabot is not enabled for the repository + description: Not Found if Dependabot is not enabled for the repository x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18928,9 +20477,11 @@ paths: Protecting a branch requires admin or owner permissions to the repository. - **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + > [!NOTE] + > Passing new arrays of `users` and `teams` replaces their previous values. - **Note**: The list of users, apps, and teams in total is limited to 100 items. + > [!NOTE] + > The list of users, apps, and teams in total is limited to 100 items. tags: - repos operationId: repos/update-branch-protection @@ -18965,7 +20516,7 @@ paths: have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained - control.\n" + control." items: type: string checks: @@ -19360,7 +20911,8 @@ paths: Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + > [!NOTE] + > Passing new arrays of `users` and `teams` replaces their previous values. tags: - repos operationId: repos/update-pull-request-review-protection @@ -19515,7 +21067,8 @@ paths: When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help. - **Note**: You must enable branch protection to require signed commits. + > [!NOTE] + > You must enable branch protection to require signed commits. tags: - repos operationId: repos/get-commit-signature-protection @@ -19670,7 +21223,7 @@ paths: in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` - instead of `contexts` for more fine-grained control.\n" + instead of `contexts` for more fine-grained control." items: type: string checks: @@ -19995,7 +21548,8 @@ paths: Lists who has access to this protected branch. - **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + > [!NOTE] + > Users, apps, and teams `restrictions` are only available for organization-owned repositories. tags: - repos operationId: repos/get-access-restrictions @@ -20100,28 +21654,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20164,28 +21714,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20228,27 +21774,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20558,26 +22101,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example adding a user in a branch protection rule @@ -20625,26 +22164,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example replacing a user in a branch protection rule @@ -20692,25 +22227,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example removing a user in a branch protection rule @@ -20743,7 +22275,8 @@ paths: description: |- Renames a branch in a repository. - **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". + > [!NOTE] + > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions. @@ -20805,7 +22338,8 @@ paths: In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. tags: - checks operationId: checks/create @@ -21021,6 +22555,8 @@ paths: required: - name - head_sha + discriminator: + propertyName: status oneOf: - properties: status: @@ -21109,7 +22645,8 @@ paths: description: |- Gets a single check run using its `id`. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21142,7 +22679,8 @@ paths: description: |- Updates a check run for a specific commit in a repository. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth apps and personal access tokens (classic) cannot use this endpoint. tags: @@ -21498,7 +23036,8 @@ paths: description: |- Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)". - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth apps and personal access tokens (classic) cannot use this endpoint. tags: @@ -21618,7 +23157,8 @@ paths: description: |- Gets a single check suite using its `id`. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21652,7 +23192,8 @@ paths: description: |- Lists check runs for a check suite using its `id`. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21765,7 +23306,10 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" - name: sort description: The property by which to sort the results. in: query @@ -21933,6 +23477,7 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" responses: '200': description: Response @@ -21971,8 +23516,8 @@ paths: For very old analyses this data is not available, and `0` is returned in this field. - **Deprecation notice**: - The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + > [!WARNING] + > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. operationId: code-scanning/list-recent-analyses @@ -21988,6 +23533,7 @@ paths: - "$ref": "#/components/parameters/tool-guid" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pr-alias" - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` @@ -22265,7 +23811,7 @@ paths: By default this endpoint returns JSON metadata about the CodeQL database. To download the CodeQL database binary content, set the `Accept` header of the request - to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure + to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure your HTTP client is configured to follow redirects or use the `Location` header to make a second request to get the redirect URL. @@ -22801,6 +24347,47 @@ paths: githubCloudOnly: false category: code-scanning subcategory: code-scanning + "/repos/{owner}/{repo}/code-security-configuration": + get: + summary: Get the code security configuration associated with a repository + description: |- + Get the code security configuration that manages a repository's code security settings. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configuration-for-repository + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration-for-repository" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-for-repository" + '204': + "$ref": "#/components/responses/no_content" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations "/repos/{owner}/{repo}/codeowners/errors": get: summary: List CODEOWNERS errors @@ -23318,8 +24905,6 @@ paths: Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. - Anyone with read access to the repository can use this endpoint. - If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - codespaces @@ -23564,7 +25149,7 @@ paths: put: summary: Add a repository collaborator description: |- - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." @@ -23660,7 +25245,8 @@ paths: - If the user had their own fork of the repository, the fork will be deleted. - If the user still has read access to the repository, open pull requests by this user from a fork will be denied. - **Note**: A user can still have access to the repository through organization permissions like base repository permissions. + > [!NOTE] + > A user can still have access to the repository through organization permissions like base repository permissions. Although the API responds immediately, the additional permission updates might take some extra time to complete in the background. @@ -24009,7 +25595,8 @@ paths: delete: summary: Delete a commit comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). tags: @@ -24097,10 +25684,22 @@ paths: required: false schema: type: string - - "$ref": "#/components/parameters/since" + - name: since + description: 'Only show results that were last updated after the given time. + This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) + format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must + be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may + be returned.' + in: query + required: false + schema: + type: string + format: date-time - name: until description: 'Only commits before this date will be returned. This is a timestamp - in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' + in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 + (inclusive) or unexpected results may be returned.' in: query required: false schema: @@ -24223,7 +25822,7 @@ paths: description: |- Create a comment for a commit using its `:commit_sha`. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -24342,7 +25941,8 @@ paths: description: |- Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. + > [!NOTE] + > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types. @@ -24421,7 +26021,8 @@ paths: description: |- Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint. @@ -24490,7 +26091,8 @@ paths: description: |- Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -24683,7 +26285,7 @@ paths: To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination: - - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison. + - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison. - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results. For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)." @@ -24829,6 +26431,13 @@ paths: - "$ref": "#/components/schemas/content-file" - "$ref": "#/components/schemas/content-symlink" - "$ref": "#/components/schemas/content-submodule" + discriminator: + propertyName: type + mapping: + array: "#/components/schemas/content-directory" + file: "#/components/schemas/content-file" + symlink: "#/components/schemas/content-symlink" + submodule: "#/components/schemas/content-submodule" examples: response-if-content-is-a-file: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" @@ -24844,6 +26453,8 @@ paths: "$ref": "#/components/responses/forbidden" '302': "$ref": "#/components/responses/found" + '304': + "$ref": "#/components/responses/not_modified" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24854,7 +26465,8 @@ paths: description: |- Creates a new file or replaces an existing file in a repository. - **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + > [!NOTE] + > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. tags: @@ -24977,7 +26589,13 @@ paths: '422': "$ref": "#/components/responses/validation_failed" '409': - "$ref": "#/components/responses/conflict" + description: Conflict + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/basic-error" + - "$ref": "#/components/schemas/repository-rule-violation-error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24994,7 +26612,8 @@ paths: You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + > [!NOTE] + > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. tags: - repos operationId: repos/delete-file @@ -26036,11 +27655,11 @@ paths: - success target_url: type: string - description: The target URL to associate with this status. This - URL should contain output to keep the user updated while the task - is running or serve as historical information for what happened - in the deployment. **Note:** It's recommended to use the `log_url` - parameter, which replaces `target_url`. + description: |- + The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. + + > [!NOTE] + > It's recommended to use the `log_url` parameter, which replaces `target_url`. default: '' log_url: type: string @@ -26250,7 +27869,8 @@ paths: get: summary: Get an environment description: |- - **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." + > [!NOTE] + > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." Anyone with read access to the repository can use this endpoint. @@ -26285,9 +27905,11 @@ paths: description: |- Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." + > [!NOTE] + > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." - **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." + > [!NOTE] + > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: @@ -26721,7 +28343,9 @@ paths: get: summary: List custom deployment rule integrations available for an environment description: |- - Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint. + Gets all custom deployment protection rule integrations that are available for an environment. + + The authenticated user must have admin or owner permissions to the repository to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." @@ -27250,8 +28874,9 @@ paths: "/repos/{owner}/{repo}/events": get: summary: List repository events - description: "**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.\n" + description: |- + > [!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. tags: - activity operationId: activity/list-repo-events @@ -27334,9 +28959,11 @@ paths: description: |- Create a fork for the authenticated user. - **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). + > [!NOTE] + > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). - **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + > [!NOTE] + > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. tags: - repos operationId: repos/create-fork @@ -27452,7 +29079,13 @@ paths: '403': "$ref": "#/components/responses/forbidden" '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/validation-error" + - "$ref": "#/components/schemas/repository-rule-violation-error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27565,10 +29198,11 @@ paths: description: The SHA of the tree object this commit points to parents: type: array - description: The SHAs of the commits that were the parents of this - commit. If omitted or empty, the commit will be written as a root - commit. For a single parent, an array of one SHA should be provided; - for a merge commit, an array of more than one should be provided. + description: The full SHAs of the commits that were the parents + of this commit. If omitted or empty, the commit will be written + as a root commit. For a single parent, an array of one SHA should + be provided; for a merge commit, an array of more than one should + be provided. items: type: string author: @@ -27751,7 +29385,8 @@ paths: When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + > [!NOTE] + > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. tags: @@ -27792,7 +29427,8 @@ paths: description: |- Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + > [!NOTE] + > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". tags: - git operationId: git/get-ref @@ -28231,7 +29867,7 @@ paths: Using both `tree.sha` and `content` will return an error." base_tree: type: string - description: | + description: |- The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on. If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. required: @@ -28281,8 +29917,8 @@ paths: If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - - **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + > [!NOTE] + > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. tags: - git operationId: git/get-tree @@ -28810,7 +30446,8 @@ paths: description: |- This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + > [!NOTE] + > Previously `/repos/:owner/:repo/hooks/:hook_id/test` tags: - repos operationId: repos/test-push-webhook @@ -28837,7 +30474,8 @@ paths: description: |- View the progress of an import. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). **Import status** @@ -28904,12 +30542,13 @@ paths: deprecated: true put: summary: Start an import - description: | + description: |- Start a source import to a GitHub repository using GitHub Importer. Importing into a GitHub repository with GitHub Actions enabled is not supported and will return a status `422 Unprocessable Entity` response. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/start-import @@ -29000,7 +30639,8 @@ paths: have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/update-import @@ -29079,10 +30719,11 @@ paths: deprecated: true delete: summary: Cancel an import - description: | + description: |- Stop an import for a repository. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/cancel-import @@ -29113,7 +30754,8 @@ paths: This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-commit-authors @@ -29151,11 +30793,12 @@ paths: "/repos/{owner}/{repo}/import/authors/{author_id}": patch: summary: Map a commit author - description: | + description: |- Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/map-commit-author @@ -29216,10 +30859,11 @@ paths: "/repos/{owner}/{repo}/import/large_files": get: summary: Get large files - description: | + description: |- List files larger than 100MB found during the import - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-large-files @@ -29254,14 +30898,15 @@ paths: "/repos/{owner}/{repo}/import/lfs": patch: summary: Update Git LFS preference - description: | + description: |- You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/repositories/working-with-files/managing-large-files). - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/set-lfs-preference @@ -29570,10 +31215,8 @@ paths: description: |- List issues in a repository. Only open issues will be listed. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -29676,7 +31319,7 @@ paths: description: |- Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30096,7 +31739,8 @@ paths: delete: summary: Delete an issue comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). tags: @@ -30205,10 +31849,8 @@ paths: access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30252,7 +31894,7 @@ paths: patch: summary: Update an issue description: |- - Issue owners and users with push access can edit an issue. + Issue owners and users with push access or Triage role can edit an issue. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30578,7 +32220,7 @@ paths: This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. - For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -31181,7 +32823,8 @@ paths: delete: summary: Delete an issue reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). tags: @@ -33168,7 +34811,7 @@ paths: To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -33571,7 +35214,8 @@ paths: delete: summary: Delete a pull request comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). tags: @@ -33611,7 +35255,7 @@ paths: * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. + Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -33632,7 +35276,7 @@ paths: - "$ref": "#/components/parameters/pull-number" responses: '200': - description: Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) + description: Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. content: application/json: @@ -33903,7 +35547,7 @@ paths: The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34052,7 +35696,7 @@ paths: description: |- Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34163,8 +35807,8 @@ paths: description: |- Lists the files in a specified pull request. - **Note:** Responses include a maximum of 3000 files. The paginated response - returns 30 files per page by default. + > [!NOTE] + > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34240,7 +35884,7 @@ paths: summary: Merge a pull request description: |- Merges a pull request into the base branch. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - pulls operationId: pulls/merge @@ -34373,7 +36017,7 @@ paths: summary: Request reviewers for a pull request description: |- Requests reviews for a pull request from a given set of users and/or teams. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - pulls operationId: pulls/request-reviewers @@ -34543,11 +36187,12 @@ paths: description: |- Creates a review on a specified pull request. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)." - **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. + > [!NOTE] + > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. @@ -34857,9 +36502,8 @@ paths: description: |- Dismisses a specified review on a pull request. - **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), - you must be a repository administrator or be included in the list of people or teams - who can dismiss pull request reviews. + > [!NOTE] + > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34995,8 +36639,9 @@ paths: "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": put: summary: Update a pull request branch - description: Updates the pull request branch with the latest upstream changes - by merging HEAD from the base branch into the pull request branch. + description: |- + Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. tags: - pulls operationId: pulls/update-branch @@ -35090,6 +36735,8 @@ paths: examples: default: "$ref": "#/components/examples/content-file" + '304': + "$ref": "#/components/responses/not_modified" '404': "$ref": "#/components/responses/not_found" '422': @@ -35196,7 +36843,7 @@ paths: description: |- Users with push access to the repository can create a release. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - repos operationId: repos/create-release @@ -35309,7 +36956,7 @@ paths: get: summary: Get a release asset description: To download the asset's binary content, set the `Accept` header - of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). + of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. tags: @@ -35558,9 +37205,8 @@ paths: description: |- Gets a public release with the specified release ID. - **Note:** This returns an `upload_url` key corresponding to the endpoint - for uploading release assets. This key is a hypermedia resource. For more information, see - "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + > [!NOTE] + > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." tags: - repos operationId: repos/get-release @@ -35939,7 +37585,8 @@ paths: delete: summary: Delete a release reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). tags: @@ -36026,6 +37673,7 @@ paths: schema: type: boolean default: true + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -36072,14 +37720,12 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag - push + default: branch enforcement: "$ref": "#/components/schemas/repository-rule-enforcement" bypass_actors: @@ -36211,7 +37857,11 @@ paths: "/repos/{owner}/{repo}/rulesets/{ruleset_id}": get: summary: Get a repository ruleset - description: Get a ruleset for a repository. + description: |- + Get a ruleset for a repository. + + **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + making the API request has write access to the ruleset. tags: - repos operationId: repos/get-repo-ruleset @@ -36290,10 +37940,7 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -36579,6 +38226,67 @@ paths: enabledForGitHubApps: true category: secret-scanning subcategory: secret-scanning + "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": + post: + summary: Create a push protection bypass + description: |- + Creates a bypass for a previously push protected secret. + + The authenticated user must be the original author of the committed secret. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + operationId: secret-scanning/create-push-protection-bypass + tags: + - secret-scanning + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + reason: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-reason" + placeholder_id: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id" + required: + - reason + - placeholder_id + examples: + default: + value: + reason: will_fix_later + placeholder_id: 2k4dM4tseyC5lPIsjl5emX9sPNk + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass" + examples: + default: + "$ref": "#/components/examples/secret-scanning-push-protection-bypass" + '403': + description: User does not have enough permissions to perform this action. + '404': + description: Placeholder ID not found, or push protection is disabled on + this repository. + '422': + description: Bad request, input data missing or incorrect. + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: secret-scanning + subcategory: secret-scanning "/repos/{owner}/{repo}/security-advisories": get: summary: List repository security advisories @@ -36990,7 +38698,8 @@ paths: description: |- Create a temporary private fork to collaborate on fixing a security vulnerability in your repository. - **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + > [!NOTE] + > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. tags: - security-advisories operationId: security-advisories/create-fork @@ -37075,12 +38784,11 @@ paths: "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity - description: |2 - + description: |- Returns a weekly aggregate of the number of additions and deletions pushed to a repository. - **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains - 10,000 or more commits, a 422 status code will be returned. + > [!NOTE] + > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. tags: - repos operationId: repos/get-code-frequency-stats @@ -37161,7 +38869,8 @@ paths: * `d` - Number of deletions * `c` - Number of commits - **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + > [!NOTE] + > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. tags: - repos operationId: repos/get-contributors-stats @@ -37530,8 +39239,11 @@ paths: subcategory: repos "/repos/{owner}/{repo}/tags/protection": get: - summary: List tag protection states for a repository + summary: Deprecated - List tag protection states for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + This returns the tag protection states of a repository. This information is only available to repository administrators. @@ -37540,7 +39252,7 @@ paths: operationId: repos/list-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37565,9 +39277,15 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true post: - summary: Create a tag protection state for a repository + summary: Deprecated - Create a tag protection state for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + This creates a tag protection state for a repository. This endpoint is only available to repository administrators. tags: @@ -37575,7 +39293,7 @@ paths: operationId: repos/create-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37615,10 +39333,16 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": delete: - summary: Delete a tag protection state for a repository + summary: Deprecated - Delete a tag protection state for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + This deletes a tag protection state for a repository. This endpoint is only available to repository administrators. tags: @@ -37626,7 +39350,7 @@ paths: operationId: repos/delete-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37643,6 +39367,9 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -37650,7 +39377,9 @@ paths: Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - **Note**: For private repositories, these links are temporary and expire after five minutes. + + > [!NOTE] + > For private repositories, these links are temporary and expire after five minutes. tags: - repos externalDocs: @@ -38079,7 +39808,8 @@ paths: `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + > [!NOTE] + > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. tags: - repos externalDocs: @@ -38192,7 +39922,7 @@ paths: type: string x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: repos subcategory: repos "/repositories": @@ -38430,7 +40160,8 @@ paths: This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. - **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -38819,10 +40550,9 @@ paths: "/teams/{team_id}": get: summary: Get a team (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. tags: - teams operationId: teams/get-legacy @@ -38854,11 +40584,13 @@ paths: patch: summary: Update a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. To edit a team, the authenticated user must either be an organization owner or a team maintainer. - **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + > [!NOTE] + > With nested teams, the `privacy` for parent teams cannot be `secret`. tags: - teams operationId: teams/update-legacy @@ -38960,7 +40692,8 @@ paths: delete: summary: Delete a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. To delete a team, the authenticated user must be an organization owner or team maintainer. @@ -38992,7 +40725,8 @@ paths: get: summary: List discussions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. List all discussions on a team's page. @@ -39034,11 +40768,12 @@ paths: post: summary: Create a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. Creates a new discussion post on a team's page. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -39100,7 +40835,8 @@ paths: get: summary: Get a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. Get a specific discussion on a team's page. @@ -39135,7 +40871,8 @@ paths: patch: summary: Update a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. Edits the title and body text of a discussion post. Only the parameters you provide are updated. @@ -39187,7 +40924,8 @@ paths: delete: summary: Delete a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. Delete a discussion from a team's page. @@ -39216,7 +40954,8 @@ paths: get: summary: List discussion comments (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. List all comments on a team discussion. @@ -39259,11 +40998,12 @@ paths: post: summary: Create a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. Creates a new comment on a team discussion. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -39314,7 +41054,8 @@ paths: get: summary: Get a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. Get a specific comment on a team discussion. @@ -39350,7 +41091,8 @@ paths: patch: summary: Update a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. Edits the body text of a discussion comment. @@ -39402,7 +41144,8 @@ paths: delete: summary: Delete a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. Deletes a comment on a team discussion. @@ -39432,7 +41175,8 @@ paths: get: summary: List reactions for a team discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -39491,7 +41235,8 @@ paths: post: summary: Create reaction for a team discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -39556,7 +41301,8 @@ paths: get: summary: List reactions for a team discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -39614,7 +41360,8 @@ paths: post: summary: Create reaction for a team discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -39678,7 +41425,8 @@ paths: get: summary: List pending team invitations (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. tags: @@ -39718,7 +41466,8 @@ paths: get: summary: List team members (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. Team members will include the members of child teams. tags: @@ -39809,7 +41558,8 @@ paths: To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." tags: @@ -39851,7 +41601,8 @@ paths: To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." tags: - teams operationId: teams/remove-member-legacy @@ -39878,7 +41629,8 @@ paths: get: summary: Get team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. Team members will include the members of child teams. @@ -39920,13 +41672,15 @@ paths: put: summary: Add or update team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. @@ -39987,13 +41741,15 @@ paths: delete: summary: Remove team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." tags: - teams operationId: teams/remove-membership-for-user-legacy @@ -40020,7 +41776,8 @@ paths: get: summary: List team projects (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. Lists the organization projects for a team. tags: @@ -40062,7 +41819,8 @@ paths: get: summary: Check team permissions for a project (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. tags: @@ -40097,7 +41855,8 @@ paths: put: summary: Add or update team project permissions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. tags: @@ -40167,7 +41926,8 @@ paths: delete: summary: Remove a project from a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. tags: @@ -40197,10 +41957,9 @@ paths: "/teams/{team_id}/repos": get: summary: List team repositories (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. tags: - teams operationId: teams/list-repos-legacy @@ -40240,11 +41999,13 @@ paths: get: summary: Check team permissions for a repository (Legacy) description: |- - **Note**: Repositories inherited through a parent team will also be checked. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + > [!NOTE] + > Repositories inherited through a parent team will also be checked. - You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: tags: - teams operationId: teams/check-permissions-for-repo-legacy @@ -40280,7 +42041,8 @@ paths: put: summary: Add or update team repository permissions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. @@ -40335,7 +42097,8 @@ paths: delete: summary: Remove a repository from a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. tags: @@ -40362,10 +42125,9 @@ paths: "/teams/{team_id}/teams": get: summary: List child teams (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. tags: - teams operationId: teams/list-child-legacy @@ -41821,7 +43583,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 example: [] required: - emails @@ -41833,7 +43595,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 - type: string examples: default: @@ -41899,7 +43661,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 example: emails: - octocat@github.com @@ -41910,7 +43672,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 - type: string examples: default: @@ -42394,8 +44156,9 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: Add a single repository to an installation. The authenticated user - must have admin access to the repository. + description: "Add a single repository to an installation. The authenticated + user must have admin access to the repository. \n\nThis endpoint only works + for PATs (classic) with the `repo` scope." tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -42421,9 +44184,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: Remove a single repository from an installation. The authenticated + description: "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. + the `repository_selection` of `selected`. \n\nThis endpoint only works for + PATs (classic) with the `repo` scope." tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -42546,10 +44310,8 @@ paths: description: |- List issues across owned and member repositories assigned to the authenticated user. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -44023,6 +45785,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -44045,6 +45809,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -44782,6 +46548,44 @@ paths: enabledForGitHubApps: false category: teams subcategory: teams + "/user/{account_id}": + get: + summary: Get a user using their ID + description: |- + 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + tags: + - users + operationId: users/get-by-id + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/users/users#get-a-user-using-their-id + parameters: + - "$ref": "#/components/parameters/account-id" + responses: + '200': + description: Response + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/private-user" + - "$ref": "#/components/schemas/public-user" + examples: + default-response: + "$ref": "#/components/examples/public-user-default-response" + response-with-git-hub-plan-information: + "$ref": "#/components/examples/public-user-response-with-git-hub-plan-information" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: users + subcategory: users "/users": get: summary: List users @@ -44860,6 +46664,71 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{username}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user. + + The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - users + operationId: users/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/users/attestations#list-attestations + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/username" + - name: subject_digest + description: Subject Digest + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + "$ref": "#/components/schemas/sigstore-bundle-0" + repository_id: + type: integer + examples: + default: + value: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: users + subcategory: attestations "/users/{username}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for user @@ -44899,8 +46768,11 @@ paths: "/users/{username}/events": get: summary: List events for the authenticated user - description: If you are authenticated as the given user, you will see your private - events. Otherwise, you'll only see public events. + description: |- + 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. tags: - activity operationId: activity/list-events-for-authenticated-user @@ -44931,8 +46803,11 @@ paths: "/users/{username}/events/orgs/{org}": get: summary: List organization events for the authenticated user - description: This is the user's organization dashboard. You must be authenticated - as the user to view this. + description: |- + 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. tags: - activity operationId: activity/list-org-events-for-authenticated-user @@ -44964,7 +46839,9 @@ paths: "/users/{username}/events/public": get: summary: List public events for a user - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-events-for-user @@ -45676,9 +47553,12 @@ paths: "/users/{username}/received_events": get: summary: List events received by the authenticated user - description: These are events that you've received by watching repositories - and following users. If you are authenticated as the given user, you will - see private events. Otherwise, you'll only see public events. + description: |- + These are events that you've received by watching repositories and following users. If you are authenticated as the + given user, you will see 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. tags: - activity operationId: activity/list-received-events-for-user @@ -45709,7 +47589,9 @@ paths: "/users/{username}/received_events/public": get: summary: List public events received by a user - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-received-public-events-for-user @@ -46445,7 +48327,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A check run was completed, and a conclusion is available. operationId: check-run/completed externalDocs: @@ -46525,7 +48408,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A new check run was created. operationId: check-run/created externalDocs: @@ -46605,7 +48489,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, @@ -46688,7 +48573,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. operationId: check-run/rerequested @@ -46769,7 +48655,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: All check runs in a check suite have completed, and a conclusion is available. operationId: check-suite/completed @@ -46840,7 +48727,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) @@ -46914,7 +48802,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) @@ -47765,7 +49654,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - **Note**: This event will not occur when more than three tags are deleted at once. + > [!NOTE] + > This event will not occur when more than three tags are deleted at once. operationId: delete externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#delete @@ -47832,7 +49722,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was automatically closed by a Dependabot auto-triage rule. operationId: dependabot-alert/auto-dismissed @@ -47901,7 +49792,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. @@ -47971,7 +49863,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. @@ -48041,7 +49934,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was manually closed. operationId: dependabot-alert/dismissed externalDocs: @@ -48109,7 +50003,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change removed a vulnerability. operationId: dependabot-alert/fixed externalDocs: @@ -48177,7 +50072,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change introduced a vulnerable dependency that had previously been fixed. operationId: dependabot-alert/reintroduced @@ -48246,7 +50142,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was manually reopened. operationId: dependabot-alert/reopened externalDocs: @@ -48761,6 +50658,9 @@ x-webhooks: For activity relating to deployment creation, use the `deployment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + + > [!NOTE] + > A webhook event is not fired for deployment statuses with an `inactive` state. description: A new deployment status was created. operationId: deployment-status/created externalDocs: @@ -48828,7 +50728,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on the discussion was marked as the answer. operationId: discussion/answered externalDocs: @@ -48896,7 +50797,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: The category of a discussion was changed. operationId: discussion/category-changed externalDocs: @@ -48964,7 +50866,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was closed. operationId: discussion/closed externalDocs: @@ -49032,7 +50935,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was created. operationId: discussion-comment/created externalDocs: @@ -49100,7 +51004,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was deleted. operationId: discussion-comment/deleted externalDocs: @@ -49168,7 +51073,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was edited. operationId: discussion-comment/edited externalDocs: @@ -49236,7 +51142,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was created. operationId: discussion/created externalDocs: @@ -49304,7 +51211,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was deleted. operationId: discussion/deleted externalDocs: @@ -49372,7 +51280,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: The title or body on a discussion was edited, or the category of the discussion was changed. operationId: discussion/edited @@ -49441,7 +51350,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A label was added to a discussion. operationId: discussion/labeled externalDocs: @@ -49509,7 +51419,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was locked. operationId: discussion/locked externalDocs: @@ -49577,7 +51488,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was pinned. operationId: discussion/pinned externalDocs: @@ -49645,7 +51557,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was reopened. operationId: discussion/reopened externalDocs: @@ -49713,7 +51626,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was transferred to another repository. operationId: discussion/transferred externalDocs: @@ -49781,7 +51695,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on the discussion was unmarked as the answer. operationId: discussion/unanswered externalDocs: @@ -49849,7 +51764,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A label was removed from a discussion. operationId: discussion/unlabeled externalDocs: @@ -49917,7 +51833,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was unlocked. operationId: discussion/unlocked externalDocs: @@ -49985,7 +51902,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was unpinned. operationId: discussion/unpinned externalDocs: @@ -54037,7 +55955,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -54101,7 +56020,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -54166,7 +56086,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -54230,7 +56151,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -54892,7 +56814,75 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-deleted" + "$ref": "#/components/schemas/webhook-project-column-deleted" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: project_column + supported-webhook-types: + - repository + - organization + - app + project-column-edited: + post: + summary: |- + This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + + For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + + This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + description: The name of a column on a project (classic) was changed. + operationId: project-column/edited + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-project-column-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -54905,7 +56895,7 @@ x-webhooks: - repository - organization - app - project-column-edited: + project-column-moved: post: summary: |- This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -54915,8 +56905,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: The name of a column on a project (classic) was changed. - operationId: project-column/edited + description: A column was moved to a new position on a project (classic). + operationId: project-column/moved externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column parameters: @@ -54960,7 +56950,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-edited" + "$ref": "#/components/schemas/webhook-project-column-moved" responses: '200': description: Return a 200 status to indicate that the data was received @@ -54973,20 +56963,20 @@ x-webhooks: - repository - organization - app - project-column-moved: + project-created: post: summary: |- - This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A column was moved to a new position on a project (classic). - operationId: project-column/moved + description: A project (classic) was created. + operationId: project/created externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column + url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: - name: User-Agent in: header @@ -55028,7 +57018,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-moved" + "$ref": "#/components/schemas/webhook-project-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55036,12 +57026,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: project_column + subcategory: project supported-webhook-types: - repository - organization - app - project-created: + project-deleted: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55051,8 +57041,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was created. - operationId: project/created + description: A project (classic) was deleted. + operationId: project/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55096,7 +57086,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-created" + "$ref": "#/components/schemas/webhook-project-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55109,7 +57099,7 @@ x-webhooks: - repository - organization - app - project-deleted: + project-edited: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55119,8 +57109,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was deleted. - operationId: project/deleted + description: The name or description of a project (classic) was changed. + operationId: project/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55164,7 +57154,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-deleted" + "$ref": "#/components/schemas/webhook-project-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55177,7 +57167,7 @@ x-webhooks: - repository - organization - app - project-edited: + project-reopened: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55187,8 +57177,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: The name or description of a project (classic) was changed. - operationId: project/edited + description: A project (classic) was closed. + operationId: project/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55232,7 +57222,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-edited" + "$ref": "#/components/schemas/webhook-project-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55245,20 +57235,21 @@ x-webhooks: - repository - organization - app - project-reopened: + projects-v2-closed: post: summary: |- - This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was closed. - operationId: project/reopened + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was closed. + operationId: projects-v2/closed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#project + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: - name: User-Agent in: header @@ -55272,7 +57263,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: project-v2 schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55300,20 +57291,19 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-project-closed" responses: '200': description: Return a 200 status to indicate that the data was received successfully x-github: githubCloudOnly: false + enabledForGitHubApps: true category: webhooks - subcategory: project + subcategory: projects_v2 supported-webhook-types: - - repository - organization - - app - projects-v2-closed: + projects-v2-created: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55322,9 +57312,10 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was closed. - operationId: projects-v2/closed + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was created. + operationId: projects-v2/created externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55368,7 +57359,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" + "$ref": "#/components/schemas/webhook-projects-v2-project-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55380,7 +57371,7 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-created: + projects-v2-deleted: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55389,9 +57380,10 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was created. - operationId: projects-v2/created + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was deleted. + operationId: projects-v2/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55435,7 +57427,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-created" + "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55447,7 +57439,7 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-deleted: + projects-v2-edited: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55456,9 +57448,11 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was deleted. - operationId: projects-v2/deleted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The title, description, or README of a project in the organization + was changed. + operationId: projects-v2/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55502,7 +57496,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-project-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55514,21 +57508,22 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-edited: + projects-v2-item-archived: post: summary: |- - This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The title, description, or README of a project in the organization - was changed. - operationId: projects-v2/edited + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item on an organization project was archived. For more information, + see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." + operationId: projects-v2-item/archived externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: - name: User-Agent in: header @@ -55542,7 +57537,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2 + example: project-v2-item schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55570,7 +57565,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" + "$ref": "#/components/schemas/webhook-projects-v2-item-archived" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55579,10 +57574,10 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2 + subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-archived: + projects-v2-item-converted: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55591,10 +57586,146 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item on an organization project was archived. For more information, - see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - operationId: projects-v2-item/archived + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A draft issue in an organization project was converted to an issue. + operationId: projects-v2-item/converted + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-item + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_item + supported-webhook-types: + - organization + projects-v2-item-created: + post: + summary: |- + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item was added to a project in the organization. + operationId: projects-v2-item/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-item + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-item-created" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_item + supported-webhook-types: + - organization + projects-v2-item-deleted: + post: + summary: |- + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item was deleted from a project in the organization. + operationId: projects-v2-item/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55638,7 +57769,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" + "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55650,7 +57781,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-converted: + projects-v2-item-edited: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55659,9 +57790,12 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A draft issue in an organization project was converted to an issue. - operationId: projects-v2-item/converted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The values or state of an item in an organization project were + changed. For example, the value of a field was updated, the body of a draft + issue was changed, or a draft issue was converted to an issue. + operationId: projects-v2-item/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55705,7 +57839,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + "$ref": "#/components/schemas/webhook-projects-v2-item-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55717,7 +57851,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-created: + projects-v2-item-reordered: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55726,9 +57860,12 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item was added to a project in the organization. - operationId: projects-v2-item/created + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The position of an item in an organization project was changed. + For example, an item was moved above or below another item in the table or + board layout. + operationId: projects-v2-item/reordered externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55772,7 +57909,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-created" + "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55784,7 +57921,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-deleted: + projects-v2-item-restored: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55793,9 +57930,11 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item was deleted from a project in the organization. - operationId: projects-v2-item/deleted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An archived item on an organization project was restored from the + archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." + operationId: projects-v2-item/restored externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55839,7 +57978,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-item-restored" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55851,22 +57990,21 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-edited: + projects-v2-reopened: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The values or state of an item in an organization project were - changed. For example, the value of a field was updated, the body of a draft - issue was changed, or a draft issue was converted to an issue. - operationId: projects-v2-item/edited + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was reopened. + operationId: projects-v2/reopened externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: - name: User-Agent in: header @@ -55880,7 +58018,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2 schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55908,7 +58046,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" + "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55917,25 +58055,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-item-reordered: + projects-v2-status-update-created: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The position of an item in an organization project was changed. - For example, an item was moved above or below another item in the table or - board layout. - operationId: projects-v2-item/reordered + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was added to a project in the organization. + operationId: projects-v2-status-update/created externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -55949,7 +58086,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55977,7 +58114,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55986,24 +58123,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2_status_update supported-webhook-types: - organization - projects-v2-item-restored: + projects-v2-status-update-deleted: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An archived item on an organization project was restored from the - archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - operationId: projects-v2-item/restored + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was removed from a project in the organization. + operationId: projects-v2-status-update/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -56017,7 +58154,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56045,7 +58182,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -56054,23 +58191,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2_status_update supported-webhook-types: - organization - projects-v2-reopened: + projects-v2-status-update-edited: post: summary: |- - This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was reopened. - operationId: projects-v2/reopened + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was edited on a project in the organization. + operationId: projects-v2-status-update/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -56084,7 +58222,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2 + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56112,7 +58250,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -56121,7 +58259,7 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2 + subcategory: projects_v2_status_update supported-webhook-types: - organization public: @@ -58124,7 +60262,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - **Note**: Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. + > [!NOTE] + > Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. operationId: push externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#push @@ -58189,7 +60328,8 @@ x-webhooks: To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - **Note**: GitHub recommends that you use the newer `package` event instead. + > [!NOTE] + > GitHub recommends that you use the newer `package` event instead. description: A package was published to a registry. operationId: registry-package/published externalDocs: @@ -58255,7 +60395,8 @@ x-webhooks: To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - **Note**: GitHub recommends that you use the newer `package` event instead. + > [!NOTE] + > GitHub recommends that you use the newer `package` event instead. description: A package that was previously published to a registry was updated. operationId: registry-package/updated externalDocs: @@ -59809,7 +61950,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was created. operationId: repository-vulnerability-alert/create externalDocs: @@ -59872,7 +62014,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was dismissed. operationId: repository-vulnerability-alert/dismiss externalDocs: @@ -59935,7 +62078,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A previously dismissed or resolved repository vulnerability alert was reopened. operationId: repository-vulnerability-alert/reopen @@ -59999,7 +62143,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was marked as resolved. operationId: repository-vulnerability-alert/resolve externalDocs: @@ -60334,7 +62479,7 @@ x-webhooks: - repository - organization - app - secret-scanning-alert-revoked: + secret-scanning-alert-validated: post: summary: |- This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. @@ -60342,8 +62487,8 @@ x-webhooks: For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was marked as revoked. - operationId: secret-scanning-alert/revoked + description: A secret scanning alert was validated. + operationId: secret-scanning-alert/validated externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: @@ -60387,7 +62532,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-revoked" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60400,18 +62545,16 @@ x-webhooks: - repository - organization - app - secret-scanning-alert-validated: + security-advisory-published: post: summary: |- - This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - - For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was validated. - operationId: secret-scanning-alert/validated + GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + description: A security advisory was published to the GitHub community. + operationId: security-advisory/published externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: - name: User-Agent in: header @@ -60453,7 +62596,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" + "$ref": "#/components/schemas/webhook-security-advisory-published" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60461,19 +62604,17 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: secret_scanning_alert + subcategory: security_advisory supported-webhook-types: - - repository - - organization - app - security-advisory-published: + security-advisory-updated: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A security advisory was published to the GitHub community. - operationId: security-advisory/published + description: The metadata or description of a security advisory was changed. + operationId: security-advisory/updated externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -60517,7 +62658,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-published" + "$ref": "#/components/schemas/webhook-security-advisory-updated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60528,14 +62669,14 @@ x-webhooks: subcategory: security_advisory supported-webhook-types: - app - security-advisory-updated: + security-advisory-withdrawn: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: The metadata or description of a security advisory was changed. - operationId: security-advisory/updated + description: A previously published security advisory was withdrawn. + operationId: security-advisory/withdrawn externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -60579,7 +62720,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-updated" + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60590,16 +62731,145 @@ x-webhooks: subcategory: security_advisory supported-webhook-types: - app - security-advisory-withdrawn: + security-and-analysis: post: summary: |- - This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). + This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." - GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A previously published security advisory was withdrawn. - operationId: security-advisory/withdrawn + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + operationId: security-and-analysis externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-security-and-analysis" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: security_and_analysis + supported-webhook-types: + - repository + - organization + - app + sponsorship-cancelled: + post: + summary: |- + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: |- + A sponsorship was cancelled and the last billing cycle has ended. + + This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + operationId: sponsorship/cancelled + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: sponsorship + supported-webhook-types: + - sponsors_listing + sponsorship-created: + post: + summary: |- + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: A sponsor created a sponsorship for a sponsored account. This event + occurs once the payment is successfully processed. + operationId: sponsorship/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: - name: User-Agent in: header @@ -60641,7 +62911,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + "$ref": "#/components/schemas/webhook-sponsorship-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60649,18 +62919,21 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: security_advisory + subcategory: sponsorship supported-webhook-types: - - app - security-and-analysis: + - sponsors_listing + sponsorship-edited: post: summary: |- - This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - operationId: security-and-analysis + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: A monthly sponsor changed who can see their sponsorship. If you + recognize your sponsors publicly, you may want to update your sponsor recognition + to reflect the change when this event occurs. + operationId: sponsorship/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: - name: User-Agent in: header @@ -60702,7 +62975,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-and-analysis" + "$ref": "#/components/schemas/webhook-sponsorship-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60710,22 +62983,20 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: security_and_analysis + subcategory: sponsorship supported-webhook-types: - - repository - - organization - - app - sponsorship-cancelled: + - sponsors_listing + sponsorship-pending-cancellation: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." description: |- - A sponsorship was cancelled and the last billing cycle has ended. + A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - operationId: sponsorship/cancelled + operationId: sponsorship/pending-cancellation externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60769,7 +63040,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60780,15 +63051,15 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-created: + sponsorship-pending-tier-change: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor created a sponsorship for a sponsored account. This event - occurs once the payment is successfully processed. - operationId: sponsorship/created + description: A sponsor scheduled a downgrade to a lower sponsorship tier. The + new tier will become effective on their next billing date. + operationId: sponsorship/pending-tier-change externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60832,7 +63103,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-created" + "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60843,16 +63114,17 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-edited: + sponsorship-tier-changed: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A monthly sponsor changed who can see their sponsorship. If you - recognize your sponsors publicly, you may want to update your sponsor recognition - to reflect the change when this event occurs. - operationId: sponsorship/edited + description: A sponsor changed the tier of their sponsorship and the change + has taken effect. If a sponsor upgraded their tier, the change took effect + immediately. If a sponsor downgraded their tier, the change took effect at + the beginning of the sponsor's next billing cycle. + operationId: sponsorship/tier-changed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60896,7 +63168,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-edited" + "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60907,19 +63179,80 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-pending-cancellation: + star-created: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: |- - A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: Someone starred a repository. + operationId: star/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-star-created" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: star + supported-webhook-types: + - repository + - organization + - app + star-deleted: + post: + summary: |- + This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - operationId: sponsorship/pending-cancellation + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: Someone unstarred the repository. + operationId: star/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#star parameters: - name: User-Agent in: header @@ -60961,7 +63294,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" + "$ref": "#/components/schemas/webhook-star-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60969,20 +63302,20 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: star supported-webhook-types: - - sponsors_listing - sponsorship-pending-tier-change: + - repository + - organization + - app + status: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor scheduled a downgrade to a lower sponsorship tier. The - new tier will become effective on their next billing date. - operationId: sponsorship/pending-tier-change + To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. + operationId: status externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#status parameters: - name: User-Agent in: header @@ -61024,7 +63357,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" + "$ref": "#/components/schemas/webhook-status" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61032,22 +63365,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: status supported-webhook-types: - - sponsors_listing - sponsorship-tier-changed: + - repository + - organization + - app + sub-issues-parent-issue-added: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when there is activity relating to sub-issues. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor changed the tier of their sponsorship and the change - has taken effect. If a sponsor upgraded their tier, the change took effect - immediately. If a sponsor downgraded their tier, the change took effect at - the beginning of the sponsor's next billing cycle. - operationId: sponsorship/tier-changed + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A parent issue was added to an issue. + operationId: sub-issues/parent-issue-added externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61089,7 +63423,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61097,19 +63431,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: sub-issues supported-webhook-types: - - sponsors_listing - star-created: + - repository + - organization + - app + sub-issues-parent-issue-removed: post: summary: |- - This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - description: Someone starred a repository. - operationId: star/created + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A parent issue was removed from an issue. + operationId: sub-issues/parent-issue-removed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61151,7 +63489,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-star-created" + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61159,21 +63497,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: star + subcategory: sub-issues supported-webhook-types: - repository - organization - app - star-deleted: + sub-issues-sub-issue-added: post: summary: |- - This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - description: Someone unstarred the repository. - operationId: star/deleted + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A sub-issue was added to an issue. + operationId: sub-issues/sub-issue-added externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61215,7 +63555,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-star-deleted" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61223,20 +63563,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: star + subcategory: sub-issues supported-webhook-types: - repository - organization - app - status: + sub-issues-sub-issue-removed: post: summary: |- - This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - operationId: status + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A sub-issue was removed from an issue. + operationId: sub-issues/sub-issue-removed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#status + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61278,7 +63621,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-status" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61286,7 +63629,7 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: status + subcategory: sub-issues supported-webhook-types: - repository - organization @@ -62474,6 +64817,46 @@ components: - vulnerable_version_range - first_patched_version - vulnerable_functions + cvss-severities: + type: object + nullable: true + properties: + cvss_v3: + type: object + nullable: true + properties: + vector_string: + type: string + description: The CVSS 3 vector string. + nullable: true + score: + type: number + description: The CVSS 3 score. + minimum: 0 + maximum: 10 + nullable: true + readOnly: true + required: + - vector_string + - score + cvss_v4: + type: object + nullable: true + properties: + vector_string: + type: string + description: The CVSS 4 vector string. + nullable: true + score: + type: number + description: The CVSS 4 score. + minimum: 0 + maximum: 10 + nullable: true + readOnly: true + required: + - vector_string + - score simple-user: title: Simple User description: A GitHub user. @@ -62490,6 +64873,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -62726,6 +65110,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array nullable: true @@ -62742,6 +65128,14 @@ components: required: - cwe_id - name + epss: + type: object + nullable: true + properties: + percentage: + type: number + percentile: + type: number credits: type: array description: The users who contributed to the advisory. @@ -62825,6 +65219,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -62925,6 +65320,9 @@ components: node_id: type: string example: MDExOkludGVncmF0aW9uMQ== + client_id: + type: string + example: '"Iv1.25b5d1e65ffc4022"' owner: "$ref": "#/components/schemas/nullable-simple-user" name: @@ -62982,9 +65380,6 @@ components: description: The number of installations associated with the GitHub app example: 5 type: integer - client_id: - type: string - example: '"Iv1.25b5d1e65ffc4022"' client_secret: type: string example: '"1d4b2097ac622ba702d19de498f005747a8b21d3"' @@ -63101,6 +65496,12 @@ components: type: integer example: 123 nullable: true + throttled_at: + description: Time when the webhook delivery was throttled. + type: string + format: date-time + example: '2021-05-12T20:33:44Z' + nullable: true required: - id - guid @@ -63230,6 +65631,12 @@ components: type: integer example: 123 nullable: true + throttled_at: + description: Time when the webhook delivery was throttled. + type: string + format: date-time + example: '2021-05-12T20:33:44Z' + nullable: true url: description: The URL target of the delivery. type: string @@ -63850,6 +66257,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64395,6 +66803,7 @@ components: properties: id: type: integer + format: int64 url: type: string format: uri @@ -64983,6 +67392,304 @@ components: - html_url - key - name + nullable-organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + nullable: true + nullable-team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + team: + title: Team + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + enterprise-team: + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + example: disabled | all + group_id: + nullable: true + type: integer + example: 1 + html_url: + type: string + format: uri + example: https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - sync_to_organizations + - name + - html_url + - slug + - created_at + - updated_at + copilot-seat-details: + title: Copilot Business Seat Detail + description: Information about a Copilot Business seat assignment for a user, + team, or organization. + type: object + properties: + assignee: + "$ref": "#/components/schemas/simple-user" + organization: + "$ref": "#/components/schemas/nullable-organization-simple" + assigning_team: + description: The team through which the assignee is granted access to GitHub + Copilot, if applicable. + oneOf: + - "$ref": "#/components/schemas/team" + - "$ref": "#/components/schemas/enterprise-team" + nullable: true + pending_cancellation_date: + type: string + format: date + nullable: true + description: The pending cancellation date for the seat, in `YYYY-MM-DD` + format. This will be null unless the assignee's Copilot access has been + canceled during the current billing cycle. If the seat has been cancelled, + this corresponds to the start of the organization's next billing cycle. + last_activity_at: + type: string + format: date-time + nullable: true + description: Timestamp of user's last GitHub Copilot activity, in ISO 8601 + format. + last_activity_editor: + type: string + nullable: true + description: Last editor that was used by the user for a GitHub Copilot + completion. + created_at: + type: string + format: date-time + description: Timestamp of when the assignee was last granted access to GitHub + Copilot, in ISO 8601 format. + updated_at: + type: string + format: date-time + description: Timestamp of when the assignee's GitHub Copilot access was + last updated, in ISO 8601 format. + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown + required: + - assignee + - created_at + additionalProperties: false copilot-usage-metrics: title: Copilot Usage Metrics description: Summary of Copilot usage. @@ -65187,6 +67894,8 @@ components: - score - vector_string additionalProperties: false + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array description: Details for the advisory pertaining to Common Weakness Enumeration. @@ -65331,6 +68040,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 description: A unique identifier of the repository. node_id: @@ -65742,7 +68452,7 @@ components: type: string description: |- User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." secret: type: string description: The secret that was detected. @@ -65904,6 +68614,9 @@ components: node_id: type: string example: MDExOkludGVncmF0aW9uMQ== + client_id: + type: string + example: '"Iv1.25b5d1e65ffc4022"' owner: "$ref": "#/components/schemas/nullable-simple-user" name: @@ -65961,9 +68674,6 @@ components: description: The number of installations associated with the GitHub app example: 5 type: integer - client_id: - type: string - example: '"Iv1.25b5d1e65ffc4022"' client_secret: type: string example: '"1d4b2097ac622ba702d19de498f005747a8b21d3"' @@ -66531,6 +69241,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -67335,12 +70046,24 @@ components: type: string example: - 192.0.2.1 + codespaces: + type: array + items: + type: string + example: + - 192.0.2.1 dependabot: type: array items: type: string example: - 192.0.2.1 + copilot: + type: array + items: + type: string + example: + - 192.0.2.1 domains: type: object properties: @@ -67374,6 +70097,19 @@ components: type: string example: - example.com + artifact_attestations: + type: object + properties: + trust_domain: + type: string + example: + - example + services: + type: array + items: + type: string + example: + - example.com required: - verifiable_password_authentication security-and-analysis: @@ -67415,6 +70151,22 @@ components: enum: - enabled - disabled + secret_scanning_non_provider_patterns: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled minimal-repository: title: Minimal Repository description: Minimal Repository @@ -67422,6 +70174,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -67995,10 +70748,6 @@ components: type: integer example: 10000 nullable: true - collaborators: - type: integer - example: 8 - nullable: true billing_email: type: string format: email @@ -68064,49 +70813,62 @@ components: type: boolean example: false description: |- + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependabot_alerts_enabled_for_new_repositories: type: boolean example: false description: |- - Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to - this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependabot_security_updates_enabled_for_new_repositories: type: boolean example: false description: |- - Whether dependabot security updates are automatically enabled for new repositories and repositories transferred - to this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependency_graph_enabled_for_new_repositories: type: boolean example: false description: |- - Whether dependency graph is automatically enabled for new repositories and repositories transferred to this - organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_enabled_for_new_repositories: type: boolean example: false description: |- - Whether secret scanning is automatically enabled for new repositories and repositories transferred to this - organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_push_protection_enabled_for_new_repositories: type: boolean example: false description: |- - Whether secret scanning push protection is automatically enabled for new repositories and repositories - transferred to this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_push_protection_custom_link_enabled: type: boolean example: false @@ -68261,7 +71023,8 @@ components: description: |- Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`. - **Note**: The `patterns_allowed` setting only applies to public repositories. + > [!NOTE] + > The `patterns_allowed` setting only applies to public repositories. items: type: string actions-default-workflow-permissions: @@ -68292,6 +71055,59 @@ components: "$ref": "#/components/schemas/actions-default-workflow-permissions" can_approve_pull_request_reviews: "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + runner-groups-org: + type: object + properties: + id: + type: number + name: + type: string + visibility: + type: string + default: + type: boolean + selected_repositories_url: + description: Link to the selected repositories resource for this runner + group. Not present unless visibility was set to `selected` + type: string + runners_url: + type: string + hosted_runners_url: + type: string + inherited: + type: boolean + inherited_allows_public_repositories: + type: boolean + allows_public_repositories: + type: boolean + workflow_restrictions_read_only: + description: If `true`, the `restricted_to_workflows` and `selected_workflows` + fields cannot be modified. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running only + the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed to run. + This setting will be ignored unless `restricted_to_workflows` is set to + `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed to run. + Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - id + - name + - visibility + - default + - runners_url + - inherited + - allows_public_repositories runner-label: title: Self hosted runner label description: A label for a self hosted runner @@ -68558,7 +71374,6 @@ components: or closing the alert." nullable: true enum: - - - false positive - won't fix - used in tests @@ -68577,12 +71392,6 @@ components: name: type: string description: The name of the rule used to detect the alert. - tags: - nullable: true - type: array - description: A set of tags applicable for the rule. - items: - type: string severity: nullable: true type: string @@ -68604,6 +71413,24 @@ components: description: type: string description: A short description of the rule used to detect the alert. + full_description: + type: string + description: A description of the rule used to detect the alert. + tags: + nullable: true + type: array + description: A set of tags applicable for the rule. + items: + type: string + help: + nullable: true + type: string + description: Detailed documentation for the rule as GitHub Flavored Markdown. + help_uri: + nullable: true + type: string + description: A link to the documentation for the rule used to detect the + alert. code-scanning-analysis-tool-version: nullable: true type: string @@ -68740,6 +71567,165 @@ components: - tool - most_recent_instance - repository + code-security-configuration: + type: object + description: A code security configuration + properties: + id: + type: integer + description: The ID of the code security configuration + name: + type: string + description: The name of the code security configuration. Must be unique + within the organization. + target_type: + type: string + description: The type of the code security configuration. + enum: + - global + - organization + description: + type: string + description: A description of the code security configuration + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non-provider patterns + enum: + - enabled + - disabled + - not_set + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + url: + type: string + format: uri + description: The URL of the configuration + html_url: + type: string + format: uri + description: The URL of the configuration + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + code-security-default-configurations: + type: array + description: A list of default code security configurations + items: + type: object + properties: + default_for_new_repos: + enum: + - public + - private_and_internal + - all + description: The visibility of newly created repositories for which the + code security configuration will be applied to by default + configuration: + "$ref": "#/components/schemas/code-security-configuration" + code-security-configuration-repositories: + type: object + description: Repositories associated with a code security configuration and + attachment status + properties: + status: + type: string + description: The attachment status of the code security configuration on + the repository. + enum: + - attached + - attaching + - detached + - removed + - enforced + - failed + - updating + - removed_by_enterprise + repository: + "$ref": "#/components/schemas/simple-repository" nullable-codespace-machine: type: object title: Codespace machine @@ -68800,6 +71786,7 @@ components: properties: id: type: integer + format: int64 example: 1 name: description: Automatically generated name of this codespace. @@ -69106,9 +72093,9 @@ components: description: The number of seats that have not used Copilot during the current billing cycle. copilot-organization-details: - title: Copilot Business Organization Details + title: Copilot Organization Details description: Information about the seat breakdown and policies set for an organization - with a Copilot Business subscription. + with a Copilot Business or Copilot Enterprise subscription. type: object properties: seat_breakdown: @@ -69154,324 +72141,19 @@ components: - assign_selected - disabled - unconfigured + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - seat_breakdown - public_code_suggestions - seat_management_setting additionalProperties: true - nullable-team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - team: - title: Team - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - "$ref": "#/components/schemas/nullable-team-simple" - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at - copilot-seat-details: - title: Copilot Business Seat Detail - description: Information about a Copilot Business seat assignment for a user, - team, or organization. - type: object - properties: - assignee: - type: object - description: The assignee that has been granted access to GitHub Copilot. - additionalProperties: true - oneOf: - - "$ref": "#/components/schemas/simple-user" - - "$ref": "#/components/schemas/team" - - "$ref": "#/components/schemas/organization" - assigning_team: - description: The team that granted access to GitHub Copilot to the assignee. - This will be null if the user was assigned a seat individually. - oneOf: - - "$ref": "#/components/schemas/team" - nullable: true - pending_cancellation_date: - type: string - format: date - nullable: true - description: The pending cancellation date for the seat, in `YYYY-MM-DD` - format. This will be null unless the assignee's Copilot access has been - canceled during the current billing cycle. If the seat has been cancelled, - this corresponds to the start of the organization's next billing cycle. - last_activity_at: - type: string - format: date-time - nullable: true - description: Timestamp of user's last GitHub Copilot activity, in ISO 8601 - format. - last_activity_editor: - type: string - nullable: true - description: Last editor that was used by the user for a GitHub Copilot - completion. - created_at: - type: string - format: date-time - description: Timestamp of when the assignee was last granted access to GitHub - Copilot, in ISO 8601 format. - updated_at: - type: string - format: date-time - description: Timestamp of when the assignee's GitHub Copilot access was - last updated, in ISO 8601 format. - required: - - assignee - - created_at - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -69526,6 +72208,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -69915,6 +72598,7 @@ components: properties: id: type: integer + format: int64 login: type: string nullable: true @@ -70125,6 +72809,7 @@ components: properties: id: type: integer + format: int64 example: 79 owner: "$ref": "#/components/schemas/nullable-simple-user" @@ -70198,18 +72883,6 @@ components: - url - created_at - updated_at - organization-fine-grained-permission: - title: Organization Fine-Grained Permission - description: A fine-grained permission that protects organization resources. - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description organization-role: title: Organization Role description: Organization roles @@ -70218,6 +72891,7 @@ components: id: description: The unique identifier of the role. type: integer + format: int64 name: description: The name of the role. type: string @@ -70248,6 +72922,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"2020-07-09T00:17:55Z"' + required: + - avatar_url + - events_url + - followers_url + - following_url + - gists_url + - gravatar_id + - html_url + - id + - node_id + - login + - organizations_url + - received_events_url + - repos_url + - site_admin + - starred_url + - subscriptions_url + - type + - url package-version: title: Package Version description: A version of a software package @@ -70550,7 +73454,7 @@ components: - columns_url - created_at - updated_at - org-custom-property: + custom-property: title: Organization Custom Property description: Custom property defined on an organization type: object @@ -70558,12 +73462,19 @@ components: property_name: type: string description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete info about + this property via the API. value_type: type: string example: single_select enum: - string - single_select + - multi_select + - true_false description: The type of the value for the property required: type: boolean @@ -70653,6 +73564,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -71147,6 +74059,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -71616,17 +74529,14 @@ components: description: An actor that can bypass rules in a ruleset required: - actor_type - - bypass_mode properties: actor_id: type: integer nullable: true - description: 'The ID of the actor that can bypass a ruleset. If `actor_type` + description: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. - - ' actor_type: type: string enum: @@ -71635,19 +74545,17 @@ components: - RepositoryRole - Team - DeployKey - description: 'The type of actor that can bypass a ruleset. - - ' + description: The type of actor that can bypass a ruleset. bypass_mode: type: string - description: 'When the specified actor can bypass the ruleset. `pull_request` + description: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` - is not applicable for the `DeployKey` actor type. - - ' + is not applicable for the `DeployKey` actor type. Also, `pull_request` + is only applicable to branch rulesets. enum: - always - pull_request + default: always repository-ruleset-conditions: title: Repository ruleset conditions for ref names type: object @@ -71724,6 +74632,13 @@ components: description: The values to match for the repository property items: type: string + source: + type: string + description: The source of the repository property. Defaults to 'custom' + if not specified. + enum: + - custom + - system required: - name - property_values @@ -71752,11 +74667,10 @@ components: org-ruleset-conditions: title: Organization ruleset conditions type: object - description: 'Conditions for an organization ruleset. The conditions object - should contain both `repository_name` and `ref_name` properties or both `repository_id` - and `ref_name` properties. - - ' + description: |- + Conditions for an organization ruleset. + The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + The push rulesets conditions object does not require the `ref_name` property. oneOf: - type: object title: repository_name_and_ref_name @@ -71828,6 +74742,78 @@ components: type: string enum: - required_linear_history + repository-rule-merge-queue: + title: merge_queue + description: Merges must be performed via a merge queue. + type: object + required: + - type + properties: + type: + type: string + enum: + - merge_queue + parameters: + type: object + properties: + check_response_timeout_minutes: + type: integer + description: Maximum time for a required status check to report a conclusion. + After this much time has elapsed, checks that have not reported a + conclusion will be assumed to have failed + minimum: 1 + maximum: 360 + grouping_strategy: + type: string + description: When set to ALLGREEN, the merge commit created by merge + queue for each PR in the group must pass all required checks to merge. + When set to HEADGREEN, only the commit at the head of the merge group, + i.e. the commit containing changes from all of the PRs in the group, + must pass its required checks to merge. + enum: + - ALLGREEN + - HEADGREEN + max_entries_to_build: + type: integer + description: Limit the number of queued pull requests requesting checks + and workflow runs at the same time. + minimum: 0 + maximum: 100 + max_entries_to_merge: + type: integer + description: The maximum number of PRs that will be merged together + in a group. + minimum: 0 + maximum: 100 + merge_method: + type: string + description: Method to use when merging changes from queued pull requests. + enum: + - MERGE + - SQUASH + - REBASE + min_entries_to_merge: + type: integer + description: The minimum number of PRs that will be merged together + in a group. + minimum: 0 + maximum: 100 + min_entries_to_merge_wait_minutes: + type: integer + description: The time merge queue should wait after the first PR is + added to the queue for the minimum group size to be met. After this + time has elapsed, the minimum group size will be ignored and a smaller + group will be merged. + minimum: 0 + maximum: 360 + required: + - check_response_timeout_minutes + - grouping_strategy + - max_entries_to_build + - max_entries_to_merge + - merge_method + - min_entries_to_merge + - min_entries_to_merge_wait_minutes repository-rule-required-deployments: title: required_deployments description: Choose which environments must be successfully deployed to before @@ -71935,6 +74921,10 @@ components: parameters: type: object properties: + do_not_enforce_on_create: + type: boolean + description: Allow repositories and branches to be created if a check + would otherwise prohibit it. required_status_checks: type: array description: Status checks that are required. @@ -72177,6 +75167,10 @@ components: parameters: type: object properties: + do_not_enforce_on_create: + type: boolean + description: Allow repositories and branches to be created if a check + would otherwise prohibit it. workflows: type: array description: Workflows that must pass for this rule to pass. @@ -72251,6 +75245,7 @@ components: - "$ref": "#/components/schemas/repository-rule-update" - "$ref": "#/components/schemas/repository-rule-deletion" - "$ref": "#/components/schemas/repository-rule-required-linear-history" + - "$ref": "#/components/schemas/repository-rule-merge-queue" - "$ref": "#/components/schemas/repository-rule-required-deployments" - "$ref": "#/components/schemas/repository-rule-required-signatures" - "$ref": "#/components/schemas/repository-rule-pull-request" @@ -72262,10 +75257,8 @@ components: - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - title: file_path_restriction - description: |- - Note: file_path_restriction is in beta and subject to change. - - Prevent commits that include changes in specified file paths from being pushed to the commit graph. + description: Prevent commits that include changes in specified file paths + from being pushed to the commit graph. type: object required: - type @@ -72286,10 +75279,8 @@ components: required: - restricted_file_paths - title: max_file_path_length - description: |- - Note: max_file_path_length is in beta and subject to change. - - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + description: Prevent commits that include file paths that exceed a specified + character limit from being pushed to the commit graph. type: object required: - type @@ -72309,10 +75300,8 @@ components: required: - max_file_path_length - title: file_extension_restriction - description: |- - Note: file_extension_restriction is in beta and subject to change. - - Prevent commits that include files with specified file extensions from being pushed to the commit graph. + description: Prevent commits that include files with specified file extensions + from being pushed to the commit graph. type: object required: - type @@ -72333,10 +75322,8 @@ components: required: - restricted_file_extensions - title: max_file_size - description: |- - Note: max_file_size is in beta and subject to change. - - Prevent commits that exceed a specified file size limit from being pushed to the commit. + description: Prevent commits that exceed a specified file size limit from + being pushed to the commit. type: object required: - type @@ -72376,10 +75363,7 @@ components: description: The name of the ruleset target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -72422,6 +75406,7 @@ components: description: The URL of the ruleset html: type: object + nullable: true properties: href: type: string @@ -72489,6 +75474,7 @@ components: enum: - pass - fail + - bypass description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. @@ -72537,12 +75523,15 @@ components: enforcement status. evaluation_result: type: string + nullable: true enum: - pass - fail + - bypass description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would - pass or fail if all rules in the rule suite were `active`. + pass or fail if all rules in the rule suite were `active`. Null if no + rules with `evaluate` enforcement status were run. rule_evaluations: type: array description: Details on the evaluated rules. @@ -72581,7 +75570,9 @@ components: description: The type of rule. details: type: string - description: Any associated details with the rule evaluation. + nullable: true + description: The detailed failure message for the rule. Null if the + rule passed. repository-advisory-vulnerability: description: A product affected by the vulnerability detailed in a repository security advisory. @@ -72790,6 +75781,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array nullable: true @@ -72877,74 +75870,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug actions-billing-usage: type: object properties: @@ -74057,6 +76982,7 @@ components: description: The project card's ID example: 42 type: integer + format: int64 node_id: type: string example: MDExOlByb2plY3RDYXJkMTQ3OA== @@ -74632,6 +77558,7 @@ components: properties: id: type: integer + format: int64 number: type: integer url: @@ -74648,6 +77575,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -74672,6 +77600,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -75033,8 +77962,9 @@ components: properties: id: description: The id of the environment. - example: 56780428 type: integer + format: int64 + example: 56780428 node_id: type: string example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= @@ -75094,8 +78024,9 @@ components: example: https://api.github.com/repos/octocat/example/deployments/1 id: description: Unique identifier of the deployment - example: 42 type: integer + format: int64 + example: 42 node_id: type: string example: MDEwOkRlcGxveW1lbnQx @@ -75575,6 +78506,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -75713,6 +78645,8 @@ components: example: false name: type: string + client_id: + type: string description: type: string external_url: @@ -76009,9 +78943,15 @@ components: - tree - url author: - "$ref": "#/components/schemas/nullable-simple-user" + nullable: true + oneOf: + - "$ref": "#/components/schemas/simple-user" + - "$ref": "#/components/schemas/empty-object" committer: - "$ref": "#/components/schemas/nullable-simple-user" + nullable: true + oneOf: + - "$ref": "#/components/schemas/simple-user" + - "$ref": "#/components/schemas/empty-object" parents: type: array items: @@ -76379,6 +79319,7 @@ components: description: The id of the check. example: 21 type: integer + format: int64 head_sha: description: The SHA of the commit that is being checked. example: '009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d' @@ -76658,7 +79599,7 @@ components: - action_required - startup_failure - stale - - + - null nullable: true url: type: string @@ -76821,7 +79762,7 @@ components: description: A short description of the rule used to detect the alert. full_description: type: string - description: description of the rule used to detect the alert. + description: A description of the rule used to detect the alert. tags: nullable: true type: array @@ -77405,6 +80346,26 @@ components: description: Any errors that ocurred during processing of the delivery. readOnly: true nullable: true + code-security-configuration-for-repository: + type: object + description: Code security configuration associated with a repository and attachment + status + properties: + status: + type: string + description: The attachment status of the code security configuration on + the repository. + enum: + - attached + - attaching + - detached + - removed + - enforced + - failed + - updating + - removed_by_enterprise + configuration: + "$ref": "#/components/schemas/code-security-configuration" codeowners-errors: title: CODEOWNERS errors description: A list of errors found in a repo's CODEOWNERS file @@ -77553,6 +80514,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 email: nullable: true @@ -77665,6 +80627,7 @@ components: description: Unique identifier of the repository invitation. example: 42 type: integer + format: int64 repository: "$ref": "#/components/schemas/minimal-repository" invitee: @@ -77717,6 +80680,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 email: nullable: true @@ -77960,6 +80924,7 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 example: 1 node_id: type: string @@ -78492,6 +81457,8 @@ components: type: string sha: type: string + content: + type: string url: type: string format: uri @@ -78520,8 +81487,6 @@ components: type: string path: type: string - content: - type: string sha: type: string url: @@ -78597,8 +81562,6 @@ components: - size - type - url - - content - - encoding content-directory: title: Content Directory description: A list of directory items @@ -78970,6 +81933,35 @@ components: payload: type: string nullable: true + secret-scanning-push-protection-bypass-placeholder-id: + description: The ID of the push protection bypass placeholder. This value is + returned on any push protected routes. + type: string + repository-rule-violation-error: + description: Repository rule violation was detected + type: object + properties: + message: + type: string + documentation_url: + type: string + status: + type: string + metadata: + type: object + properties: + secret_scanning: + type: object + properties: + bypass_placeholders: + type: array + items: + type: object + properties: + placeholder_id: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id" + token_type: + type: string contributor: title: Contributor description: Contributor @@ -79311,6 +82303,11 @@ components: example: NOASSERTION description: The distribution source of this package, or NOASSERTION if this was not determined. + copyrightText: + type: string + example: Copyright (c) 1985 GitHub.com + description: The copyright holders of the package, and any dates + present with those notices, if available. externalRefs: type: array items: @@ -79528,6 +82525,7 @@ components: example: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: type: integer + format: int64 example: 1 node_id: type: string @@ -79640,6 +82638,7 @@ components: description: The id of the environment. example: 56780428 type: integer + format: int64 node_id: type: string example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= @@ -81497,6 +84496,7 @@ components: type: object properties: id: + description: Unique identifier for the label. type: integer format: int64 example: 208045946 @@ -81513,6 +84513,7 @@ components: example: bug type: string description: + description: Optional description of the label, such as its purpose. type: string example: Something isn't working nullable: true @@ -81522,6 +84523,7 @@ components: example: FFFFFF type: string default: + description: Whether this label comes by default in a new repository. type: boolean example: true required: @@ -81836,13 +84838,15 @@ components: type: string pull_request_review_id: description: The ID of the pull request review to which the comment belongs. - example: 42 type: integer + format: int64 + example: 42 nullable: true id: description: The ID of the pull request review comment. - example: 1 type: integer + format: int64 + example: 1 node_id: description: The node ID of the pull request review comment. type: string @@ -82785,6 +85789,7 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 example: 1 node_id: type: string @@ -83332,6 +86337,7 @@ components: format: uri id: type: integer + format: int64 node_id: type: string login: @@ -83770,6 +86776,7 @@ components: format: uri id: type: integer + format: int64 node_id: type: string login: @@ -83976,6 +86983,7 @@ components: description: Unique identifier of the review example: 42 type: integer + format: int64 node_id: type: string example: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84054,10 +87062,12 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: type: integer + format: int64 example: 42 nullable: true id: type: integer + format: int64 example: 10 node_id: type: string @@ -84381,6 +87391,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-required-linear-history" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-merge-queue" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" - allOf: - "$ref": "#/components/schemas/repository-rule-required-deployments" - "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -84456,7 +87469,7 @@ components: type: string description: |- User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." secret: type: string description: The secret that was detected. @@ -84760,6 +87773,26 @@ components: - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + secret-scanning-push-protection-bypass-reason: + description: The reason for bypassing push protection. + type: string + enum: + - false_positive + - used_in_tests + - will_fix_later + secret-scanning-push-protection-bypass: + type: object + properties: + reason: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-reason" + expire_at: + type: string + format: date-time + description: 'The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + token_type: + type: string + description: The token type this bypass is for. repository-advisory-create: type: object properties: @@ -86104,6 +89137,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -86219,6 +89253,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -86515,6 +89550,7 @@ components: properties: id: type: integer + format: int64 example: 1 name: description: Automatically generated name of this codespace. @@ -86751,6 +89787,7 @@ components: properties: id: type: integer + format: int64 example: 3 name: type: string @@ -86797,6 +89834,7 @@ components: properties: id: type: integer + format: int64 primary_key_id: type: integer key_id: @@ -86881,6 +89919,7 @@ components: type: string id: type: integer + format: int64 url: type: string title: @@ -87016,6 +90055,76 @@ components: required: - starred_at - repo + sigstore-bundle-0: + title: Sigstore Bundle v0.1 + description: Sigstore Bundle v0.1 + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: + x509CertificateChain: + type: object + properties: + certificates: + type: array + items: + type: object + properties: + rawBytes: + type: string + tlogEntries: + type: array + items: + type: object + properties: + logIndex: + type: string + logId: + type: object + properties: + keyId: + type: string + kindVersion: + type: object + properties: + kind: + type: string + version: + type: string + integratedTime: + type: string + inclusionPromise: + type: object + properties: + signedEntryTimestamp: + type: string + inclusionProof: + type: string + nullable: true + canonicalizedBody: + type: string + timestampVerificationData: + type: string + nullable: true + dsseEnvelope: + type: object + properties: + payload: + type: string + payloadType: + type: string + signatures: + type: array + items: + type: object + properties: + sig: + type: string + keyid: + type: string hovercard: title: Hovercard description: Hovercard @@ -87049,7 +90158,7 @@ components: - id enterprise-webhooks: title: Enterprise - description: | + description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured on an enterprise account or an organization that's part of an enterprise account. For more information, see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." @@ -87195,6 +90304,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -87931,102 +91041,6 @@ components: - watchers_count - created_at - updated_at - simple-user-webhooks: - title: Simple User - description: The GitHub user that triggered the event. This property is included - in every webhook payload. - type: object - properties: - name: - nullable: true - type: string - email: - nullable: true - type: string - login: - type: string - example: octocat - id: - type: integer - example: 1 - node_id: - type: string - example: MDQ6VXNlcjE= - avatar_url: - type: string - format: uri - example: https://github.com/images/error/octocat_happy.gif - gravatar_id: - type: string - example: 41d064eb2195891e12d0413f63227ea7 - nullable: true - url: - type: string - format: uri - example: https://api.github.com/users/octocat - html_url: - type: string - format: uri - example: https://github.com/octocat - followers_url: - type: string - format: uri - example: https://api.github.com/users/octocat/followers - following_url: - type: string - example: https://api.github.com/users/octocat/following{/other_user} - gists_url: - type: string - example: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: - type: string - example: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: - type: string - format: uri - example: https://api.github.com/users/octocat/subscriptions - organizations_url: - type: string - format: uri - example: https://api.github.com/users/octocat/orgs - repos_url: - type: string - format: uri - example: https://api.github.com/users/octocat/repos - events_url: - type: string - example: https://api.github.com/users/octocat/events{/privacy} - received_events_url: - type: string - format: uri - example: https://api.github.com/users/octocat/received_events - type: - type: string - example: User - site_admin: - type: boolean - starred_at: - type: string - example: '"2020-07-09T00:17:55Z"' - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url webhooks_rule: title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch @@ -88075,6 +91089,20 @@ components: - 'off' - non_admins - everyone + lock_branch_enforcement_level: + description: The enforcement level of the branch lock setting. `off` means + the branch is not locked, `non_admins` means the branch is read-only for + non_admins, and `everyone` means the branch is read-only for everyone. + type: string + enum: + - 'off' + - non_admins + - everyone + lock_allows_fork_sync: + description: Whether users can pull changes from upstream when the branch + is locked. Set to `true` to allow users to pull changes from upstream + when the branch is locked. This setting is only applicable for forks. + type: boolean merge_queue_enforcement_level: type: string enum: @@ -88149,6 +91177,7 @@ components: - strict_required_status_checks_policy - signature_requirement_enforcement_level - linear_history_requirement_enforcement_level + - lock_branch_enforcement_level - admin_enforced - allow_force_pushes_enforcement_level - allow_deletions_enforcement_level @@ -88607,6 +91636,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -88748,6 +91778,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89040,6 +92071,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89075,6 +92107,10 @@ components: required: - login - id + labels: + type: array + items: + "$ref": "#/components/schemas/label" required: - repository_url - category @@ -89201,6 +92237,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89453,6 +92490,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89528,7 +92566,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -90348,6 +93386,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -90556,7 +93595,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -91370,6 +94409,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -91773,10 +94813,8 @@ components: merge-group: type: object title: Merge Group - description: 'A group of pull requests that the merge queue has grouped together + description: A group of pull requests that the merge queue has grouped together to be merged. - - ' properties: head_sha: description: The SHA of the merge group. @@ -91809,6 +94847,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -92729,6 +95768,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -93298,6 +96338,90 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + projects-v2-status-update: + title: Projects v2 Status Update + description: An status update belonging to a project + type: object + properties: + id: + type: number + node_id: + type: string + project_node_id: + type: string + creator: + "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + status: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + start_date: + type: string + format: date + example: '2022-04-28' + target_date: + type: string + format: date + example: '2022-04-28' + body: + description: Body of the status update + example: The project is off to a great start! + type: string + nullable: true + required: + - id + - node_id + - created_at + - updated_at webhooks_number: description: The pull request number. type: integer @@ -93459,7 +96583,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -93861,6 +96985,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -94252,6 +97377,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -94478,6 +97604,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -94869,6 +97996,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95515,6 +98643,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95754,7 +98883,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be a diff line @@ -95802,6 +98931,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95960,6 +99090,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -96782,6 +99913,11 @@ components: secret_type: type: string description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." validity: type: string description: The token status as of the latest validity check. @@ -96817,6 +99953,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array items: @@ -97311,7 +100449,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -97333,7 +100471,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -97357,7 +100495,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97382,7 +100520,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97444,6 +100582,44 @@ components: - everyone required: - from + lock_branch_enforcement_level: + type: object + properties: + from: + type: string + enum: + - 'off' + - non_admins + - everyone + required: + - from + lock_allows_fork_sync: + type: object + properties: + from: + type: boolean + nullable: true + required: + - from + pull_request_reviews_enforcement_level: + type: object + properties: + from: + type: string + enum: + - 'off' + - non_admins + - everyone + required: + - from + require_last_push_approval: + type: object + properties: + from: + type: boolean + nullable: true + required: + - from required_status_checks: type: object properties: @@ -97475,7 +100651,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97498,7 +100674,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97531,7 +100707,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97572,7 +100748,7 @@ components: user. type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_run @@ -97606,7 +100782,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97721,6 +100897,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: The client ID of the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -98011,7 +101191,7 @@ components: - timed_out - action_required - stale - - + - null - skipped - startup_failure created_at: @@ -98179,7 +101359,7 @@ components: - in_progress - completed - queued - - + - null - pending updated_at: type: string @@ -98214,7 +101394,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -98320,6 +101500,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: Client ID of the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -98610,7 +101794,7 @@ components: - timed_out - action_required - stale - - + - null - skipped created_at: type: string @@ -98777,7 +101961,7 @@ components: - in_progress - completed - queued - - + - null updated_at: type: string format: date-time @@ -98811,7 +101995,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -98912,6 +102096,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: The Client ID for the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -99202,7 +102390,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -99368,7 +102556,7 @@ components: - in_progress - completed - queued - - + - null updated_at: type: string format: date-time @@ -99402,7 +102590,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -99506,7 +102694,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -99593,7 +102781,7 @@ components: - note - warning - error - - + - null required: - id - severity @@ -99646,7 +102834,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -99751,7 +102939,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -99850,7 +103038,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -99910,7 +103098,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100050,7 +103238,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100114,7 +103302,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100220,7 +103408,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -100322,7 +103510,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100381,7 +103569,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100518,7 +103706,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100587,7 +103775,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100708,7 +103896,7 @@ components: - note - warning - error - - + - null required: - id - severity @@ -100760,7 +103948,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100778,7 +103966,7 @@ components: enum: - created comment: - description: The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) + description: The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. type: object properties: @@ -100898,6 +104086,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -100956,7 +104145,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -100992,7 +104181,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -101010,7 +104199,7 @@ components: enum: - created definition: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" enterprise: "$ref": "#/components/schemas/enterprise-webhooks" installation: @@ -101018,11 +104207,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-deleted: title: custom property deleted event type: object @@ -101046,11 +104234,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-updated: title: custom property updated event type: object @@ -101060,7 +104247,7 @@ components: enum: - updated definition: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" enterprise: "$ref": "#/components/schemas/enterprise-webhooks" installation: @@ -101068,11 +104255,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-values-updated: title: Custom property values updated event type: object @@ -101090,7 +104276,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" new_property_values: type: array description: The new custom property values for the repository. @@ -101130,7 +104316,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -101156,7 +104342,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101181,7 +104367,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101206,7 +104392,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101231,7 +104417,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101256,7 +104442,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101281,7 +104467,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101306,7 +104492,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101331,7 +104517,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -101356,7 +104542,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -101856,7 +105042,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -101952,7 +105138,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -102490,7 +105676,7 @@ components: installation: "$ref": "#/components/schemas/simple-installation" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" webhook-deployment-review-approved: type: object properties: @@ -102513,7 +105699,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -102633,7 +105819,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -103166,7 +106352,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -103287,7 +106473,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -103893,7 +107079,7 @@ components: - User - Team sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -104018,7 +107204,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -104563,7 +107749,7 @@ components: - action_required - stale - skipped - - + - null details_url: type: string format: uri @@ -105569,7 +108755,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -105665,7 +108851,7 @@ components: - timed_out - action_required - stale - - + - null - startup_failure created_at: type: string @@ -106193,7 +109379,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106263,7 +109449,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106289,7 +109475,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106316,7 +109502,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -106344,7 +109530,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -106384,7 +109570,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106411,7 +109597,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106436,7 +109622,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106478,7 +109664,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106505,7 +109691,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106531,7 +109717,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106556,7 +109742,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106581,7 +109767,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106616,7 +109802,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106640,7 +109826,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106667,7 +109853,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106693,7 +109879,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106718,7 +109904,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106802,12 +109988,6 @@ components: - type: integer - type: string format: date-time - custom_properties: - type: object - description: The custom properties that were defined for the repository. - The keys are the custom property names, and the values are the corresponding - custom property values. - additionalProperties: true default_branch: description: The default branch of the repository. type: string @@ -106884,6 +110064,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -107400,7 +110581,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - forkee - repository @@ -107414,7 +110595,7 @@ components: enum: - revoked sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sender @@ -107467,7 +110648,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - pages - repository @@ -107493,7 +110674,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107519,7 +110700,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107545,7 +110726,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107593,7 +110774,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107651,7 +110832,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107681,7 +110862,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107800,7 +110981,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" target_type: type: string required: @@ -107830,7 +111011,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107957,6 +111138,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -108026,7 +111208,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -108848,6 +112030,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -109110,6 +112293,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -109140,7 +112324,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -109178,7 +112362,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -109996,6 +113180,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -110258,6 +113443,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -110288,7 +113474,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -110328,7 +113514,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -111149,6 +114335,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -111411,6 +114598,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -111441,7 +114629,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -111471,7 +114659,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -111507,7 +114695,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -112329,6 +115517,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -112496,6 +115685,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -112524,7 +115714,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -112556,7 +115746,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -113371,6 +116561,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -113433,7 +116624,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -113487,7 +116678,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -114309,6 +117500,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -114349,7 +117541,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -114401,7 +117593,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -115222,6 +118414,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -115287,7 +118480,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -115320,7 +118513,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -116140,6 +119333,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -116205,7 +119399,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -116260,7 +119454,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -117082,6 +120276,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -117119,7 +120314,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -117173,7 +120368,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -117994,6 +121189,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -118033,7 +121229,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -118066,7 +121262,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -118881,6 +122077,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -119091,6 +122288,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -119418,7 +122616,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -120237,6 +123435,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -120299,7 +123498,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120324,7 +123523,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120379,7 +123578,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -121203,6 +124402,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -121241,7 +124441,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -121272,7 +124472,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -122087,6 +125287,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -122298,6 +125499,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -122620,7 +125822,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -122649,7 +125851,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122676,7 +125878,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122731,7 +125933,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -123551,6 +126753,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -123588,7 +126791,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123613,7 +126816,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123638,7 +126841,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123662,7 +126865,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123718,7 +126921,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123747,7 +126950,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -123856,7 +127059,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -123964,7 +127167,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124072,7 +127275,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124101,7 +127304,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124153,7 +127356,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -124200,7 +127403,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -124226,7 +127429,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -124447,7 +127650,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -124476,7 +127679,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -124604,7 +127807,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - hook_id @@ -124628,7 +127831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124653,7 +127856,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124678,7 +127881,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124734,7 +127937,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -124760,7 +127963,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124785,7 +127988,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -124810,7 +128013,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -124835,7 +128038,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -124859,7 +128062,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -124994,7 +128197,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" user: "$ref": "#/components/schemas/webhooks_user" required: @@ -125021,7 +128224,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -125054,7 +128257,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -125665,7 +128868,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -126104,7 +129307,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -126228,7 +129431,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - id - build @@ -126244,10 +129447,12 @@ components: - approved personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126266,10 +129471,12 @@ components: - cancelled personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126288,10 +129495,12 @@ components: - created personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126299,7 +129508,6 @@ components: - personal_access_token_request - organization - sender - - installation webhook-personal-access-token-request-denied: title: personal_access_token_request denied event type: object @@ -126312,8 +129520,10 @@ components: "$ref": "#/components/schemas/personal-access-token-request" organization: "$ref": "#/components/schemas/organization-simple-webhooks" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126404,7 +129614,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" zen: description: Random string of GitHub zen. type: string @@ -126449,7 +129659,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126474,7 +129684,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126615,7 +129825,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126652,7 +129862,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126874,7 +130084,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126898,7 +130108,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -126922,7 +130132,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -126945,7 +130155,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -126978,7 +130188,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -127002,7 +130212,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -127026,7 +130236,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127050,7 +130260,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127094,7 +130304,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127117,7 +130327,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127137,7 +130347,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127158,7 +130368,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127179,7 +130389,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127235,7 +130445,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127259,7 +130469,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127292,7 +130502,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127314,7 +130524,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127335,7 +130545,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127350,6 +130560,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -127360,6 +130573,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object @@ -127382,7 +130613,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127415,7 +130646,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127439,7 +130670,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127461,12 +130692,130 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 - organization - sender + webhook-projects-v2-status-update-created: + title: Projects v2 Status Update Created Event + type: object + properties: + action: + type: string + enum: + - created + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-deleted: + title: Projects v2 Status Update Deleted Event + type: object + properties: + action: + type: string + enum: + - deleted + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-edited: + title: Projects v2 Status Update Edited Event + type: object + properties: + action: + type: string + enum: + - edited + changes: + type: object + properties: + body: + type: object + properties: + from: + type: string + nullable: true + to: + type: string + nullable: true + status: + type: object + properties: + from: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + to: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + start_date: + type: object + properties: + from: + type: string + format: date + nullable: true + to: + type: string + format: date + nullable: true + target_date: + type: object + properties: + from: + type: string + format: date + nullable: true + to: + type: string + format: date + nullable: true + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender webhook-public: title: public event type: object @@ -127480,7 +130829,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - repository - sender @@ -127598,7 +130947,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -128000,6 +131349,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -128392,6 +131742,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -128620,6 +131971,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -129012,6 +132364,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -129669,6 +133022,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -129745,7 +133099,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -129865,7 +133219,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -130265,6 +133619,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -130657,6 +134012,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -130883,6 +134239,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -131275,6 +134632,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -131931,6 +135289,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -132009,7 +135368,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -132129,7 +135488,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -132529,6 +135888,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -132921,6 +136281,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -133539,6 +136900,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -134196,6 +137558,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -134274,7 +137637,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134302,7 +137665,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134330,7 +137693,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134358,7 +137721,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134476,7 +137839,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -134876,6 +138239,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -135268,6 +138632,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -135494,6 +138859,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -135886,6 +139252,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -136533,6 +139900,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -136608,10 +139976,23 @@ components: - draft reason: type: string + enum: + - UNKNOWN_REMOVAL_REASON + - MANUAL + - MERGE + - MERGE_CONFLICT + - CI_FAILURE + - CI_TIMEOUT + - ALREADY_MERGED + - QUEUE_CLEARED + - ROLL_BACK + - BRANCH_PROTECTIONS + - GIT_TREE_INVALID + - INVALID_MERGE_COMMIT repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -136682,7 +140063,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -136801,7 +140182,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -137201,6 +140582,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -137593,6 +140975,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -137819,6 +141202,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -138211,6 +141595,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -138858,6 +142243,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -138934,7 +142320,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -139055,7 +142441,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -139457,6 +142843,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -139849,6 +143236,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -140077,6 +143465,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -140469,6 +143858,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -141127,6 +144517,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -141203,7 +144594,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -141322,7 +144713,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -141723,6 +145114,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -142115,6 +145507,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -142343,6 +145736,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -142735,6 +146129,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143392,6 +146787,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143468,7 +146864,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143496,7 +146892,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143523,7 +146919,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143551,7 +146947,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143579,7 +146975,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143765,7 +147161,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be a diff @@ -143813,6 +147209,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143975,7 +147372,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -144375,6 +147772,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -144767,6 +148165,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -144983,6 +148382,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -145374,6 +148774,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -145942,6 +149343,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -146016,7 +149418,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -146134,7 +149536,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -146532,6 +149934,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -146924,6 +150327,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -147140,6 +150544,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -147532,6 +150937,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -148089,6 +151495,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -148163,7 +151570,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -148283,7 +151690,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -148681,6 +152088,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -149073,6 +152481,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -149289,6 +152698,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -149681,6 +153091,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -150239,6 +153650,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -150313,7 +153725,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -150431,7 +153843,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -150831,6 +154243,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -151223,6 +154636,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -151439,6 +154853,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -151831,6 +155246,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152398,6 +155814,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152573,6 +155990,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152622,7 +156040,7 @@ components: - author_association - _links sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -152751,7 +156169,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -153147,6 +156565,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -153484,6 +156903,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -153696,6 +157116,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -154033,6 +157454,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -154601,6 +158023,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -154679,7 +158102,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -154801,7 +158224,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -155201,6 +158624,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -155584,6 +159008,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -155810,6 +159235,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -156202,6 +159628,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -156867,6 +160294,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -157009,7 +160437,7 @@ components: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -157128,7 +160556,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -157528,6 +160956,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -157920,6 +161349,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -158146,6 +161576,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -158538,6 +161969,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -159203,6 +162635,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -159386,7 +162819,7 @@ components: - repositories_url - permission sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -159508,7 +162941,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -159910,6 +163343,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -160302,6 +163736,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -160528,6 +163963,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -160920,6 +164356,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -161577,6 +165014,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -161721,7 +165159,7 @@ components: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -161840,7 +165278,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -162242,6 +165680,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -162634,6 +166073,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -162860,6 +166300,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -163252,6 +166693,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -163900,6 +167342,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -164075,7 +167518,7 @@ components: - name - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -164193,7 +167636,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -164593,6 +168036,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -164985,6 +168429,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -165202,6 +168647,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -165594,6 +169040,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -166162,6 +169609,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -166240,7 +169688,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -166357,7 +169805,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -166755,6 +170203,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -167097,6 +170546,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -167314,6 +170764,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -167656,6 +171107,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168223,6 +171675,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168299,7 +171752,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -168478,7 +171931,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be @@ -168526,6 +171979,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168708,7 +172162,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -169105,6 +172559,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -169447,6 +172902,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -169662,6 +173118,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -170004,6 +173461,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -170561,6 +174019,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -170636,7 +174095,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -170814,7 +174273,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be @@ -170862,6 +174321,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -171049,7 +174509,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -171451,6 +174911,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -171843,6 +175304,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -172069,6 +175531,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -172452,6 +175915,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -173109,6 +176573,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -173185,7 +176650,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -173308,7 +176773,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -173711,6 +177176,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -174103,6 +177569,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -174331,6 +177798,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -174723,6 +178191,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -175381,6 +178850,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -175457,7 +178927,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -175577,7 +179047,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -175979,6 +179449,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -176371,6 +179842,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -176599,6 +180071,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -176982,6 +180455,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -177639,6 +181113,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -177715,7 +181190,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -177834,7 +181309,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -178233,6 +181708,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -178625,6 +182101,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -178852,6 +182329,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -179244,6 +182722,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -179890,6 +183369,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -179965,7 +183445,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -180368,6 +183848,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -180677,7 +184158,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - before @@ -181201,7 +184682,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -181573,7 +185054,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -181597,7 +185078,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -181622,7 +185103,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -181677,7 +185158,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182006,7 +185487,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182030,7 +185511,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182054,7 +185535,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182078,7 +185559,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182102,7 +185583,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182126,7 +185607,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182148,7 +185629,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182170,7 +185651,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182192,7 +185673,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182222,7 +185703,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - branch @@ -182281,7 +185762,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182300,7 +185781,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" status: type: string enum: @@ -182328,7 +185809,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182350,7 +185831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182389,7 +185870,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182414,7 +185895,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182438,7 +185919,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182556,7 +186037,7 @@ components: from: type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182663,6 +186144,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -182711,7 +186193,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182734,7 +186216,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182758,7 +186240,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -182908,7 +186390,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -182933,7 +186415,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183078,7 +186560,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183103,7 +186585,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183127,7 +186609,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - location - alert @@ -183162,7 +186644,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183186,31 +186668,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" - required: - - action - - alert - - repository - webhook-secret-scanning-alert-revoked: - title: secret_scanning_alert revoked event - type: object - properties: - action: - type: string - enum: - - revoked - alert: - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - enterprise: - "$ref": "#/components/schemas/enterprise-webhooks" - installation: - "$ref": "#/components/schemas/simple-installation" - organization: - "$ref": "#/components/schemas/organization-simple-webhooks" - repository: - "$ref": "#/components/schemas/repository-webhooks" - sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183234,7 +186692,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183258,7 +186716,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183281,7 +186739,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183317,6 +186775,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array items: @@ -183411,7 +186871,7 @@ components: - withdrawn_at - vulnerabilities sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183436,7 +186896,7 @@ components: repository: "$ref": "#/components/schemas/full-repository" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - changes - repository @@ -183457,7 +186917,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183481,7 +186941,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183517,7 +186977,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183544,7 +187004,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183572,7 +187032,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183599,7 +187059,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183624,7 +187084,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: description: 'The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` @@ -183653,7 +187113,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: description: 'The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` @@ -184019,7 +187479,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sha: description: The Commit SHA. type: string @@ -184051,6 +187511,146 @@ components: - updated_at - repository - sender + webhook-sub-issues-parent-issue-added: + title: parent issue added event + type: object + properties: + action: + type: string + enum: + - parent_issue_added + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + parent_issue_repo: + "$ref": "#/components/schemas/repository" + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - parent_issue_id + - parent_issue + - parent_issue_repo + - sub_issue_id + - sub_issue + webhook-sub-issues-parent-issue-removed: + title: parent issue removed event + type: object + properties: + action: + type: string + enum: + - parent_issue_removed + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + parent_issue_repo: + "$ref": "#/components/schemas/repository" + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - parent_issue_id + - parent_issue + - parent_issue_repo + - sub_issue_id + - sub_issue + webhook-sub-issues-sub-issue-added: + title: sub-issue added event + type: object + properties: + action: + type: string + enum: + - sub_issue_added + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + sub_issue_repo: + "$ref": "#/components/schemas/repository" + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - sub_issue_id + - sub_issue + - sub_issue_repo + - parent_issue_id + - parent_issue + webhook-sub-issues-sub-issue-removed: + title: sub-issue removed event + type: object + properties: + action: + type: string + enum: + - sub_issue_removed + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + sub_issue_repo: + "$ref": "#/components/schemas/repository" + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - sub_issue_id + - sub_issue + - sub_issue_repo + - parent_issue_id + - parent_issue webhook-team-add: title: team_add event type: object @@ -184064,7 +187664,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -184235,6 +187835,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -184539,7 +188140,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -184710,6 +188311,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -185014,7 +188616,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -185186,6 +188788,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -185490,7 +189093,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -185726,6 +189329,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -186030,7 +189634,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -186203,6 +189807,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -186507,7 +190112,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -186532,7 +190137,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -186556,7 +190161,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: type: string required: @@ -186582,7 +190187,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -186603,7 +190208,7 @@ components: enum: - success - failure - - + - null - skipped - cancelled - action_required @@ -186693,7 +190298,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -186838,7 +190443,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -186859,7 +190464,7 @@ components: enum: - success - failure - - + - null - cancelled - neutral created_at: @@ -186944,7 +190549,7 @@ components: - failure - skipped - success - - + - null - cancelled name: type: string @@ -187117,7 +190722,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -187202,7 +190807,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -187275,7 +190880,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -187360,7 +190965,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -187434,7 +191039,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -187567,6 +191172,7 @@ components: - stale - success - timed_out + - startup_failure created_at: type: string format: date-time @@ -188369,7 +191975,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -189299,7 +192905,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -189397,7 +193003,7 @@ components: - timed_out - action_required - stale - - + - null - skipped - startup_failure created_at: @@ -190289,9 +193895,19 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H score: 7.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H + score: 7.6 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-400 name: Uncontrolled Resource Consumption + epss: + - percentage: 0.00045 + percentile: 0.16001e0 credits: - user: login: octocat @@ -190348,6 +193964,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H score: 7.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H + score: 7.6 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-400 name: Uncontrolled Resource Consumption @@ -190376,6 +193999,7 @@ components: value: id: 1 slug: octoapp + client_id: Iv1.ab1112223334445c node_id: MDExOkludGVncmF0aW9uMQ== owner: login: octocat @@ -190498,6 +194122,7 @@ components: action: opened installation_id: 123 repository_id: 456 + throttled_at: '2019-06-03T00:57:16Z' - id: 123456789 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 delivered_at: '2019-06-04T00:57:16Z' @@ -190509,6 +194134,7 @@ components: action: opened installation_id: 123 repository_id: 456 + throttled_at: hook-delivery: value: id: 12345678 @@ -190523,6 +194149,7 @@ components: installation_id: 123 repository_id: 456 url: https://www.example.com + throttled_at: '2019-06-03T00:57:16Z' request: headers: X-GitHub-Delivery: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -192988,6 +196615,73 @@ components: zombie_man: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2642.png?v8 zombie_woman: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8 zzz: https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8 + copilot-seats-list: + value: + total_seats: 2 + seats: + - created_at: '2021-08-03T18:00:00-06:00' + updated_at: '2021-09-23T15:00:00-06:00' + pending_cancellation_date: + last_activity_at: '2021-10-14T00:53:32-06:00' + last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business + assignee: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + assigning_team: + id: 1 + node_id: MDQ6VGVhbTE= + url: https://api.github.com/teams/1 + html_url: https://github.com/orgs/github/teams/justice-league + name: Justice League + slug: justice-league + description: A great team. + privacy: closed + notification_setting: notifications_enabled + permission: admin + members_url: https://api.github.com/teams/1/members{/member} + repositories_url: https://api.github.com/teams/1/repos + parent: + - created_at: '2021-09-23T18:00:00-06:00' + updated_at: '2021-09-23T15:00:00-06:00' + pending_cancellation_date: '2021-11-01' + last_activity_at: '2021-10-13T00:53:32-06:00' + last_activity_editor: vscode/1.77.3/copilot/1.86.82 + assignee: + login: octokitten + id: 1 + node_id: MDQ76VNlcjE= + avatar_url: https://github.com/images/error/octokitten_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octokitten + html_url: https://github.com/octokitten + followers_url: https://api.github.com/users/octokitten/followers + following_url: https://api.github.com/users/octokitten/following{/other_user} + gists_url: https://api.github.com/users/octokitten/gists{/gist_id} + starred_url: https://api.github.com/users/octokitten/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octokitten/subscriptions + organizations_url: https://api.github.com/users/octokitten/orgs + repos_url: https://api.github.com/users/octokitten/repos + events_url: https://api.github.com/users/octokitten/events{/privacy} + received_events_url: https://api.github.com/users/octokitten/received_events + type: User + site_admin: false copilot-usage-metrics-enterprise: value: - day: '2023-10-15' @@ -193092,6 +196786,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -193252,6 +196953,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -193551,6 +197259,70 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + copilot-usage-metrics-org: + value: + - day: '2023-10-15' + total_suggestions_count: 1000 + total_acceptances_count: 800 + total_lines_suggested: 1800 + total_lines_accepted: 1200 + total_active_users: 10 + total_chat_acceptances: 32 + total_chat_turns: 200 + total_active_chat_users: 4 + breakdown: + - language: python + editor: vscode + suggestions_count: 300 + acceptances_count: 250 + lines_suggested: 900 + lines_accepted: 700 + active_users: 5 + - language: python + editor: jetbrains + suggestions_count: 300 + acceptances_count: 200 + lines_suggested: 400 + lines_accepted: 300 + active_users: 2 + - language: ruby + editor: vscode + suggestions_count: 400 + acceptances_count: 350 + lines_suggested: 500 + lines_accepted: 200 + active_users: 3 + - day: '2023-10-16' + total_suggestions_count: 800 + total_acceptances_count: 600 + total_lines_suggested: 1100 + total_lines_accepted: 700 + total_active_users: 12 + total_chat_acceptances: 57 + total_chat_turns: 426 + total_active_chat_users: 8 + breakdown: + - language: python + editor: vscode + suggestions_count: 300 + acceptances_count: 200 + lines_suggested: 600 + lines_accepted: 300 + active_users: 2 + - language: python + editor: jetbrains + suggestions_count: 300 + acceptances_count: 150 + lines_suggested: 300 + lines_accepted: 250 + active_users: 6 + - language: ruby + editor: vscode + suggestions_count: 200 + acceptances_count: 150 + lines_suggested: 200 + lines_accepted: 150 + active_users: 3 public-events-items: value: - id: '22249084947' @@ -194685,6 +198457,8 @@ components: - 192.0.2.1 dependabot: - 192.0.2.1 + copilot: + - 192.0.2.1 domains: website: - "*.example.com" @@ -195174,6 +198948,309 @@ components: value: default_workflow_permissions: read can_approve_pull_request_reviews: true + runner-groups-org: + value: + total_count: 3 + runner_groups: + - id: 1 + name: Default + visibility: all + default: true + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: [] + workflow_restrictions_read_only: false + - id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + inherited: true + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: true + - id: 3 + name: expensive-hardware + visibility: private + default: false + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group-item: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + minimal-repository-paginated: + value: + total_count: 1 + repositories: + - id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + language: + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + size: 108 + default_branch: master + open_issues_count: 0 + is_template: true + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + template_repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + organization: + language: + forks: 9 + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + watchers: 80 + size: 108 + default_branch: master + open_issues: 0 + open_issues_count: 0 + is_template: true + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + html_url: https://api.github.com/licenses/mit + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + allow_rebase_merge: true + template_repository: + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_squash_merge: true + allow_auto_merge: false + delete_branch_on_merge: true + allow_merge_commit: true + subscribers_count: 42 + network_count: 0 + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + delete_branch_on_merge: true + subscribers_count: 42 + network_count: 0 + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + forks: 1 + open_issues: 1 + watchers: 1 runner-paginated: value: total_count: 2 @@ -195438,6 +199515,97 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + list-attestations: + value: + attestations: + - bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== + repository_id: 1 + - bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== + repository_id: 1 simple-user-items: value: - login: octocat @@ -195564,12 +199732,281 @@ components: teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - - number: 3 - created_at: '2020-02-13T12:29:18Z' - url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3 - html_url: https://github.com/octocat/hello-world/code-scanning/3 - state: dismissed - dismissed_by: + - number: 3 + created_at: '2020-02-13T12:29:18Z' + url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3 + html_url: https://github.com/octocat/hello-world/code-scanning/3 + state: dismissed + dismissed_by: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + dismissed_at: '2020-02-14T12:29:18Z' + dismissed_reason: false positive + dismissed_comment: This alert is not actually correct, because there's a sanitizer + included in the library. + rule: + id: js/zipslip + severity: error + tags: + - security + - external/cwe/cwe-022 + description: Arbitrary file write during zip extraction + name: js/zipslip + tool: + name: CodeQL + guid: + version: 2.4.0 + most_recent_instance: + ref: refs/heads/main + analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" + category: ".github/workflows/codeql-analysis.yml:CodeQL-Build" + environment: "{}" + state: open + commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 + message: + text: This path depends on a user-provided value. + location: + path: lib/ab12-gen.js + start_line: 917 + end_line: 917 + start_column: 7 + end_column: 18 + classifications: [] + instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + code-security-configuration-list: + value: + - id: 17 + target_type: global + name: GitHub recommended + description: Suggested settings for Dependabot, secret scanning, and code + scanning. + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: enabled + secret_scanning_non_provider_patterns: enabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/17 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view + created_at: '2023-12-04T15:58:07Z' + updated_at: '2023-12-04T15:58:07Z' + - id: 1326 + target_type: organization + name: High risk settings + description: This is a code security configuration for octo-org high risk + repositories + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: enabled + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 + created_at: '2024-05-10T00:00:00Z' + updated_at: '2024-05-10T00:00:00Z' + code-security-configuration: + value: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: disabled + secret_scanning: enabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + code-security-default-configurations: + value: + - default_for_new_repos: public + configuration: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: enabled + secret_scanning_non_provider_patterns: enabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + - default_for_new_repos: private_and_internal + configuration: + id: 17 + target_type: global + name: GitHub recommended + description: Suggested settings for Dependabot, secret scanning, and code + scanning. + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: disabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/17 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view + created_at: '2023-12-04T15:58:07Z' + updated_at: '2023-12-04T15:58:07Z' + code-security-configuration-updated: + value: + id: 1325 + target_type: organization + name: octo-org recommended settings v2 + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: disabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + simple-repository: + value: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: login: octocat id: 1 node_id: MDQ6VXNlcjE= @@ -195588,104 +200025,49 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - dismissed_at: '2020-02-14T12:29:18Z' - dismissed_reason: false positive - dismissed_comment: This alert is not actually correct, because there's a sanitizer - included in the library. - rule: - id: js/zipslip - severity: error - tags: - - security - - external/cwe/cwe-022 - description: Arbitrary file write during zip extraction - name: js/zipslip - tool: - name: CodeQL - guid: - version: 2.4.0 - most_recent_instance: - ref: refs/heads/main - analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - category: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: "{}" - state: open - commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 - message: - text: This path depends on a user-provided value. - location: - path: lib/ab12-gen.js - start_line: 917 - end_line: 917 - start_column: 7 - end_column: 18 - classifications: [] - instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks codespaces-list: value: total_count: 3 @@ -196127,137 +200509,11 @@ components: active_this_cycle: 12 inactive_this_cycle: 11 seat_management_setting: assign_selected + ide_chat: enabled + platform_chat: enabled + cli: enabled public_code_suggestions: block - copilot-seats-list: - value: - total_seats: 2 - seats: - - created_at: '2021-08-03T18:00:00-06:00' - updated_at: '2021-09-23T15:00:00-06:00' - pending_cancellation_date: - last_activity_at: '2021-10-14T00:53:32-06:00' - last_activity_editor: vscode/1.77.3/copilot/1.86.82 - assignee: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - assigning_team: - id: 1 - node_id: MDQ6VGVhbTE= - url: https://api.github.com/teams/1 - html_url: https://github.com/orgs/github/teams/justice-league - name: Justice League - slug: justice-league - description: A great team. - privacy: closed - notification_setting: notifications_enabled - permission: admin - members_url: https://api.github.com/teams/1/members{/member} - repositories_url: https://api.github.com/teams/1/repos - parent: - - created_at: '2021-09-23T18:00:00-06:00' - updated_at: '2021-09-23T15:00:00-06:00' - pending_cancellation_date: '2021-11-01' - last_activity_at: '2021-10-13T00:53:32-06:00' - last_activity_editor: vscode/1.77.3/copilot/1.86.82 - assignee: - login: octokitten - id: 1 - node_id: MDQ76VNlcjE= - avatar_url: https://github.com/images/error/octokitten_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octokitten - html_url: https://github.com/octokitten - followers_url: https://api.github.com/users/octokitten/followers - following_url: https://api.github.com/users/octokitten/following{/other_user} - gists_url: https://api.github.com/users/octokitten/gists{/gist_id} - starred_url: https://api.github.com/users/octokitten/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octokitten/subscriptions - organizations_url: https://api.github.com/users/octokitten/orgs - repos_url: https://api.github.com/users/octokitten/repos - events_url: https://api.github.com/users/octokitten/events{/privacy} - received_events_url: https://api.github.com/users/octokitten/received_events - type: User - site_admin: false - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 + plan_type: business organization-dependabot-secret-paginated: value: total_count: 3 @@ -196502,6 +200758,7 @@ components: repositories_url: https://api.github.com/installation/repositories html_url: https://github.com/organizations/github/settings/installations/1 app_id: 1 + client_id: Iv1.ab1112223334445c target_id: 1 target_type: Organization permissions: @@ -196768,6 +201025,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -197398,12 +201656,8 @@ components: status: enabled secret_scanning_push_protection: status: disabled - organization-fine-grained-permission-example: - value: - - name: read_organization_custom_org_role - description: View organization roles - - name: write_organization_custom_org_role - description: Manage custom organization roles + secret_scanning_non_provider_patterns: + status: disabled organization-role-list: value: total_count: 2 @@ -197687,9 +201941,10 @@ components: site_admin: false created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' - org-custom-properties: + custom-properties: value: - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment value_type: single_select required: true default_value: production @@ -197699,13 +201954,16 @@ components: - development values_editable_by: org_actors - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service value_type: string - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team value_type: string description: Team owning the repository - org-custom-property: + custom-property: value: property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment value_type: single_select required: true default_value: production @@ -198298,7 +202556,7 @@ components: value: - id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -198308,7 +202566,7 @@ components: result: bypass - id: 25 actor_id: 11 - username: not-octocat + actor_name: not-octocat before_sha: 48994e4e01ccc943624c6231f172702b82b233cc after_sha: ecfd5a1025fa271a33ca5608d089476a2df3c9a1 ref: refs/heads/i-am-everything @@ -198321,7 +202579,7 @@ components: value: id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -198428,6 +202686,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H score: 9.8 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + score: 9.8 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-123 name: A CWE @@ -198568,6 +202833,13 @@ components: cvss: vector_string: AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N score: 1.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N + score: 1.6 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 7.1 cwes: - cwe_id: CWE-456 name: A CWE 2.0 @@ -200014,6 +204286,8 @@ components: status: enabled secret_scanning_push_protection: status: disabled + secret_scanning_non_provider_patterns: + status: disabled artifact-paginated: value: total_count: 2 @@ -200957,6 +205231,51 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + attestation: + value: + bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== autolink-items: value: - id: 1 @@ -203119,6 +207438,32 @@ components: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 + code-security-configuration-for-repository: + value: + status: attached + configuration: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: disabled + secret_scanning: enabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' codeowners-errors: value: errors: @@ -205229,6 +209574,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -205324,6 +209676,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -205401,6 +209760,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -205473,6 +209839,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -205595,6 +209968,7 @@ components: filesAnalyzed: false licenseConcluded: MIT licenseDeclared: MIT + copyrightText: Copyright (c) 1985 GitHub.com dependency-graph-create-snapshot-request: value: version: 0 @@ -210437,6 +214811,11 @@ components: - type: pull_request_review_comment details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + secret-scanning-push-protection-bypass: + value: + reason: will_fix_later + expire_at: '2020-11-06T18:18:30Z' + token_type: mailchimp_api_key repository-advisory: value: ghsa_id: GHSA-abcd-1234-efgh @@ -210514,6 +214893,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H score: 9.8 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + score: 9.8 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-123 name: A CWE @@ -210693,6 +215079,9 @@ components: vulnerable_functions: - important_function cvss: + cvss_severities: + cvss_v3: + cvss_v4: cwes: - cwe_id: CWE-123 name: A CWE @@ -212255,240 +216644,6 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/user/codespaces/secrets/CODESPACE_GH_SECRET/repositories - minimal-repository-paginated: - value: - total_count: 1 - repositories: - - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - language: - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - size: 108 - default_branch: master - open_issues_count: 0 - is_template: true - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - template_repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - organization: - language: - forks: 9 - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - watchers: 80 - size: 108 - default_branch: master - open_issues: 0 - open_issues_count: 0 - is_template: true - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://api.github.com/licenses/mit - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - allow_squash_merge: true - allow_auto_merge: false - delete_branch_on_merge: true - allow_merge_commit: true - subscribers_count: 42 - network_count: 0 - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true - subscribers_count: 42 - network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - forks: 1 - open_issues: 1 - watchers: 1 user-export-details: value: state: succeeded @@ -216566,7 +220721,7 @@ components: in: query description: |- A comma-separated list of secret types to return. By default all secret types are returned. - See "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)" + See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -216601,6 +220756,13 @@ components: required: false schema: type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string gist-id: name: gist_id description: The unique identifier of the gist. @@ -216615,6 +220777,7 @@ components: required: true schema: type: integer + format: int64 labels: name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' @@ -216720,6 +220883,20 @@ components: required: true schema: type: integer + visible-to-repository: + name: visible_to_repository + description: Only return runner groups that are allowed to be used by this repository. + in: query + required: false + schema: + type: string + runner-group-id: + name: runner_group_id + description: Unique identifier of the self-hosted runner group. + in: path + required: true + schema: + type: integer runner-id: name: runner_id description: Unique identifier of the self-hosted runner. @@ -216782,6 +220959,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" + configuration-id: + name: configuration_id + description: The unique identifier of the code security configuration. + in: path + required: true + schema: + type: integer hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the @@ -216818,13 +221002,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string role-id: name: role_id description: The unique identifier of the role. @@ -216945,11 +221122,32 @@ components: type: integer custom-property-name: name: custom_property_name - description: The custom property name. The name is case sensitive. + description: The custom property name in: path required: true schema: type: string + ruleset-targets: + name: targets + description: | + A comma-separated list of rule targets to filter by. + If provided, only rulesets that apply to the specified targets will be returned. + For example, `branch,tag,push`. + in: query + required: false + schema: + type: string + example: branch,tag,push + ref-in-query: + name: ref + description: The name of the ref. Cannot contain wildcard characters. Optionally + prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to + tags. Omit the prefix to search across all refs. When specified, only rule + evaluations triggered for this ref will be returned. + in: query + schema: + type: string + x-multi-segment: true repository-name-in-query: name: repository_name description: The name of the repository to filter on. When specified, only rule @@ -217321,6 +221519,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-ref" + pr-alias: + name: pr + description: The number of the pull request for the results you want to list. + in: query + required: false + schema: + type: integer alert-number: name: alert_number in: path @@ -217480,14 +221685,6 @@ components: required: true schema: type: integer - ref-in-query: - name: ref - description: The name of the ref. Cannot contain wildcard characters. When specified, - only rule evaluations triggered for this ref will be returned. - in: query - schema: - type: string - x-multi-segment: true tag-protection-id: name: tag_protection_id description: The unique identifier of the tag protection. @@ -217752,11 +221949,11 @@ components: examples: default: "$ref": "#/components/examples/runner-labels-readonly" + no_content: + description: A header with no content is returned. package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - no_content: - description: A header with no content is returned. gone: description: Gone content: diff --git a/src/libs/AutoSDK/Models/AnyOfData.cs b/src/libs/AutoSDK/Models/AnyOfData.cs index 3282177770..ead50def11 100644 --- a/src/libs/AutoSDK/Models/AnyOfData.cs +++ b/src/libs/AutoSDK/Models/AnyOfData.cs @@ -91,7 +91,7 @@ public static AnyOfData FromSchemaContext(SchemaContext context) ? children.Select((x, i) => PropertyData.Default with { Type = x.TypeData ?? TypeData.Default, - Name = useSmartNames + Name = useSmartNames && (x.TypeData ?? TypeData.Default).CSharpTypeWithoutNullability.StartsWith("global::System.", StringComparison.Ordinal) != true ? SmartNamedAnyOfNames.ComputeSmartName( (x.TypeData ?? TypeData.Default).ShortCSharpTypeWithoutNullability, className) diff --git a/src/libs/AutoSDK/Sources/Sources.AnyOf.cs b/src/libs/AutoSDK/Sources/Sources.AnyOf.cs index d95e286d70..04899def7a 100644 --- a/src/libs/AutoSDK/Sources/Sources.AnyOf.cs +++ b/src/libs/AutoSDK/Sources/Sources.AnyOf.cs @@ -42,12 +42,14 @@ public static string GenerateAnyOf( anyOfData.Count > 1 || (!string.IsNullOrWhiteSpace(anyOfData.Name) && anyOfData.DiscriminatorType != null && - anyOfData.DiscriminatorPropertyName != null) ? $@" + anyOfData.DiscriminatorPropertyName != null && + allTypes.All(x => !string.IsNullOrWhiteSpace(x.DiscriminatorValue))) ? $@" {string.Empty.ToXmlDocumentationSummary(level: 8)} public {classNameWithoutTypes}( {(string.IsNullOrWhiteSpace(anyOfData.Name) || anyOfData.DiscriminatorType == null || - anyOfData.DiscriminatorPropertyName == null ? " " : $@" + anyOfData.DiscriminatorPropertyName == null || + allTypes.Any(x => string.IsNullOrWhiteSpace(x.DiscriminatorValue)) ? " " : $@" {anyOfData.DiscriminatorType.Value.CSharpTypeWithoutNullability}{anyOfData.DiscriminatorPropertyName}? {anyOfData.DiscriminatorPropertyName.ToParameterName()}, ")} {allTypes.Select(x => $@" @@ -57,7 +59,8 @@ public static string GenerateAnyOf( {{ {(string.IsNullOrWhiteSpace(anyOfData.Name) || anyOfData.DiscriminatorType == null || - anyOfData.DiscriminatorPropertyName == null ? " " : $@" + anyOfData.DiscriminatorPropertyName == null || + allTypes.Any(x => string.IsNullOrWhiteSpace(x.DiscriminatorValue)) ? " " : $@" {anyOfData.DiscriminatorPropertyName} = {anyOfData.DiscriminatorPropertyName.ToParameterName()}; ")} {allTypes.Select(x => $@" @@ -78,7 +81,8 @@ namespace {anyOfData.Namespace} {{ {(string.IsNullOrWhiteSpace(anyOfData.Name) || anyOfData.DiscriminatorType == null || - anyOfData.DiscriminatorPropertyName == null ? " " : $@" + anyOfData.DiscriminatorPropertyName == null || + allTypes.Any(x => string.IsNullOrWhiteSpace(x.DiscriminatorValue)) ? " " : $@" {string.Empty.ToXmlDocumentationSummary(level: 8)} public {anyOfData.DiscriminatorType.Value.CSharpTypeWithoutNullability}{anyOfData.DiscriminatorPropertyName}? {anyOfData.DiscriminatorPropertyName} {{ get; }} ")} @@ -95,7 +99,7 @@ namespace {anyOfData.Namespace} [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof({x.Name}))] #endif public bool Is{x.Name} => {x.Name} != null; -{(className != x.Type.CSharpTypeWithoutNullability ? $@" +{(className != x.Type.CSharpTypeWithoutNullability && x.Type.CSharpTypeWithoutNullability.StartsWith("global::System.Collections.Generic.IList", StringComparison.Ordinal) != true ? $@" {string.Empty.ToXmlDocumentationSummary(level: 8)} public static implicit operator {className}({x.Type.CSharpTypeWithoutNullability} value) => new {className}(value); diff --git a/src/libs/AutoSDK/Sources/Sources.JsonConverters.AnyOf.cs b/src/libs/AutoSDK/Sources/Sources.JsonConverters.AnyOf.cs index bb95a46c6d..42b4d0733d 100644 --- a/src/libs/AutoSDK/Sources/Sources.JsonConverters.AnyOf.cs +++ b/src/libs/AutoSDK/Sources/Sources.JsonConverters.AnyOf.cs @@ -36,7 +36,7 @@ public static string GenerateAnyOfJsonConverter( }) .ToImmutableArray().AsEquatableArray() : anyOfData.Properties; - var read = anyOfData.DiscriminatorType != null ? $@" + var read = anyOfData.DiscriminatorType != null && allTypes.All(x => !string.IsNullOrWhiteSpace(x.DiscriminatorValue)) ? $@" var readerCopy = reader; {(anyOfData.IsTrimming ? $@" diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs index c95db2100e..e678142bb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 103def59d3..05663c8911 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs index 5eb3cebe21..7e26f741c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 879bffef5a..647214b9a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 08c055fcfb..97d0954061 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 6816e0daad..eb0d7704e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -31,7 +32,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs index 06d4649a91..eaa9de25bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs index 96fcf17ef2..881bcdfd20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -33,7 +34,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index 93894188a5..ffb5d96182 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsCancelImportResponseContent( /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 23838df8ac..36b579c142 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessMigrationsGetCommitAuthorsResponseContent( /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 9eb1c84a1f..8d96e3a381 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetImportStatusResponseContent( /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 74bb6a5fbb..2a539e8dca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetLargeFilesResponseContent( /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 292eb17dec..783f89b8e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 8624652f28..845571c094 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -123,7 +124,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 30c3368b59..1456be0dfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -121,7 +122,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 735dfed04f..0eb22146a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Migration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Migration.g.verified.cs index f9a2abe750..adfcd3f789 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Migration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Migration.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class Migration { /// - /// Example: 79 + /// Example: 79L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// A GitHub user. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs index 237565473b..70190f4703 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class MinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs index fb429e2d99..b51401dd09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs @@ -28,10 +28,10 @@ public sealed partial class NullableSimpleUser public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Repository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Repository.g.verified.cs index a6291010ae..6e6bcc1ce1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Repository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.Repository.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class Repository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs index f5ea3733fa..b41474c2b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs @@ -33,6 +33,18 @@ public sealed partial class SecurityAndAnalysis [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] public global::G.SecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_ai_detection")] + public global::G.SecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..9d72d75b82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningAiDetection + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..63ae87939d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum SecurityAndAnalysisSecretScanningAiDetectionStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningAiDetectionStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningAiDetectionStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..7579afe0ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..f17628f384 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum SecurityAndAnalysisSecretScanningNonProviderPatternsStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs index 00dddd3452..6399c02c83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs @@ -28,10 +28,10 @@ public sealed partial class SimpleUser public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs index df82e449a0..9f21d4a19e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs @@ -44,6 +44,10 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.SecurityAndAnalysisSecretScanningStatusNullableJsonConverter(), new global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusJsonConverter(), new global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusNullableJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter(), new global::G.JsonConverters.ImportStatusJsonConverter(), new global::G.JsonConverters.ImportStatusNullableJsonConverter(), new global::G.JsonConverters.MigrationsStartForOrgRequestExcludeItemJsonConverter(), diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs index c95db2100e..e678142bb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 103def59d3..05663c8911 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs index 5eb3cebe21..7e26f741c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 879bffef5a..647214b9a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 08c055fcfb..97d0954061 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 6816e0daad..eb0d7704e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -31,7 +32,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs index 06d4649a91..eaa9de25bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs index 96fcf17ef2..881bcdfd20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -33,7 +34,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index 088088b7cf..da6baafbf1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsCancelImportResponseContent( /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index e21c17f027..15daa2730b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessMigrationsGetCommitAuthorsResponseContent( /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 3573044760..3e1bd62e4a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetImportStatusResponseContent( /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 206f4413ff..c101e4b511 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetLargeFilesResponseContent( /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 8062a865a0..2282995697 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index b190682b29..4103af417a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -123,7 +124,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 84d2a949a2..402066bbb7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -121,7 +122,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 5257e6ce07..6b21e67868 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Migration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Migration.g.verified.cs index d27ec4332e..d7148217d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Migration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Migration.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class Migration { /// - /// Example: 79 + /// Example: 79L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// A GitHub user. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs index ad227058dc..71df13c3e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class MinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs index a6841435f6..05eee21926 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs @@ -29,11 +29,11 @@ public sealed partial class NullableSimpleUser public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Repository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Repository.g.verified.cs index 756abed160..5387ca7a57 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Repository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.Repository.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class Repository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs index 6d2cc6fc8a..17e27a5596 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs @@ -33,6 +33,18 @@ public sealed partial class SecurityAndAnalysis [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] public global::G.SecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_ai_detection")] + public global::G.SecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..a77507fc37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningAiDetection + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter))] + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecurityAndAnalysisSecretScanningAiDetection), + jsonSerializerContext) as global::G.SecurityAndAnalysisSecretScanningAiDetection; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..6ac8fa493f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum SecurityAndAnalysisSecretScanningAiDetectionStatus + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningAiDetectionStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningAiDetectionStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..a1fccb79a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter))] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns), + jsonSerializerContext) as global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..63e992048b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum SecurityAndAnalysisSecretScanningNonProviderPatternsStatus + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs index 7c2fc74d66..b2cb206dcc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs @@ -29,11 +29,11 @@ public sealed partial class SimpleUser public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..c0723b6d19 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs new file mode 100644 index 0000000000..b758d23da9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..a8f9cda5d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs new file mode 100644 index 0000000000..35dbbac742 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index efd3d53b8a..03aa0057a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -27,6 +27,10 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningStatusNullableJsonConverter), typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusJsonConverter), typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusNullableJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter), typeof(global::G.JsonConverters.ImportStatusJsonConverter), typeof(global::G.JsonConverters.ImportStatusNullableJsonConverter), typeof(global::G.JsonConverters.MigrationsStartForOrgRequestExcludeItemJsonConverter), diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs index 0151ff643e..3c000f2f1d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs @@ -27,7 +27,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public int? Type2 { get; set; } + public long? Type2 { get; set; } /// /// /// @@ -55,210 +55,230 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::G.OneOf>? Type9 { get; set; } + public int? Type9 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10 { get; set; } + public global::G.OneOf>? Type10 { get; set; } /// /// /// - public global::G.NullableLicenseSimple? Type11 { get; set; } + public global::System.Collections.Generic.IList? Type11 { get; set; } /// /// /// - public global::G.Repository? Type12 { get; set; } + public global::G.NullableLicenseSimple? Type12 { get; set; } /// /// /// - public global::G.RepositoryPermissions? Type13 { get; set; } + public global::G.Repository? Type13 { get; set; } /// /// /// - public global::System.DateTime? Type14 { get; set; } + public global::G.RepositoryPermissions? Type14 { get; set; } /// /// /// - public global::G.RepositorySquashMergeCommitTitle? Type15 { get; set; } + public global::System.DateTime? Type15 { get; set; } /// /// /// - public global::G.RepositorySquashMergeCommitMessage? Type16 { get; set; } + public global::G.RepositorySquashMergeCommitTitle? Type16 { get; set; } /// /// /// - public global::G.RepositoryMergeCommitTitle? Type17 { get; set; } + public global::G.RepositorySquashMergeCommitMessage? Type17 { get; set; } /// /// /// - public global::G.RepositoryMergeCommitMessage? Type18 { get; set; } + public global::G.RepositoryMergeCommitTitle? Type18 { get; set; } /// /// /// - public global::G.CodeOfConduct? Type19 { get; set; } + public global::G.RepositoryMergeCommitMessage? Type19 { get; set; } /// /// /// - public global::G.SecurityAndAnalysis? Type20 { get; set; } + public global::G.CodeOfConduct? Type20 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisAdvancedSecurity? Type21 { get; set; } + public global::G.SecurityAndAnalysis? Type21 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisAdvancedSecurityStatus? Type22 { get; set; } + public global::G.SecurityAndAnalysisAdvancedSecurity? Type22 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisDependabotSecurityUpdates? Type23 { get; set; } + public global::G.SecurityAndAnalysisAdvancedSecurityStatus? Type23 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type24 { get; set; } + public global::G.SecurityAndAnalysisDependabotSecurityUpdates? Type24 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanning? Type25 { get; set; } + public global::G.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type25 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningStatus? Type26 { get; set; } + public global::G.SecurityAndAnalysisSecretScanning? Type26 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningPushProtection? Type27 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningStatus? Type27 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type28 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningPushProtection? Type28 { get; set; } /// /// /// - public global::G.MinimalRepository? Type29 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type29 { get; set; } /// /// /// - public global::G.MinimalRepositoryPermissions? Type30 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? Type30 { get; set; } /// /// /// - public global::G.MinimalRepositoryLicense? Type31 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Type31 { get; set; } /// /// /// - public global::G.Migration? Type32 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningAiDetection? Type32 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type33 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Type33 { get; set; } /// /// /// - public global::G.Import? Type34 { get; set; } + public global::G.MinimalRepository? Type34 { get; set; } /// /// /// - public global::G.ImportStatus? Type35 { get; set; } + public global::G.MinimalRepositoryPermissions? Type35 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type36 { get; set; } + public global::G.MinimalRepositoryLicense? Type36 { get; set; } /// /// /// - public global::G.ImportProjectChoice? Type37 { get; set; } + public global::G.Migration? Type37 { get; set; } /// /// /// - public global::G.PorterAuthor? Type38 { get; set; } + public global::System.Collections.Generic.IList? Type38 { get; set; } /// /// /// - public global::G.PorterLargeFile? Type39 { get; set; } + public global::G.Import? Type39 { get; set; } /// /// /// - public global::G.MigrationsStartForOrgRequest? Type40 { get; set; } + public global::G.ImportStatus? Type40 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type41 { get; set; } + public global::System.Collections.Generic.IList? Type41 { get; set; } /// /// /// - public global::G.MigrationsStartForOrgRequestExcludeItem? Type42 { get; set; } + public global::G.ImportProjectChoice? Type42 { get; set; } /// /// /// - public global::G.MigrationsStartImportRequest? Type43 { get; set; } + public global::G.PorterAuthor? Type43 { get; set; } /// /// /// - public global::G.MigrationsStartImportRequestVcs? Type44 { get; set; } + public global::G.PorterLargeFile? Type44 { get; set; } /// /// /// - public global::G.MigrationsUpdateImportRequest? Type45 { get; set; } + public global::G.MigrationsStartForOrgRequest? Type45 { get; set; } /// /// /// - public global::G.MigrationsUpdateImportRequestVcs? Type46 { get; set; } + public global::System.Collections.Generic.IList? Type46 { get; set; } /// /// /// - public global::G.MigrationsMapCommitAuthorRequest? Type47 { get; set; } + public global::G.MigrationsStartForOrgRequestExcludeItem? Type47 { get; set; } /// /// /// - public global::G.MigrationsSetLfsPreferenceRequest? Type48 { get; set; } + public global::G.MigrationsStartImportRequest? Type48 { get; set; } /// /// /// - public global::G.MigrationsSetLfsPreferenceRequestUseLfs? Type49 { get; set; } + public global::G.MigrationsStartImportRequestVcs? Type49 { get; set; } /// /// /// - public global::G.MigrationsStartForAuthenticatedUserRequest? Type50 { get; set; } + public global::G.MigrationsUpdateImportRequest? Type50 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type51 { get; set; } + public global::G.MigrationsUpdateImportRequestVcs? Type51 { get; set; } /// /// /// - public global::G.MigrationsStartForAuthenticatedUserRequestExcludeItem? Type52 { get; set; } + public global::G.MigrationsMapCommitAuthorRequest? Type52 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type53 { get; set; } + public global::G.MigrationsSetLfsPreferenceRequest? Type53 { get; set; } /// /// /// - public global::G.MigrationsListForOrgExcludeItem? Type54 { get; set; } + public global::G.MigrationsSetLfsPreferenceRequestUseLfs? Type54 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type55 { get; set; } + public global::G.MigrationsStartForAuthenticatedUserRequest? Type55 { get; set; } /// /// /// - public global::G.MigrationsGetStatusForOrgExcludeItem? Type56 { get; set; } + public global::System.Collections.Generic.IList? Type56 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type57 { get; set; } + public global::G.MigrationsStartForAuthenticatedUserRequestExcludeItem? Type57 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type58 { get; set; } + public global::System.Collections.Generic.IList? Type58 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type59 { get; set; } + public global::G.MigrationsListForOrgExcludeItem? Type59 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type60 { get; set; } + public global::System.Collections.Generic.IList? Type60 { get; set; } + /// + /// + /// + public global::G.MigrationsGetStatusForOrgExcludeItem? Type61 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type62 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type63 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type64 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type65 { get; set; } } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..0c23f8d280 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int repositoryId); + partial void PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int repositoryId); + partial void ProcessActionsAddRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Add repository access to a self-hosted runner group in an organization
+ /// Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + repositoryId: ref repositoryId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories/{repositoryId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + repositoryId: repositoryId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsAddRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..40beac3a5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsAddSelfHostedRunnerToGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int runnerId); + partial void PrepareActionsAddSelfHostedRunnerToGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int runnerId); + partial void ProcessActionsAddSelfHostedRunnerToGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Add a self-hosted runner to a group for an organization
+ /// Adds a self-hosted runner to a runner group configured in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsAddSelfHostedRunnerToGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsAddSelfHostedRunnerToGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + runnerId: ref runnerId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners/{runnerId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsAddSelfHostedRunnerToGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + runnerId: runnerId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsAddSelfHostedRunnerToGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..2862f3b853 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,170 @@ +//HintName: G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsCreateSelfHostedRunnerGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request); + partial void PrepareActionsCreateSelfHostedRunnerGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request); + partial void ProcessActionsCreateSelfHostedRunnerGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsCreateSelfHostedRunnerGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsCreateSelfHostedRunnerGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsCreateSelfHostedRunnerGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsCreateSelfHostedRunnerGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsCreateSelfHostedRunnerGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + string name, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Collections.Generic.IList? runners = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest + { + Name = name, + Visibility = visibility, + SelectedRepositoryIds = selectedRepositoryIds, + Runners = runners, + AllowsPublicRepositories = allowsPublicRepositories, + RestrictedToWorkflows = restrictedToWorkflows, + SelectedWorkflows = selectedWorkflows, + }; + + return await ActionsCreateSelfHostedRunnerGroupForOrgAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs new file mode 100644 index 0000000000..a8934e1eb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsDeleteSelfHostedRunnerGroupFromOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId); + partial void PrepareActionsDeleteSelfHostedRunnerGroupFromOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId); + partial void ProcessActionsDeleteSelfHostedRunnerGroupFromOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Delete a self-hosted runner group from an organization
+ /// Deletes a self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerGroupFromOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsDeleteSelfHostedRunnerGroupFromOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsDeleteSelfHostedRunnerGroupFromOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsDeleteSelfHostedRunnerGroupFromOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..b451ab93dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,102 @@ +//HintName: G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsGetSelfHostedRunnerGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId); + partial void PrepareActionsGetSelfHostedRunnerGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId); + partial void ProcessActionsGetSelfHostedRunnerGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsGetSelfHostedRunnerGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a self-hosted runner group for an organization
+ /// Gets a specific self-hosted runner group for an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsGetSelfHostedRunnerGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsGetSelfHostedRunnerGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsGetSelfHostedRunnerGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsGetSelfHostedRunnerGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..8e67ae3e81 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,122 @@ +//HintName: G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int? page, + ref int? perPage); + partial void PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int? page, + int? perPage); + partial void ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List repository access to a self-hosted runner group in an organization
+ /// Lists the repositories with access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int? page = 1, + int? perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs new file mode 100644 index 0000000000..abb6e399c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs @@ -0,0 +1,123 @@ +//HintName: G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListSelfHostedRunnerGroupsForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int? perPage, + ref int? page, + ref string? visibleToRepository); + partial void PrepareActionsListSelfHostedRunnerGroupsForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int? perPage, + int? page, + string? visibleToRepository); + partial void ProcessActionsListSelfHostedRunnerGroupsForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListSelfHostedRunnerGroupsForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List self-hosted runner groups for an organization
+ /// Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnerGroupsForOrgAsync( + string org, + int? perPage = 30, + int? page = 1, + string? visibleToRepository = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListSelfHostedRunnerGroupsForOrgArguments( + httpClient: _httpClient, + org: ref org, + perPage: ref perPage, + page: ref page, + visibleToRepository: ref visibleToRepository); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("visible_to_repository", visibleToRepository) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListSelfHostedRunnerGroupsForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + perPage: perPage, + page: page, + visibleToRepository: visibleToRepository); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListSelfHostedRunnerGroupsForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListSelfHostedRunnerGroupsForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..1518b14721 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,122 @@ +//HintName: G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListSelfHostedRunnersInGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int? perPage, + ref int? page); + partial void PrepareActionsListSelfHostedRunnersInGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int? perPage, + int? page); + partial void ProcessActionsListSelfHostedRunnersInGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListSelfHostedRunnersInGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List self-hosted runners in a group for an organization
+ /// Lists self-hosted runners that are in a specific organization group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + int? perPage = 30, + int? page = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListSelfHostedRunnersInGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + perPage: ref perPage, + page: ref page); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("page", page?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListSelfHostedRunnersInGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + perPage: perPage, + page: page); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListSelfHostedRunnersInGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListSelfHostedRunnersInGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..7c74d37d97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int repositoryId); + partial void PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int repositoryId); + partial void ProcessActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Remove repository access to a self-hosted runner group in an organization
+ /// Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + repositoryId: ref repositoryId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories/{repositoryId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + repositoryId: repositoryId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs similarity index 60% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs index 1c8226cd74..3285efe878 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs @@ -1,50 +1,52 @@ -//HintName: G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.cs +//HintName: G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class ActionsClient { - partial void PrepareOrgsDeleteCustomOrganizationRoleArguments( + partial void PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref int roleId); - partial void PrepareOrgsDeleteCustomOrganizationRoleRequest( + ref int runnerGroupId, + ref int runnerId); + partial void PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - int roleId); - partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( + int runnerGroupId, + int runnerId); + partial void ProcessActionsRemoveSelfHostedRunnerFromGroupForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); /// - /// Delete a custom organization role.
- /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Remove a self-hosted runner from a group for an organization
+ /// Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// + /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsRemoveSelfHostedRunnerFromGroupForOrgAsync( string org, - int roleId, + int runnerGroupId, + int runnerId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareOrgsDeleteCustomOrganizationRoleArguments( + PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgArguments( httpClient: _httpClient, org: ref org, - roleId: ref roleId); + runnerGroupId: ref runnerGroupId, + runnerId: ref runnerId); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles/{roleId}", + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners/{runnerId}", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -54,11 +56,12 @@ partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsDeleteCustomOrganizationRoleRequest( + PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, - roleId: roleId); + runnerGroupId: runnerGroupId, + runnerId: runnerId); using var response = await _httpClient.SendAsync( request: httpRequest, @@ -68,7 +71,7 @@ partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsDeleteCustomOrganizationRoleResponse( + ProcessActionsRemoveSelfHostedRunnerFromGroupForOrgResponse( httpClient: _httpClient, httpResponseMessage: response); response.EnsureSuccessStatusCode(); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs index 8e752d4e35..9eb506a852 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -26,8 +26,8 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// @@ -94,8 +94,8 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs index ad88aeef44..e9eeae97dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -93,7 +93,8 @@ partial void ProcessActionsSetAllowedActionsOrganizationResponse( /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs index 345015d76b..1c660b1499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -100,7 +100,8 @@ partial void ProcessActionsSetAllowedActionsRepositoryResponse( /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..f7394389b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,118 @@ +//HintName: G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request); + partial void PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request); + partial void ProcessActionsSetRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsSetRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest + { + SelectedRepositoryIds = selectedRepositoryIds, + }; + + await ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + org: org, + runnerGroupId: runnerGroupId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..e2c715142d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,118 @@ +//HintName: G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsSetSelfHostedRunnersInGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request); + partial void PrepareActionsSetSelfHostedRunnersInGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request); + partial void ProcessActionsSetSelfHostedRunnersInGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsSetSelfHostedRunnersInGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsSetSelfHostedRunnersInGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsSetSelfHostedRunnersInGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList runners, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest + { + Runners = runners, + }; + + await ActionsSetSelfHostedRunnersInGroupForOrgAsync( + org: org, + runnerGroupId: runnerGroupId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs similarity index 57% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs index 051d06bc7a..cb2c6e2a93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -1,62 +1,59 @@ -//HintName: G.OrgsClient.OrgsPatchCustomOrganizationRole.g.cs +//HintName: G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class ActionsClient { - partial void PrepareOrgsPatchCustomOrganizationRoleArguments( + partial void PrepareActionsUpdateSelfHostedRunnerGroupForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request); - partial void PrepareOrgsPatchCustomOrganizationRoleRequest( + ref int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request); + partial void PrepareActionsUpdateSelfHostedRunnerGroupForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request); - partial void ProcessOrgsPatchCustomOrganizationRoleResponse( + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request); + partial void ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( + partial void ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request, + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); PrepareArguments( client: _httpClient); - PrepareOrgsPatchCustomOrganizationRoleArguments( + PrepareActionsUpdateSelfHostedRunnerGroupForOrgArguments( httpClient: _httpClient, org: ref org, - roleId: ref roleId, + runnerGroupId: ref runnerGroupId, request: request); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles/{roleId}", + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -72,11 +69,11 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsPatchCustomOrganizationRoleRequest( + PrepareActionsUpdateSelfHostedRunnerGroupForOrgRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, - roleId: roleId, + runnerGroupId: runnerGroupId, request: request); using var response = await _httpClient.SendAsync( @@ -87,7 +84,7 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsPatchCustomOrganizationRoleResponse( + ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -97,7 +94,7 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsPatchCustomOrganizationRoleResponseContent( + ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -112,49 +109,58 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( } return - global::G.OrganizationRole.FromJson(__content, JsonSerializerOptions) ?? + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// /// - /// The name of the custom role. + /// Name of the runner group. /// - /// - /// A short description about the intended usage of this role or what permissions it grants. + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. /// - /// - /// A list of additional permissions included in this role. + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( string org, - int roleId, - string? name = default, - string? description = default, - global::System.Collections.Generic.IList? permissions = default, + int runnerGroupId, + string name, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OrgsPatchCustomOrganizationRoleRequest + var request = new global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest { Name = name, - Description = description, - Permissions = permissions, + Visibility = visibility, + AllowsPublicRepositories = allowsPublicRepositories, + RestrictedToWorkflows = restrictedToWorkflows, + SelectedWorkflows = selectedWorkflows, }; - return await OrgsPatchCustomOrganizationRoleAsync( + return await ActionsUpdateSelfHostedRunnerGroupForOrgAsync( org: org, - roleId: roleId, + runnerGroupId: runnerGroupId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs index 936747a35a..730cf677aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessActivityGetFeedsResponseContent( /// * **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. + /// > [!NOTE]
+ /// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs index 1d0bfc087e..c460072dd4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -28,7 +28,9 @@ partial void ProcessActivityListEventsForAuthenticatedUserResponseContent( /// /// List events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs index 80cc309b08..edf32b3703 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -30,7 +30,9 @@ partial void ProcessActivityListOrgEventsForAuthenticatedUserResponseContent( /// /// List organization events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs index fb4c5827d1..3008869da4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessActivityListPublicEventsResponseContent( /// /// List public events
- /// 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. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs index e687cc18fc..c68ce983d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -29,7 +29,9 @@ partial void ProcessActivityListPublicEventsForRepoNetworkResponseContent( ref string content); /// - /// List public events for a network of repositories + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs index 3129c4539f..7f89a8b4ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListPublicEventsForUserResponseContent( ref string content); /// - /// List public events for a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs index 9ef14b2ab4..6a1c212683 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListPublicOrgEventsResponseContent( ref string content); /// - /// List public organization events + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs index 83a7774b2c..ecd5204611 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -28,7 +28,10 @@ partial void ProcessActivityListReceivedEventsForUserResponseContent( /// /// List events received by the authenticated user
- /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + /// These are events that you've received by watching repositories and following users. If you are authenticated as the
+ /// given user, you will see 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs index eb82b19968..172a6113d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListReceivedPublicEventsForUserResponseContent( ref string content); /// - /// List public events received by a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs index 2bec9c6ac5..1c22c9ec27 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessActivityListRepoEventsResponseContent( /// /// List repository 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. + /// > [!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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs index 213b03bd73..a39d9d6b94 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs @@ -329,6 +329,14 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable JsonSerializerOptions = JsonSerializerOptions, }; + /// + /// Endpoints to manage Code security using the REST API. + /// + public CodeSecurityClient CodeSecurity => new CodeSecurityClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + /// /// Creates a new instance of the Api. /// If no httpClient is provided, a new one will be created. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs index dca5e28760..13d6754d89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessAppsAddRepoToInstallationForAuthenticatedUserResponseContent /// /// Add a repository to an app installation
- /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + /// Add a single repository to an installation. The authenticated user must have admin access to the repository.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsCheckToken.g.verified.cs index 66df869574..c0b37dbc35 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsCheckToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsCheckToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsCheckTokenResponseContent( /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsCheckTokenResponseContent( /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs index b6a302d87c..8a76af3d32 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsDeleteAuthorizationResponseContent( /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// @@ -109,7 +109,7 @@ partial void ProcessAppsDeleteAuthorizationResponseContent( /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs index a2b73a66ea..003c2935b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsDeleteTokenResponseContent( /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsDeleteTokenResponseContent( /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs index 7e72e3e9a0..b12e057d16 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessAppsGetBySlugResponseContent( /// /// Get an app
- /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + /// > [!NOTE]
+ /// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs index 94d663f741..ae17a634fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -25,7 +25,7 @@ partial void ProcessAppsGetSubscriptionPlanForAccountResponseContent( /// /// Get a subscription plan for an account
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs index f9851ee59c..885a393a07 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -25,7 +25,7 @@ partial void ProcessAppsGetSubscriptionPlanForAccountStubbedResponseContent( /// /// Get a subscription plan for an account (stubbed)
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs index 148f18a52a..c35b7aa098 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessAppsListAccountsForPlanResponseContent( /// /// List accounts for a plan
/// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs index aeb9fd774a..a00afc02d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessAppsListAccountsForPlanStubbedResponseContent( /// /// List accounts for a plan (stubbed)
/// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlans.g.verified.cs index 29a40677bb..1760ab0b24 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlans.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlans.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessAppsListPlansResponseContent( /// /// List plans
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs index 0823c8d59e..07a25c1319 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessAppsListPlansStubbedResponseContent( /// /// List plans (stubbed)
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs index f6d8fa3fe6..037df46520 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessAppsRemoveRepoFromInstallationForAuthenticatedUserResponseCo /// /// Remove a repository from an app installation
- /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsResetToken.g.verified.cs index 656858afd7..4cc8ae3046 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsResetToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsResetToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsResetTokenResponseContent( /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsResetTokenResponseContent( /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsScopeToken.g.verified.cs index e7ae5e956a..d1a89c6b1c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsScopeToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.AppsScopeToken.g.verified.cs @@ -29,10 +29,7 @@ partial void ProcessAppsScopeTokenResponseContent( /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -117,10 +114,7 @@ partial void ProcessAppsScopeTokenResponseContent( /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreate.g.verified.cs index e9a4655116..31ca6a84ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreate.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessChecksCreateResponseContent( /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// @@ -120,7 +121,8 @@ partial void ProcessChecksCreateResponseContent( /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs index 64dac0bddb..e6cc02e094 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksCreateSuiteResponseContent( /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -117,7 +118,8 @@ partial void ProcessChecksCreateSuiteResponseContent( /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGet.g.verified.cs index e8c34f8508..7ea22dbf03 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGet.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksGetResponseContent( /// /// Get a check run
/// Gets a single check run using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs index fd32e62b15..f51998b9dc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksGetSuiteResponseContent( /// /// Get a check suite
/// Gets a single check suite using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs index af45d76778..1d9aa4dc54 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs @@ -41,7 +41,8 @@ partial void ProcessChecksListForRefResponseContent( /// /// List check runs for a Git reference
/// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs index 6f42401583..fb3e81e562 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs @@ -39,7 +39,8 @@ partial void ProcessChecksListForSuiteResponseContent( /// /// List check runs in a check suite
/// Lists check runs for a check suite using its `id`.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs index 8deee730f6..4b38b4c40d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -37,7 +37,8 @@ partial void ProcessChecksListSuitesForRefResponseContent( /// /// List check suites for a Git reference
/// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs index d4f0133092..e53fc13c2d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessChecksUpdateResponseContent( /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -123,7 +124,8 @@ partial void ProcessChecksUpdateResponseContent( /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs similarity index 84% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs index 3ff033e55a..a3615fb281 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +//HintName: G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class ClassroomClient { - partial void PrepareClassroomListAcceptedAssigmentsForAnAssignmentArguments( + partial void PrepareClassroomListAcceptedAssignmentsForAnAssignmentArguments( global::System.Net.Http.HttpClient httpClient, ref int assignmentId, ref int? page, ref int? perPage); - partial void PrepareClassroomListAcceptedAssigmentsForAnAssignmentRequest( + partial void PrepareClassroomListAcceptedAssignmentsForAnAssignmentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int assignmentId, int? page, int? perPage); - partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponse( + partial void ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseContent( + partial void ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -39,7 +39,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + public async global::System.Threading.Tasks.Task> ClassroomListAcceptedAssignmentsForAnAssignmentAsync( int assignmentId, int? page = 1, int? perPage = 30, @@ -47,7 +47,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten { PrepareArguments( client: _httpClient); - PrepareClassroomListAcceptedAssigmentsForAnAssignmentArguments( + PrepareClassroomListAcceptedAssignmentsForAnAssignmentArguments( httpClient: _httpClient, assignmentId: ref assignmentId, page: ref page, @@ -68,7 +68,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten PrepareRequest( client: _httpClient, request: httpRequest); - PrepareClassroomListAcceptedAssigmentsForAnAssignmentRequest( + PrepareClassroomListAcceptedAssignmentsForAnAssignmentRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, assignmentId: assignmentId, @@ -83,7 +83,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten ProcessResponse( client: _httpClient, response: response); - ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponse( + ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -93,7 +93,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten client: _httpClient, response: response, content: ref __content); - ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseContent( + ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs index e2c21c7571..c25b799e0f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessCodeScanningGetCodeqlDatabaseResponseContent( /// Gets a CodeQL database for a language in a repository.
/// By default this endpoint returns JSON metadata about the CodeQL database. To
/// download the CodeQL database binary content, set the `Accept` header of the request
- /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure
/// your HTTP client is configured to follow redirects or use the `Location` header
/// to make a second request to get the redirect URL.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs index 1c866dbeb7..8ab9568fc1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -13,7 +13,8 @@ partial void PrepareCodeScanningListAlertInstancesArguments( ref int alertNumber, ref int? page, ref int? perPage, - ref string? @ref); + ref string? @ref, + ref int? pr); partial void PrepareCodeScanningListAlertInstancesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -22,7 +23,8 @@ partial void PrepareCodeScanningListAlertInstancesRequest( int alertNumber, int? page, int? perPage, - string? @ref); + string? @ref, + int? pr); partial void ProcessCodeScanningListAlertInstancesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -53,6 +55,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( @@ -62,6 +65,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -73,7 +77,8 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( alertNumber: ref alertNumber, page: ref page, perPage: ref perPage, - @ref: ref @ref); + @ref: ref @ref, + pr: ref pr); var __pathBuilder = new PathBuilder( path: $"/repos/{owner}/{repo}/code-scanning/alerts/{alertNumber}/instances", @@ -82,6 +87,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("ref", @ref) + .AddOptionalParameter("pr", pr?.ToString()) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -99,7 +105,8 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( alertNumber: alertNumber, page: page, perPage: perPage, - @ref: @ref); + @ref: @ref, + pr: pr); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs index 391af55325..3c6f8f213f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -15,7 +15,10 @@ partial void PrepareCodeScanningListAlertsForRepoArguments( ref int? page, ref int? perPage, ref string? @ref, + ref int? pr, ref global::G.CodeScanningListAlertsForRepoDirection? direction, + ref string? before, + ref string? after, ref global::G.CodeScanningListAlertsForRepoSort? sort, ref global::G.CodeScanningAlertStateQuery? state, ref global::G.CodeScanningAlertSeverity? severity); @@ -29,7 +32,10 @@ partial void PrepareCodeScanningListAlertsForRepoRequest( int? page, int? perPage, string? @ref, + int? pr, global::G.CodeScanningListAlertsForRepoDirection? direction, + string? before, + string? after, global::G.CodeScanningListAlertsForRepoSort? sort, global::G.CodeScanningAlertStateQuery? state, global::G.CodeScanningAlertSeverity? severity); @@ -68,9 +74,12 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// /// Default Value: desc /// + /// + /// /// /// Default Value: created /// @@ -90,7 +99,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + string? before = default, + string? after = default, global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, global::G.CodeScanningAlertStateQuery? state = default, global::G.CodeScanningAlertSeverity? severity = default, @@ -107,7 +119,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( page: ref page, perPage: ref perPage, @ref: ref @ref, + pr: ref pr, direction: ref direction, + before: ref before, + after: ref after, sort: ref sort, state: ref state, severity: ref severity); @@ -152,7 +167,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("ref", @ref) + .AddOptionalParameter("pr", pr?.ToString()) .AddOptionalParameter("direction", directionValue?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) .AddOptionalParameter("sort", sortValue?.ToString()) .AddOptionalParameter("state", stateValue?.ToString()) .AddOptionalParameter("severity", severityValue?.ToString()) @@ -175,7 +193,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( page: page, perPage: perPage, @ref: @ref, + pr: pr, direction: direction, + before: before, + after: after, sort: sort, state: state, severity: severity); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs index 1f3489dbbf..6872dd5b4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -14,6 +14,7 @@ partial void PrepareCodeScanningListRecentAnalysesArguments( ref string? toolGuid, ref int? page, ref int? perPage, + ref int? pr, ref string? @ref, ref string? sarifId, ref global::G.CodeScanningListRecentAnalysesDirection? direction, @@ -27,6 +28,7 @@ partial void PrepareCodeScanningListRecentAnalysesRequest( string? toolGuid, int? page, int? perPage, + int? pr, string? @ref, string? sarifId, global::G.CodeScanningListRecentAnalysesDirection? direction, @@ -51,8 +53,8 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( /// that were run in the analysis.
/// For very old analyses this data is not available,
/// and `0` is returned in this field.
- /// **Deprecation notice**:
- /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. ///
/// @@ -69,6 +71,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( /// /// Default Value: 30 /// + /// /// /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. @@ -92,6 +95,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( string? toolGuid = default, int? page = 1, int? perPage = 30, + int? pr = default, string? @ref = default, string? sarifId = default, global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, @@ -108,6 +112,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( toolGuid: ref toolGuid, page: ref page, perPage: ref perPage, + pr: ref pr, @ref: ref @ref, sarifId: ref sarifId, direction: ref direction, @@ -132,6 +137,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( .AddOptionalParameter("tool_guid", toolGuid) .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("pr", pr?.ToString()) .AddOptionalParameter("ref", @ref) .AddOptionalParameter("sarif_id", sarifId) .AddOptionalParameter("direction", directionValue?.ToString()) @@ -154,6 +160,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( toolGuid: toolGuid, page: page, perPage: perPage, + pr: pr, @ref: @ref, sarifId: sarifId, direction: direction, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs new file mode 100644 index 0000000000..7954f5c0c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityAttachConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request); + partial void PrepareCodeSecurityAttachConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request); + partial void ProcessCodeSecurityAttachConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityAttachConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityAttachConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}/attach", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityAttachConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityAttachConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityAttachConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return __content; + } + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequestScope scope, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityAttachConfigurationRequest + { + Scope = scope, + SelectedRepositoryIds = selectedRepositoryIds, + }; + + return await CodeSecurityAttachConfigurationAsync( + org: org, + configurationId: configurationId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs new file mode 100644 index 0000000000..c6acd9b62d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs @@ -0,0 +1,221 @@ +//HintName: G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityCreateConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.CodeSecurityCreateConfigurationRequest request); + partial void PrepareCodeSecurityCreateConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityCreateConfigurationRequest request); + partial void ProcessCodeSecurityCreateConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityCreateConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + global::G.CodeSecurityCreateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityCreateConfigurationArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityCreateConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityCreateConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityCreateConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + /// + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + /// + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + /// + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + /// + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + string name, + string description, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? advancedSecurity = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? dependencyGraph = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? dependabotAlerts = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning? secretScanning = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + global::G.CodeSecurityCreateConfigurationRequestEnforcement? enforcement = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityCreateConfigurationRequest + { + Name = name, + Description = description, + AdvancedSecurity = advancedSecurity, + DependencyGraph = dependencyGraph, + DependencyGraphAutosubmitAction = dependencyGraphAutosubmitAction, + DependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions, + DependabotAlerts = dependabotAlerts, + DependabotSecurityUpdates = dependabotSecurityUpdates, + CodeScanningDefaultSetup = codeScanningDefaultSetup, + SecretScanning = secretScanning, + SecretScanningPushProtection = secretScanningPushProtection, + SecretScanningValidityChecks = secretScanningValidityChecks, + SecretScanningNonProviderPatterns = secretScanningNonProviderPatterns, + PrivateVulnerabilityReporting = privateVulnerabilityReporting, + Enforcement = enforcement, + }; + + return await CodeSecurityCreateConfigurationAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs new file mode 100644 index 0000000000..7f7f1b1a82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityDeleteConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId); + partial void PrepareCodeSecurityDeleteConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId); + partial void ProcessCodeSecurityDeleteConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityDeleteConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete a code security configuration
+ /// Deletes the desired code security configuration from an organization.
+ /// Repositories attached to the configuration will retain their settings but will no longer be associated with
+ /// the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDeleteConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityDeleteConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityDeleteConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityDeleteConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityDeleteConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.BasicError.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs new file mode 100644 index 0000000000..fccfe69bd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs @@ -0,0 +1,141 @@ +//HintName: G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityDetachConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.CodeSecurityDetachConfigurationRequest request); + partial void PrepareCodeSecurityDetachConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityDetachConfigurationRequest request); + partial void ProcessCodeSecurityDetachConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityDetachConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::G.CodeSecurityDetachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityDetachConfigurationArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/detach", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityDetachConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityDetachConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityDetachConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.BasicError.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository IDs to detach from configurations. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityDetachConfigurationRequest + { + SelectedRepositoryIds = selectedRepositoryIds, + }; + + return await CodeSecurityDetachConfigurationAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs new file mode 100644 index 0000000000..9f47de3604 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId); + partial void PrepareCodeSecurityGetConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId); + partial void ProcessCodeSecurityGetConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a code security configuration
+ /// Gets a code security configuration available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityGetConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..32cdc7038a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationForRepositoryArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo); + partial void PrepareCodeSecurityGetConfigurationForRepositoryRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo); + partial void ProcessCodeSecurityGetConfigurationForRepositoryResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationForRepositoryResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get the code security configuration associated with a repository
+ /// Get the code security configuration that manages a repository's code security settings.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityGetConfigurationForRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationForRepositoryArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/code-security-configuration", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationForRepositoryRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationForRepositoryResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationForRepositoryResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfigurationForRepository.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs new file mode 100644 index 0000000000..18f27eb13a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs @@ -0,0 +1,137 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationsForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType, + ref int? perPage, + ref string? before, + ref string? after); + partial void PrepareCodeSecurityGetConfigurationsForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType, + int? perPage, + string? before, + string? after); + partial void ProcessCodeSecurityGetConfigurationsForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationsForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get code security configurations for an organization
+ /// Lists all code security configurations available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CodeSecurityGetConfigurationsForOrgAsync( + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType = global::G.CodeSecurityGetConfigurationsForOrgTargetType.All, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationsForOrgArguments( + httpClient: _httpClient, + org: ref org, + targetType: ref targetType, + perPage: ref perPage, + before: ref before, + after: ref after); + + var targetTypeValue = targetType switch + { + global::G.CodeSecurityGetConfigurationsForOrgTargetType.Global => "global", + global::G.CodeSecurityGetConfigurationsForOrgTargetType.All => "all", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("target_type", targetTypeValue?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationsForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + targetType: targetType, + perPage: perPage, + before: before, + after: after); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationsForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationsForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs similarity index 60% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs index 2de8487018..0b03cfcac6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs @@ -1,51 +1,48 @@ -//HintName: G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs +//HintName: G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class CodeSecurityClient { - partial void PrepareOrgsListOrganizationFineGrainedPermissionsArguments( + partial void PrepareCodeSecurityGetDefaultConfigurationsArguments( global::System.Net.Http.HttpClient httpClient, ref string org); - partial void PrepareOrgsListOrganizationFineGrainedPermissionsRequest( + partial void PrepareCodeSecurityGetDefaultConfigurationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org); - partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponse( + partial void ProcessCodeSecurityGetDefaultConfigurationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( + partial void ProcessCodeSecurityGetDefaultConfigurationsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// List organization fine-grained permissions for an organization
- /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Get default code security configurations
+ /// Lists the default code security configurations for an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( + public async global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareOrgsListOrganizationFineGrainedPermissionsArguments( + PrepareCodeSecurityGetDefaultConfigurationsArguments( httpClient: _httpClient, org: ref org); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-fine-grained-permissions", + path: $"/orgs/{org}/code-security/configurations/defaults", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -55,7 +52,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsListOrganizationFineGrainedPermissionsRequest( + PrepareCodeSecurityGetDefaultConfigurationsRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org); @@ -68,7 +65,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsListOrganizationFineGrainedPermissionsResponse( + ProcessCodeSecurityGetDefaultConfigurationsResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -78,7 +75,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( + ProcessCodeSecurityGetDefaultConfigurationsResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -93,7 +90,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( } return - global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs new file mode 100644 index 0000000000..15b7e312c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs @@ -0,0 +1,137 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetRepositoriesForConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + ref int? perPage, + ref string? before, + ref string? after, + ref string? status); + partial void PrepareCodeSecurityGetRepositoriesForConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + int? perPage, + string? before, + string? after, + string? status); + partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get repositories associated with a code security configuration
+ /// Lists the repositories associated with a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CodeSecurityGetRepositoriesForConfigurationAsync( + string org, + int configurationId, + int? perPage = 30, + string? before = default, + string? after = default, + string? status = "all", + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetRepositoriesForConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + perPage: ref perPage, + before: ref before, + after: ref after, + status: ref status); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}/repositories", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + .AddOptionalParameter("status", status) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetRepositoriesForConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + perPage: perPage, + before: before, + after: after, + status: status); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetRepositoriesForConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetRepositoriesForConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs similarity index 55% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs index dc4787352e..be440a83c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs @@ -1,61 +1,65 @@ -//HintName: G.OrgsClient.OrgsCreateCustomOrganizationRole.g.cs +//HintName: G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class CodeSecurityClient { - partial void PrepareOrgsCreateCustomOrganizationRoleArguments( + partial void PrepareCodeSecuritySetConfigurationAsDefaultArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request); - partial void PrepareOrgsCreateCustomOrganizationRoleRequest( + ref int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request); + partial void PrepareCodeSecuritySetConfigurationAsDefaultRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request); - partial void ProcessOrgsCreateCustomOrganizationRoleResponse( + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request); + partial void ProcessCodeSecuritySetConfigurationAsDefaultResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( + partial void ProcessCodeSecuritySetConfigurationAsDefaultResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// + /// /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); PrepareArguments( client: _httpClient); - PrepareOrgsCreateCustomOrganizationRoleArguments( + PrepareCodeSecuritySetConfigurationAsDefaultArguments( httpClient: _httpClient, org: ref org, + configurationId: ref configurationId, request: request); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles", + path: $"/orgs/{org}/code-security/configurations/{configurationId}/defaults", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( @@ -67,10 +71,11 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsCreateCustomOrganizationRoleRequest( + PrepareCodeSecuritySetConfigurationAsDefaultRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, + configurationId: configurationId, request: request); using var response = await _httpClient.SendAsync( @@ -81,7 +86,7 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsCreateCustomOrganizationRoleResponse( + ProcessCodeSecuritySetConfigurationAsDefaultResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -91,7 +96,7 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsCreateCustomOrganizationRoleResponseContent( + ProcessCodeSecuritySetConfigurationAsDefaultResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -106,46 +111,38 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( } return - global::G.OrganizationRole.FromJson(__content, JsonSerializerOptions) ?? + global::G.CodeSecuritySetConfigurationAsDefaultResponse.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. + /// + /// + /// Specify which types of repository this security configuration should be applied to by default. /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( string org, - string name, - global::System.Collections.Generic.IList permissions, - string? description = default, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? defaultForNewRepos = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OrgsCreateCustomOrganizationRoleRequest + var request = new global::G.CodeSecuritySetConfigurationAsDefaultRequest { - Name = name, - Description = description, - Permissions = permissions, + DefaultForNewRepos = defaultForNewRepos, }; - return await OrgsCreateCustomOrganizationRoleAsync( + return await CodeSecuritySetConfigurationAsDefaultAsync( org: org, + configurationId: configurationId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs new file mode 100644 index 0000000000..fbbdd97910 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs @@ -0,0 +1,218 @@ +//HintName: G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityUpdateConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request); + partial void PrepareCodeSecurityUpdateConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request); + partial void ProcessCodeSecurityUpdateConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityUpdateConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityUpdateConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityUpdateConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityUpdateConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityUpdateConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security + /// + /// + /// The enablement status of Dependency Graph + /// + /// + /// The enablement status of Automatic dependency submission + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts + /// + /// + /// The enablement status of Dependabot security updates + /// + /// + /// The enablement status of code scanning default setup + /// + /// + /// The enablement status of secret scanning + /// + /// + /// The enablement status of secret scanning push protection + /// + /// + /// The enablement status of secret scanning validity checks + /// + /// + /// The enablement status of secret scanning non-provider patterns + /// + /// + /// The enablement status of private vulnerability reporting + /// + /// + /// The enforcement status for a security configuration + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + string? name = default, + string? description = default, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? advancedSecurity = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? dependencyGraph = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? dependabotAlerts = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = default, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? secretScanning = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = default, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = default, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement? enforcement = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityUpdateConfigurationRequest + { + Name = name, + Description = description, + AdvancedSecurity = advancedSecurity, + DependencyGraph = dependencyGraph, + DependencyGraphAutosubmitAction = dependencyGraphAutosubmitAction, + DependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions, + DependabotAlerts = dependabotAlerts, + DependabotSecurityUpdates = dependabotSecurityUpdates, + CodeScanningDefaultSetup = codeScanningDefaultSetup, + SecretScanning = secretScanning, + SecretScanningPushProtection = secretScanningPushProtection, + SecretScanningValidityChecks = secretScanningValidityChecks, + SecretScanningNonProviderPatterns = secretScanningNonProviderPatterns, + PrivateVulnerabilityReporting = privateVulnerabilityReporting, + Enforcement = enforcement, + }; + + return await CodeSecurityUpdateConfigurationAsync( + org: org, + configurationId: configurationId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.g.verified.cs new file mode 100644 index 0000000000..6eac002909 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeSecurityClient.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.CodeSecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Code security using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class CodeSecurityClient : global::G.ICodeSecurityClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } = new global::Newtonsoft.Json.JsonSerializerSettings(); + + + /// + /// Creates a new instance of the CodeSecurityClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public CodeSecurityClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs index 640263f374..7e6e10a8f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -28,7 +28,6 @@ partial void ProcessCodespacesGetRepoPublicKeyResponseContent( /// Get a repository public key
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
- /// Anyone with read access to the repository can use this endpoint.
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs index d798feebcb..cc9c61ce0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -26,14 +26,16 @@ partial void ProcessCopilotAddCopilotSeatsForTeamsResponseContent( /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -115,14 +117,16 @@ partial void ProcessCopilotAddCopilotSeatsForTeamsResponseContent( /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs index ad93efceb8..a29e3528f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -26,14 +26,16 @@ partial void ProcessCopilotAddCopilotSeatsForUsersResponseContent( /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -115,14 +117,16 @@ partial void ProcessCopilotAddCopilotSeatsForUsersResponseContent( /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs index 60d85f6e5c..5eb6a1a9e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -26,13 +26,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForTeamsResponseContent( /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -114,13 +115,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForTeamsResponseContent( /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs index 0abc6b3ab1..128ec64f2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -26,13 +26,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForUsersResponseContent( /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -114,13 +115,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForUsersResponseContent( /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs index 4e4e1cc86e..9040ed1768 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -24,12 +24,13 @@ partial void ProcessCopilotGetCopilotOrganizationDetailsResponseContent( /// /// Get Copilot seat information and settings for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets information about an organization's Copilot subscription, including seat breakdown
- /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// and feature policies. To configure these settings, go to your organization's settings on GitHub.com.
/// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
- /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs index 58564be779..e5307a9554 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -26,10 +26,11 @@ partial void ProcessCopilotGetCopilotSeatDetailsForUserResponseContent( /// /// Get Copilot seat assignment details for a user
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
- /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view Copilot seat assignment details for members of their organization.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs index 945dd64687..a1e998f508 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -28,10 +28,11 @@ partial void ProcessCopilotListCopilotSeatsResponseContent( /// /// List all Copilot seat assignments for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
- /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
- /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.
+ /// Only organization owners can view assigned seats.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..49ee78e199 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs @@ -0,0 +1,121 @@ +//HintName: G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotListCopilotSeatsForEnterpriseArguments( + global::System.Net.Http.HttpClient httpClient, + ref string enterprise, + ref int? page, + ref int? perPage); + partial void PrepareCopilotListCopilotSeatsForEnterpriseRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string enterprise, + int? page, + int? perPage); + partial void ProcessCopilotListCopilotSeatsForEnterpriseResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotListCopilotSeatsForEnterpriseResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List all Copilot seat assignments for an enterprise
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.
+ /// Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.
+ /// For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.
+ /// Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.
+ /// Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CopilotListCopilotSeatsForEnterpriseAsync( + string enterprise, + int? page = 1, + int? perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotListCopilotSeatsForEnterpriseArguments( + httpClient: _httpClient, + enterprise: ref enterprise, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/enterprises/{enterprise}/copilot/billing/seats", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotListCopilotSeatsForEnterpriseRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + enterprise: enterprise, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotListCopilotSeatsForEnterpriseResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotListCopilotSeatsForEnterpriseResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CopilotListCopilotSeatsForEnterpriseResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs index b2f4648449..c0ad7e3aec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -32,16 +32,16 @@ partial void ProcessCopilotUsageMetricsForEnterpriseResponseContent( /// /// Get a summary of Copilot usage for enterprise members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
/// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
- /// metrics for the enterprise.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Only owners and billing managers can view Copilot usage metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..2bebd2399d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotUsageMetricsForEnterpriseTeamArguments( + global::System.Net.Http.HttpClient httpClient, + ref string enterprise, + ref string teamSlug, + ref string? since, + ref string? until, + ref int? page, + ref int? perPage); + partial void PrepareCopilotUsageMetricsForEnterpriseTeamRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string enterprise, + string teamSlug, + string? since, + string? until, + int? page, + int? perPage); + partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a summary of Copilot usage for an enterprise team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseTeamAsync( + string enterprise, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotUsageMetricsForEnterpriseTeamArguments( + httpClient: _httpClient, + enterprise: ref enterprise, + teamSlug: ref teamSlug, + since: ref since, + until: ref until, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/enterprises/{enterprise}/team/{teamSlug}/copilot/usage", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("since", since) + .AddOptionalParameter("until", until) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotUsageMetricsForEnterpriseTeamRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + enterprise: enterprise, + teamSlug: teamSlug, + since: since, + until: until, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotUsageMetricsForEnterpriseTeamResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotUsageMetricsForEnterpriseTeamResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs index 0681e10dd3..0c909fc61e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -32,16 +32,16 @@ partial void ProcessCopilotUsageMetricsForOrgResponseContent( /// /// Get a summary of Copilot usage for organization members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
/// See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
- /// Copilot usage metrics.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs new file mode 100644 index 0000000000..3d4b1a341d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.CopilotClient.CopilotUsageMetricsForTeam.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotUsageMetricsForTeamArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref string teamSlug, + ref string? since, + ref string? until, + ref int? page, + ref int? perPage); + partial void PrepareCopilotUsageMetricsForTeamRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + string teamSlug, + string? since, + string? until, + int? page, + int? perPage); + partial void ProcessCopilotUsageMetricsForTeamResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotUsageMetricsForTeamResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a summary of Copilot usage for a team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForTeamAsync( + string org, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotUsageMetricsForTeamArguments( + httpClient: _httpClient, + org: ref org, + teamSlug: ref teamSlug, + since: ref since, + until: ref until, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/team/{teamSlug}/copilot/usage", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("since", since) + .AddOptionalParameter("until", until) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotUsageMetricsForTeamRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + teamSlug: teamSlug, + since: since, + until: until, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotUsageMetricsForTeamResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotUsageMetricsForTeamResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsCreate.g.verified.cs index a66d1e0801..85b64c694c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsCreate.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessGistsCreateResponseContent( /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// The token to cancel the operation with @@ -104,7 +105,8 @@ partial void ProcessGistsCreateResponseContent( /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// Description of the gist
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs index 18078e4ea9..38779c5232 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs @@ -9,12 +9,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); @@ -33,7 +33,7 @@ partial void ProcessGistsDeleteCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsDeleteCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsGetComment.g.verified.cs index 07f2fdfdd0..e71099bb70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsGetComment.g.verified.cs @@ -9,12 +9,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); @@ -37,7 +37,7 @@ partial void ProcessGistsGetCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsGetCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs index 8cb1fa993f..7b12a40f7f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs @@ -9,13 +9,13 @@ public partial class GistsClient partial void PrepareGistsUpdateCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string gistId, - ref int commentId, + ref long commentId, global::G.GistsUpdateCommentRequest request); partial void PrepareGistsUpdateCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request); partial void ProcessGistsUpdateCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -40,7 +40,7 @@ partial void ProcessGistsUpdateCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -132,7 +132,7 @@ partial void ProcessGistsUpdateCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitCreateCommit.g.verified.cs index 261a36b93c..66c6e68817 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitCreateCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitCreateCommit.g.verified.cs @@ -173,7 +173,7 @@ partial void ProcessGitCreateCommitResponseContent( /// The SHA of the tree object this commit points to /// /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// /// /// Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetRef.g.verified.cs index db31f79a7b..d9bb5cb4fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetRef.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessGitGetRefResponseContent( /// /// Get a reference
/// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetTree.g.verified.cs index 14f3701e8b..a4296dad05 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitGetTree.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessGitGetTreeResponseContent( /// Get a tree
/// Returns a single tree using the SHA1 value or ref name for that tree.
/// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
- /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + /// > [!NOTE]
+ /// > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs index f38783c95c..702f9bb34c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessGitListMatchingRefsResponseContent( /// List matching references
/// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
/// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
/// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..2b75bb63eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add repository access to a self-hosted runner group in an organization
+ /// Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..9fa902191a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add a self-hosted runner to a group for an organization
+ /// Adds a self-hosted runner to a runner group configured in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelfHostedRunnerToGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..9bb61db6cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + string name, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Collections.Generic.IList? runners = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs new file mode 100644 index 0000000000..54700f388c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner group from an organization
+ /// Deletes a self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerGroupFromOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..d352e4378b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner group for an organization
+ /// Gets a specific self-hosted runner group for an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..21b8a2d819 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository access to a self-hosted runner group in an organization
+ /// Lists the repositories with access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int? page = 1, + int? perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs new file mode 100644 index 0000000000..ec07542490 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runner groups for an organization
+ /// Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnerGroupsForOrgAsync( + string org, + int? perPage = 30, + int? page = 1, + string? visibleToRepository = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..3391fdd047 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners in a group for an organization
+ /// Lists self-hosted runners that are in a specific organization group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + int? perPage = 30, + int? page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..bc1706d0bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove repository access to a self-hosted runner group in an organization
+ /// Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..df02acac33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a self-hosted runner from a group for an organization
+ /// Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelfHostedRunnerFromGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs index ed909fc187..dddfe0493a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IActionsClient /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// @@ -28,8 +28,8 @@ public partial interface IActionsClient /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs index 334b00343e..ee8df954d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -33,7 +33,8 @@ public partial interface IActionsClient /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs index 7de412d780..b4b79888da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -36,7 +36,8 @@ public partial interface IActionsClient /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..3c3353f1ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..8f6b8dd49e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList runners, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..09be8d1c1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + string name, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs index 7f0a29758b..f112747967 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs @@ -16,7 +16,8 @@ public partial interface IActivityClient /// * **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. + /// > [!NOTE]
+ /// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs index 6cfa25a998..61155f3896 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IActivityClient { /// /// List events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs index aa06ac1c9c..92d37a0d09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IActivityClient { /// /// List organization events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs index 5a7dd3c82e..b9ad3c06d3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IActivityClient { /// /// List public events
- /// 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. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs index db10df6be3..b27db8bddc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events for a network of repositories + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs index 7fa6ff589d..7417efad89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events for a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs index fd0c9691e3..0db3ead4e2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public organization events + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs index fd0c983eaa..a68533ee9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -7,7 +7,10 @@ public partial interface IActivityClient { /// /// List events received by the authenticated user
- /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + /// These are events that you've received by watching repositories and following users. If you are authenticated as the
+ /// given user, you will see 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs index 22c17380cc..6df409c819 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events received by a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs index c16ce0bfd1..2725163c99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IActivityClient { /// /// List repository 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. + /// > [!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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs index d3cd42066e..3d8b6e11ce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -207,5 +207,10 @@ public partial interface IApi : global::System.IDisposable /// public EnterpriseTeamsClient EnterpriseTeams { get; } + /// + /// Endpoints to manage Code security using the REST API. + /// + public CodeSecurityClient CodeSecurity { get; } + } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs index b9e9641f0e..ac08f7020d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Add a repository to an app installation
- /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + /// Add a single repository to an installation. The authenticated user must have admin access to the repository.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs index d4d671df0e..92e9b604f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs index ce116757b7..0021b10f56 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// @@ -21,7 +21,7 @@ public partial interface IAppsClient /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs index 05c7048ded..ebccf8913b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs index 57d56ac9af..dba41fab28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Get an app
- /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + /// > [!NOTE]
+ /// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs index 989742138a..f14a873a8c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// Get a subscription plan for an account
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs index 84822cb219..a668b90365 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// Get a subscription plan for an account (stubbed)
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs index deeff9c749..2cdabf071c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List accounts for a plan
/// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs index 1c7959c99a..f5e2e56861 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List accounts for a plan (stubbed)
/// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs index 0429399e15..7d09ea0f9d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List plans
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs index 7ef9ee7344..3d26461013 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List plans (stubbed)
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs index db45142b53..2d7908a6f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Remove a repository from an app installation
- /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs index 50e90da1e5..733ffa04cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs index 8357859f6e..4068af6220 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs @@ -10,10 +10,7 @@ public partial interface IAppsClient /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. /// /// /// @@ -29,10 +26,7 @@ public partial interface IAppsClient /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs index 7a6c5a5c49..e63396230f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IChecksClient /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. /// /// /// @@ -28,7 +29,8 @@ public partial interface IChecksClient /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs index 06db3816df..a809f93853 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -25,7 +26,8 @@ public partial interface IChecksClient /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs index 0e6b3cbd3e..1af55033e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Get a check run
/// Gets a single check run using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs index 413c0ba6fc..967dd36bb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Get a check suite
/// Gets a single check suite using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs index 27bf201177..c8ec7e14de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check runs for a Git reference
/// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs index f8432c6eea..6c0ffbf13a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check runs in a check suite
/// Lists check runs for a check suite using its `id`.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs index d675074ff3..69a41abd66 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check suites for a Git reference
/// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs index 4736487fa4..1a24d8d7f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -27,7 +28,8 @@ public partial interface IChecksClient /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs similarity index 89% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs index ed4c2fd2ea..91ef912ebe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +//HintName: G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.cs #nullable enable namespace G @@ -18,7 +18,7 @@ public partial interface IClassroomClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + global::System.Threading.Tasks.Task> ClassroomListAcceptedAssignmentsForAnAssignmentAsync( int assignmentId, int? page = 1, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs index 5d5acb2ac3..cc97dcb947 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -10,7 +10,7 @@ public partial interface ICodeScanningClient /// Gets a CodeQL database for a language in a repository.
/// By default this endpoint returns JSON metadata about the CodeQL database. To
/// download the CodeQL database binary content, set the `Accept` header of the request
- /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure
/// your HTTP client is configured to follow redirects or use the `Location` header
/// to make a second request to get the redirect URL.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs index 515b2bbd78..b22e292cf6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -26,6 +26,7 @@ public partial interface ICodeScanningClient /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( @@ -35,6 +36,7 @@ public partial interface ICodeScanningClient int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs index 942902651c..181090bc9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -31,9 +31,12 @@ public partial interface ICodeScanningClient /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// /// Default Value: desc /// + /// + /// /// /// Default Value: created /// @@ -53,7 +56,10 @@ public partial interface ICodeScanningClient int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + string? before = default, + string? after = default, global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, global::G.CodeScanningAlertStateQuery? state = default, global::G.CodeScanningAlertSeverity? severity = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs index 5c6ed20804..e8032f3864 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -16,8 +16,8 @@ public partial interface ICodeScanningClient /// that were run in the analysis.
/// For very old analyses this data is not available,
/// and `0` is returned in this field.
- /// **Deprecation notice**:
- /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. /// /// @@ -34,6 +34,7 @@ public partial interface ICodeScanningClient /// /// Default Value: 30 /// + /// /// /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. @@ -57,6 +58,7 @@ public partial interface ICodeScanningClient string? toolGuid = default, int? page = 1, int? perPage = 30, + int? pr = default, string? @ref = default, string? sarifId = default, global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs new file mode 100644 index 0000000000..ffe9a3b8ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequestScope scope, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs new file mode 100644 index 0000000000..01f04d500c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + global::G.CodeSecurityCreateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + /// + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + /// + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + /// + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + /// + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + string name, + string description, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? advancedSecurity = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? dependencyGraph = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? dependabotAlerts = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning? secretScanning = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + global::G.CodeSecurityCreateConfigurationRequestEnforcement? enforcement = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs new file mode 100644 index 0000000000..ff7faf5773 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Delete a code security configuration
+ /// Deletes the desired code security configuration from an organization.
+ /// Repositories attached to the configuration will retain their settings but will no longer be associated with
+ /// the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDeleteConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs new file mode 100644 index 0000000000..c3be379bd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::G.CodeSecurityDetachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository IDs to detach from configurations. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs new file mode 100644 index 0000000000..cb672683b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get a code security configuration
+ /// Gets a code security configuration available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityGetConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..afcbf338d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get the code security configuration associated with a repository
+ /// Get the code security configuration that manages a repository's code security settings.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityGetConfigurationForRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs new file mode 100644 index 0000000000..2de32c0915 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get code security configurations for an organization
+ /// Lists all code security configurations available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetConfigurationsForOrgAsync( + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType = global::G.CodeSecurityGetConfigurationsForOrgTargetType.All, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs new file mode 100644 index 0000000000..866543f510 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get default code security configurations
+ /// Lists the default code security configurations for an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs new file mode 100644 index 0000000000..15406321a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get repositories associated with a code security configuration
+ /// Lists the repositories associated with a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetRepositoriesForConfigurationAsync( + string org, + int configurationId, + int? perPage = 30, + string? before = default, + string? after = default, + string? status = "all", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs new file mode 100644 index 0000000000..6249f443f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( + string org, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( + string org, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? defaultForNewRepos = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs new file mode 100644 index 0000000000..9b08675410 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security + /// + /// + /// The enablement status of Dependency Graph + /// + /// + /// The enablement status of Automatic dependency submission + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts + /// + /// + /// The enablement status of Dependabot security updates + /// + /// + /// The enablement status of code scanning default setup + /// + /// + /// The enablement status of secret scanning + /// + /// + /// The enablement status of secret scanning push protection + /// + /// + /// The enablement status of secret scanning validity checks + /// + /// + /// The enablement status of secret scanning non-provider patterns + /// + /// + /// The enablement status of private vulnerability reporting + /// + /// + /// The enforcement status for a security configuration + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + string? name = default, + string? description = default, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? advancedSecurity = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? dependencyGraph = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? dependabotAlerts = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = default, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? secretScanning = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = default, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = default, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement? enforcement = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.g.verified.cs new file mode 100644 index 0000000000..11706f1d75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeSecurityClient.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodeSecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Code security using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodeSecurityClient : global::System.IDisposable + { + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs index ce8d255286..535560af93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -9,7 +9,6 @@ public partial interface ICodespacesClient /// Get a repository public key
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
- /// Anyone with read access to the repository can use this endpoint.
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs index f192581ef3..fee9bbc7c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -7,14 +7,16 @@ public partial interface ICopilotClient { /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -27,14 +29,16 @@ public partial interface ICopilotClient /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs index c5f89c67f1..4e7f56f624 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -7,14 +7,16 @@ public partial interface ICopilotClient { /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -27,14 +29,16 @@ public partial interface ICopilotClient /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs index 0186d5213c..00a03237c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -7,13 +7,14 @@ public partial interface ICopilotClient { /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -26,13 +27,14 @@ public partial interface ICopilotClient /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs index c81a0627d3..7aa718b21a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -7,13 +7,14 @@ public partial interface ICopilotClient { /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -26,13 +27,14 @@ public partial interface ICopilotClient /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs index 75198024f5..28dc0b96fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -7,12 +7,13 @@ public partial interface ICopilotClient { /// /// Get Copilot seat information and settings for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets information about an organization's Copilot subscription, including seat breakdown
- /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// and feature policies. To configure these settings, go to your organization's settings on GitHub.com.
/// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
- /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs index c7bc5cc889..4fae4746dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -7,10 +7,11 @@ public partial interface ICopilotClient { /// /// Get Copilot seat assignment details for a user
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
- /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view Copilot seat assignment details for members of their organization.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs index 8f7815b301..a2a32379c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -7,10 +7,11 @@ public partial interface ICopilotClient { /// /// List all Copilot seat assignments for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
- /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
- /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.
+ /// Only organization owners can view assigned seats.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..0f05ce1b69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// List all Copilot seat assignments for an enterprise
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.
+ /// Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.
+ /// For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.
+ /// Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.
+ /// Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotListCopilotSeatsForEnterpriseAsync( + string enterprise, + int? page = 1, + int? perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs index d48e4b8b29..a7ae8e70b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -7,16 +7,16 @@ public partial interface ICopilotClient { /// /// Get a summary of Copilot usage for enterprise members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
/// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
- /// metrics for the enterprise.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Only owners and billing managers can view Copilot usage metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..c09706c178 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for an enterprise team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseTeamAsync( + string enterprise, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs index f48da13f86..76993a248e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -7,16 +7,16 @@ public partial interface ICopilotClient { /// /// Get a summary of Copilot usage for organization members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
/// See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
- /// Copilot usage metrics.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs new file mode 100644 index 0000000000..156a45d4b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for a team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForTeamAsync( + string org, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs index e2c38d59a8..844273f70c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IGistsClient /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// The token to cancel the operation with @@ -20,7 +21,8 @@ public partial interface IGistsClient /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// Description of the gist
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs index 01ceba6268..395c8d219c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs @@ -14,7 +14,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsDeleteCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs index 2f441b2870..8044b3c20b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsGetCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs index 23f9d85970..5dd016f181 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs @@ -19,7 +19,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -40,7 +40,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs index a27839e750..5a53fe84aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs @@ -81,7 +81,7 @@ public partial interface IGitClient /// The SHA of the tree object this commit points to /// /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// /// /// Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs index 6dc9d542f4..7af2e42431 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IGitClient /// /// Get a reference
/// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs index e8b18d43b9..2957a18350 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IGitClient /// Get a tree
/// Returns a single tree using the SHA1 value or ref name for that tree.
/// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
- /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + /// > [!NOTE]
+ /// > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs index 172432a823..500ffa0fca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IGitClient /// List matching references
/// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
/// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
/// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs index 00c46db217..8d8fdc8d8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IIssuesClient /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -30,7 +30,7 @@ public partial interface IIssuesClient /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs index d8ca90e0ff..fe22fcec3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs @@ -10,7 +10,7 @@ public partial interface IIssuesClient /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -36,7 +36,7 @@ public partial interface IIssuesClient /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs index 900127261d..ee670bf0f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesDeleteCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs index 9da584afee..10d4cc1028 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs @@ -13,10 +13,8 @@ public partial interface IIssuesClient /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
/// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
/// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs index 3d84210e80..e9178af6be 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesGetCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs index 559f327575..7b94972ca8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs @@ -10,10 +10,8 @@ public partial interface IIssuesClient /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
/// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
/// necessarily assigned to you.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs index f0a3b0a35d..e7e84f9dc6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List user account issues assigned to the authenticated user
/// List issues across owned and member repositories assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs index 4b120a4e7d..b6a3a37be0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List organization issues assigned to the authenticated user
/// List issues in an organization assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs index ceaf54f785..6dfd6c2b2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List repository issues
/// List issues in a repository. Only open issues will be listed.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs index c389cad572..59af9a2f04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IIssuesClient { /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -29,7 +29,7 @@ public partial interface IIssuesClient /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs index d6779891e9..d325db581e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.IssuesUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs index d8f9536f78..1b65a6d2c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMetaClient /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
/// The API's response also includes a list of GitHub's domain names.
/// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
- /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + /// > [!NOTE]
+ /// > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs index c95db2100e..e678142bb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 103def59d3..05663c8911 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs index 5eb3cebe21..7e26f741c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 879bffef5a..647214b9a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 08c055fcfb..97d0954061 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 6816e0daad..eb0d7704e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -31,7 +32,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs index 06d4649a91..eaa9de25bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs index 96fcf17ef2..881bcdfd20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -33,7 +34,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs index 4a291714d3..d37546fd42 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Assign an organization role to a team
- /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs index 25f9c75cec..82ff97c36d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Assign an organization role to a user
- /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs deleted file mode 100644 index 2417fd9e95..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,52 +0,0 @@ -//HintName: G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( - string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( - string org, - string name, - global::System.Collections.Generic.IList permissions, - string? description = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs index cf2b41fd0e..d876b13435 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IOrgsClient /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// @@ -23,7 +23,7 @@ public partial interface IOrgsClient /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs index 6761ca281e..a4e72003c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -34,9 +34,9 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, - global::System.Collections.Generic.IList properties, + global::System.Collections.Generic.IList properties, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs index 7876482e15..2294a1de3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequest request, @@ -51,7 +51,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs deleted file mode 100644 index da48da95a3..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,25 +0,0 @@ -//HintName: G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Delete a custom organization role.
- /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( - string org, - int roleId, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs index 9da08a4632..828e993595 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -7,9 +7,11 @@ public partial interface IOrgsClient { /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -17,6 +19,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, @@ -26,9 +29,11 @@ public partial interface IOrgsClient /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -39,6 +44,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs index 6782bce131..c86f32a21a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs @@ -10,14 +10,6 @@ public partial interface IOrgsClient /// Gets information about an organization.
/// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
/// To see the full details about an organization, the authenticated user must be an organization owner.
- /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
/// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs index 037f306c6b..c28cb77a8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -13,7 +13,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( string org, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs index a19338abe7..c742f98f63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -14,7 +14,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( string org, string customPropertyName, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs index 092643e63e..722fa7f452 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Get an organization role
- /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs index 6cf40fdf9f..1072e52f25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IOrgsClient /// /// List organizations
/// Lists all organizations, in the order that they were created.
- /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + /// > [!NOTE]
+ /// > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs new file mode 100644 index 0000000000..8128c176ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListAttestationsAsync( + string org, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs index 75f5ec33a4..c09b37801c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// List teams that are assigned to an organization role
- /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -21,7 +21,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( string org, int roleId, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs index 24ffc6133a..cf096c291b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// List users that are assigned to an organization role
- /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -21,7 +21,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( string org, int roleId, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs index 1c6e50745a..21b33a698f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Get all organization roles for an organization
- /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs deleted file mode 100644 index 5e9922a0bd..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs +++ /dev/null @@ -1,24 +0,0 @@ -//HintName: G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// List organization fine-grained permissions for an organization
- /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( - string org, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs index a900a3bf16..05cd533341 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -7,7 +7,10 @@ public partial interface IOrgsClient { /// /// List pending organization invitations
- /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + /// The return hash contains a `role` field which refers to the Organization
+ /// Invitation role and will be one of the following values: `direct_member`, `admin`,
+ /// `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub
+ /// member, the `login` field in the return hash will be `null`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs deleted file mode 100644 index dc7c71abb3..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,56 +0,0 @@ -//HintName: G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( - string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( - string org, - int roleId, - string? name = default, - string? description = default, - global::System.Collections.Generic.IList? permissions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs index 6ed54c0ca1..aca686d973 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove all organization roles for a team
- /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs index af2045d784..e38d6e2122 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove all organization roles for a user
- /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs index 69d8d5a7b4..c1e8786986 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove an organization role from a team
- /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs index 0b5fd936d9..e8a5141922 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove an organization role from a user
- /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs index 09788934bd..323f34974d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -12,7 +12,7 @@ public partial interface IOrgsClient ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// @@ -32,7 +32,7 @@ public partial interface IOrgsClient ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs index 8c780990da..b7efcc5847 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs @@ -7,16 +7,11 @@ public partial interface IOrgsClient { /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -31,16 +26,11 @@ public partial interface IOrgsClient /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -116,36 +106,6 @@ public partial interface IOrgsClient /// /// Example: "http://github.blog" /// - /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether dependency graph is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// /// /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. /// @@ -177,12 +137,6 @@ public partial interface IOrgsClient bool? membersCanForkPrivateRepositories = false, bool? webCommitSignoffRequired = false, string? blog = default, - bool? advancedSecurityEnabledForNewRepositories = default, - bool? dependabotAlertsEnabledForNewRepositories = default, - bool? dependabotSecurityUpdatesEnabledForNewRepositories = default, - bool? dependencyGraphEnabledForNewRepositories = default, - bool? secretScanningEnabledForNewRepositories = default, - bool? secretScanningPushProtectionEnabledForNewRepositories = default, bool? secretScanningPushProtectionCustomLinkEnabled = default, string? secretScanningPushProtectionCustomLink = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs index 0dffc1948b..f8871ac575 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs @@ -9,7 +9,7 @@ public partial interface IPullsClient /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -31,7 +31,7 @@ public partial interface IPullsClient /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs index c094236fa1..6446901131 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -27,14 +27,14 @@ public partial interface IPullsClient string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -55,7 +55,7 @@ public partial interface IPullsClient string owner, string repo, int pullNumber, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs index ada3c8b2ac..dab92edfba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs @@ -8,9 +8,10 @@ public partial interface IPullsClient /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -34,9 +35,10 @@ public partial interface IPullsClient /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs index 4d6004099d..ec51266d92 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs @@ -10,7 +10,7 @@ public partial interface IPullsClient /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -36,7 +36,7 @@ public partial interface IPullsClient /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs index 0a1c72d519..18819fe3cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs index c506829726..c4e788bc60 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs @@ -8,9 +8,8 @@ public partial interface IPullsClient /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -35,9 +34,8 @@ public partial interface IPullsClient /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs index 3363e91a43..97f908f89b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs @@ -15,7 +15,7 @@ public partial interface IPullsClient /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
/// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
/// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
- /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs index 17582d9862..943d450854 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs index 1cc162a814..91057dc36c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IPullsClient /// /// List pull requests files
/// Lists the files in a specified pull request.
- /// **Note:** Responses include a maximum of 3000 files. The paginated response
- /// returns 30 files per page by default.
+ /// > [!NOTE]
+ /// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs index 1742165974..0c4dfbf88c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -26,7 +26,7 @@ public partial interface IPullsClient /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs index a3f1ab5357..18063a1a83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -26,7 +26,7 @@ public partial interface IPullsClient /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs index 959fc422bd..847f4e057e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IPullsClient { /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// @@ -24,7 +25,8 @@ public partial interface IPullsClient /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs index ed0a7e7e84..16a9ebb552 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.PullsUpdateReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs index 1263c0e00b..b50348fcb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IRateLimitClient { /// /// Get rate limit status for the authenticated user
- /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// > [!NOTE]
+ /// > Accessing this endpoint does not count against your REST API rate limit.
/// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
/// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
/// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
@@ -17,8 +18,9 @@ public partial interface IRateLimitClient /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
- /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
- /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
+ /// > [!NOTE]
+ /// > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs index 76b1e64c18..83e9d4a3c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs index 2244d7ab13..aba2ca1c0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs index 6c5fae853d..e0dc3ad83c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs index 978db47f43..61a4788e02 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -31,7 +32,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs index 8836ed7ff0..f49f02706f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -28,7 +29,8 @@ public partial interface IReactionsClient /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs index 5fbde8f372..7e31015bc5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -29,7 +30,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs index d12eab2451..a00d81b47d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -26,7 +27,8 @@ public partial interface IReactionsClient /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs index 4d6b4d0a06..89193ab84e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a commit comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs index 40b47ab59b..bff5f46950 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete an issue reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
/// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs index e8d43337c5..c09aad85ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete an issue comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs index 8d0c9e235f..9762bc0b4c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a pull request comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
/// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs index 43c87f2069..19f4809758 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a release reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
/// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs index 6d44cd477d..99ee933c25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete team discussion reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs index 365ca9b987..db50343d73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete team discussion comment reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs index 31dc5ef9fd..174004aee9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs index 581f58e7e3..6387da99d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs index 5f22fe2019..96d9340c0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs index d73dbbc2c8..3c238e1b81 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReactionsClient /// /// List reactions for a team discussion comment
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs index 90b45742d7..2b6b16dbc0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// List reactions for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs index 6ac65e497f..864fd63659 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReactionsClient /// /// List reactions for a team discussion
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs index 66a5330c95..d9f74afe35 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// List reactions for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs index a859f98d50..e2a3b3ff6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs index ba53c56628..ff9cd61184 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IReposClient { /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
@@ -35,7 +35,7 @@ public partial interface IReposClient /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs index 5520bd6c4d..be27eac31c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs index 764b23bc71..4d525f58ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IReposClient /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
/// **Working with large comparisons**
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
- /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
/// **Signature verification object**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs new file mode 100644 index 0000000000..a8b960af0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IReposClient.ReposCreateAttestation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequestBundle bundle, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs index c272a0fffc..9cca01152e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IReposClient /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -31,7 +31,7 @@ public partial interface IReposClient /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs index 972f52da99..921bbcebeb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -35,7 +35,9 @@ public partial interface IReposClient /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. /// /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. /// /// /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs index bf33d65e39..5fba1d448d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -97,6 +97,7 @@ public partial interface IReposClient /// Example: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -108,6 +109,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs index 5aadc89506..9719689783 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs @@ -8,8 +8,10 @@ public partial interface IReposClient /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// @@ -25,8 +27,10 @@ public partial interface IReposClient /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs index 466cd7770c..672d8f5ebc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs @@ -96,6 +96,7 @@ public partial interface IReposClient /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -107,6 +108,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs index cd9694ac01..8e1764c3f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -8,8 +8,10 @@ public partial interface IReposClient /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// @@ -28,8 +30,10 @@ public partial interface IReposClient /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs index 8cd28e7e55..a60f240823 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// @@ -27,7 +28,8 @@ public partial interface IReposClient /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs index 0a944b42b4..3bdf03a314 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -28,7 +28,7 @@ public partial interface IReposClient /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -37,7 +37,9 @@ public partial interface IReposClient /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. @@ -48,7 +50,7 @@ public partial interface IReposClient string org, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::G.ReposCreateOrgRulesetRequestTarget? target = global::G.ReposCreateOrgRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.OrgRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs index bfda763444..a88757a884 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IReposClient /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -24,7 +24,7 @@ public partial interface IReposClient /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs index 5f8a4fd82d..414c582f86 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -31,7 +31,7 @@ public partial interface IReposClient /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -52,7 +52,7 @@ public partial interface IReposClient string repo, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::G.ReposCreateRepoRulesetRequestTarget? target = global::G.ReposCreateRepoRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.RepositoryRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs index 174d198b4e..42ba868777 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -15,6 +17,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, @@ -22,7 +25,9 @@ public partial interface IReposClient global::System.Threading.CancellationToken cancellationToken = default); /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -33,6 +38,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs index 79175448d6..997d2b6e2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs index 91379c6f14..692af2d535 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IReposClient /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// @@ -32,7 +33,8 @@ public partial interface IReposClient /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs index f50aa423a3..fcaae2b91e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// Delete a tag protection state for a repository
+ /// Deprecated - Delete a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.
/// This deletes a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -15,6 +17,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs index d432cc7190..67478b3b7d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IReposClient /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs index 3a02c266fc..b8c0323ed4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IReposClient /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs index de8ebdc2ca..eef3819c6f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Get a repository
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs index 013acb0c8e..af33a76bc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Get access restrictions
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Lists who has access to this protected branch.
- /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + /// > [!NOTE]
+ /// > Users, apps, and teams `restrictions` are only available for organization-owned repositories. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs index dcf0efab07..6ae73970b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IReposClient /// /// Get the weekly commit activity
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
- /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
- /// 10,000 or more commits, a 422 status code will be returned. + /// > [!NOTE]
+ /// > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs index da3ebb50df..7f2625a7d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Get a commit
/// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
- /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// > [!NOTE]
+ /// > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
/// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
/// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs index 33a74567d4..1fc30ee037 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs index 4615423312..a680896a25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Get commit signature protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
- /// **Note**: You must enable branch protection to require signed commits. + /// > [!NOTE]
+ /// > You must enable branch protection to require signed commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs index a7a3716461..eb13aad388 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IReposClient /// * `a` - Number of additions
/// * `d` - Number of deletions
/// * `c` - Number of commits
- /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + /// > [!NOTE]
+ /// > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs index b1889487a8..32b3ca9081 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReposClient { /// /// Get an environment
- /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// > [!NOTE]
+ /// > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
/// Anyone with read access to the repository can use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs index 6f5eda8451..b7f0a89809 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -11,6 +11,7 @@ public partial interface IReposClient /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." ///
/// + /// /// /// /// Default Value: day @@ -29,6 +30,7 @@ public partial interface IReposClient /// global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( string org, + string? @ref = default, int? repositoryName = default, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, string? actorName = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs index 2b5c87d207..b4596e6c64 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IReposClient { /// /// Get an organization repository ruleset
- /// Get a repository ruleset for an organization. + /// Get a repository ruleset for an organization.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs index 846e8e7cca..b3ab25848a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs @@ -16,12 +16,16 @@ public partial interface IReposClient /// /// Default Value: 1 /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( string org, int? perPage = 30, int? page = 1, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs index 3af5403edf..b2d9488607 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs @@ -8,9 +8,8 @@ public partial interface IReposClient /// /// Get a release
/// Gets a public release with the specified release ID.
- /// **Note:** This returns an `upload_url` key corresponding to the endpoint
- /// for uploading release assets. This key is a hypermedia resource. For more information, see
- /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + /// > [!NOTE]
+ /// > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs index b39a0b900e..3b82e06ac7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IReposClient { /// /// Get a release asset
- /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs index 349ed263b8..19e8296691 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IReposClient { /// /// Get a repository ruleset
- /// Get a ruleset for a repository. + /// Get a ruleset for a repository.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs index 366553eb0a..da5921db53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs @@ -20,6 +20,9 @@ public partial interface IReposClient /// /// Default Value: true /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( @@ -28,6 +31,7 @@ public partial interface IReposClient int? perPage = 30, int? page = 1, bool? includesParents = true, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAttestations.g.verified.cs new file mode 100644 index 0000000000..620138df77 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAttestations.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with a repository.
+ /// The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListAttestationsAsync( + string owner, + string repo, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs index b60e62109d..b5d3b3d092 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReposClient { /// /// List custom deployment rule integrations available for an environment
- /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// Gets all custom deployment protection rule integrations that are available for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
/// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs index 9ef45e7544..7e200a0fa4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// List organization repositories
/// Lists repositories for the specified organization.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs index 5864887f7a..55d1e1a1dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// List tag protection states for a repository
+ /// Deprecated - List tag protection states for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
/// This returns the tag protection states of a repository.
/// This information is only available to repository administrators. ///
@@ -14,6 +16,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs index 2ef60e87d3..d14ab4d646 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs index 2ab4b1772f..9cdf17d40f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs @@ -19,7 +19,8 @@ public partial interface IReposClient /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
/// - If the user had their own fork of the repository, the fork will be deleted.
/// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
- /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// > [!NOTE]
+ /// > A user can still have access to the repository through organization permissions like base repository permissions.
/// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
/// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs index 1a621e4eed..4db78d5049 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs index 78849135af..dd17f49eb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
@@ -28,7 +29,8 @@ public partial interface IReposClient /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs index 6bf2aed116..683286614b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs index d2ba9680a0..89b01b2b70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs index 03f7f590db..eb91a66395 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Test the push repository webhook
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
- /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + /// > [!NOTE]
+ /// > Previously `/repos/:owner/:repo/hooks/:hook_id/test` ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs index fbee8f8e52..8687b83634 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs @@ -94,6 +94,7 @@ public partial interface IReposClient /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -105,6 +106,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs index a092d560bd..af21c655c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -9,8 +9,10 @@ public partial interface IReposClient /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// @@ -29,8 +31,10 @@ public partial interface IReposClient /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs index 1ae43c0942..1ae0287453 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs index 2ccad29953..ce1561ed90 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -30,8 +30,7 @@ public partial interface IReposClient /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -40,7 +39,9 @@ public partial interface IReposClient /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs index 978a5c147d..853b1b1cb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// @@ -28,7 +29,8 @@ public partial interface IReposClient /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs index 316babf0c1..22cab216e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -33,8 +33,7 @@ public partial interface IReposClient /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs index a04f0d0712..7374153476 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -13,7 +13,8 @@ public partial interface ISearchClient /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
/// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
/// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
- /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + /// > [!NOTE]
+ /// > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs new file mode 100644 index 0000000000..8910587714 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The reason for bypassing push protection. + /// + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningPushProtectionBypassReason reason, + string placeholderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs index 0c88b67fe9..5ded9e0840 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ISecurityAdvisoriesClient /// /// Create a temporary private fork
/// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
- /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + /// > [!NOTE]
+ /// > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs index 0b3b36637c..3082f09cb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -25,6 +25,8 @@ public partial interface ISecurityAdvisoriesClient /// /// /// + /// + /// /// /// /// @@ -50,6 +52,8 @@ public partial interface ISecurityAdvisoriesClient string? published = default, string? updated = default, string? modified = default, + string? epssPercentage = default, + string? epssPercentile = default, string? before = default, string? after = default, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs index 84e34d72e4..ea55dc1890 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -11,7 +11,8 @@ public partial interface ITeamsClient /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs index ee76ea474b..1bb6585fb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -9,10 +9,12 @@ public partial interface ITeamsClient /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// @@ -31,10 +33,12 @@ public partial interface ITeamsClient /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs index 62aab488fc..5778d828b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -7,10 +7,12 @@ public partial interface ITeamsClient { /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
@@ -28,10 +30,12 @@ public partial interface ITeamsClient /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs index e882e993e6..144ee15847 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// @@ -26,7 +27,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs index 24d9c3572a..8ab16e5ad7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// @@ -24,7 +25,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs index 7463f41bdb..07ec537cc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -29,7 +30,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -37,8 +39,7 @@ public partial interface ITeamsClient /// /// /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. /// /// The token to cancel the operation with /// @@ -47,7 +48,7 @@ public partial interface ITeamsClient string teamSlug, string owner, string repo, - string? permission = "push", + string? permission = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs index c206085110..30db75f230 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
@@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs index f33dc8473c..027806433a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Check team permissions for a project
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs index ed646f750f..427324df68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Check team permissions for a project (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs index 4a66ab3e24..8a0b70e92a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -8,10 +8,11 @@ public partial interface ITeamsClient /// /// Check team permissions for a repository
/// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.
/// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
/// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs index e7ae7960a6..914c1e61fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -7,9 +7,11 @@ public partial interface ITeamsClient { /// /// Check team permissions for a repository (Legacy)
- /// **Note**: Repositories inherited through a parent team will also be checked.
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// > [!NOTE]
+ /// > Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs index 7c0ecdb006..319e986c78 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -8,8 +8,9 @@ public partial interface ITeamsClient /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -28,8 +29,9 @@ public partial interface ITeamsClient /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs index 48ec498cd7..60e9d64674 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -7,9 +7,10 @@ public partial interface ITeamsClient { /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -26,9 +27,10 @@ public partial interface ITeamsClient /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs index 78ee04b90c..d24ce47468 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -8,8 +8,9 @@ public partial interface ITeamsClient /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -26,8 +27,9 @@ public partial interface ITeamsClient /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs index b121388bba..595040fff0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -7,9 +7,10 @@ public partial interface ITeamsClient { /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -24,9 +25,10 @@ public partial interface ITeamsClient /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs index 14e13b9b95..e24ecbd8fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Delete a discussion comment
/// Deletes a comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs index 7bb37326c9..40aa3cd583 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
/// Deletes a comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs index 90bb4590da..1b29d69249 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Delete a discussion
/// Delete a discussion from a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs index 6a017e587b..38f5c0975a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
/// Delete a discussion from a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs index 8d95286d1e..18dff41ff5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface ITeamsClient /// Delete a team
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs index a33c80460e..c43592c773 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs index b7d789f1de..8a209ba69b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a team by name
/// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs index 0cf9028f38..6cd6f17d59 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a discussion comment
/// Get a specific comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs index 916c6a2f7f..c2eff1a472 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
/// Get a specific comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs index a795b09bd9..6d050e6fc4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a discussion
/// Get a specific discussion on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs index 5d60bd79a7..71b1ce96dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
/// Get a specific discussion on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs index 2aed319c4b..cc95690973 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs index 3b1a67a953..b19c9610b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -9,9 +9,10 @@ public partial interface ITeamsClient /// Get team membership for a user
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
- /// **Note:**
- /// The response contains the `state` of the membership and the member's `role`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// > [!NOTE]
+ /// > The response contains the `state` of the membership and the member's `role`.
/// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs index a983ca07ce..e0dc261ea3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
/// **Note:**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs index 0b755c540d..43feaa8357 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List child teams
/// Lists the child teams of the team specified by `{team_slug}`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs index 25e59ca36a..88157f18d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List child teams (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs index 8b1a2eaa69..0a03c3ad30 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List discussion comments
/// List all comments on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs index a8987c666e..9f2adf4b64 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List discussion comments (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
/// List all comments on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs index efd4fb77d2..33cde8454d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List discussions
/// List all discussions on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs index 5cc5d06844..30a6e1d75d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List discussions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
/// List all discussions on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs index 4c13b52494..bcaebf0722 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team members (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
/// Team members will include the members of child teams. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs index ec8d0daecc..9f4f8e0c04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List pending team invitations
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs index 64f4f5eb02..2210a53fb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List pending team invitations (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs index 2b32c10e64..7ef93cf499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List team projects
/// Lists the organization projects for a team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs index 9915f43289..75a44d0aa0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team projects (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
/// Lists the organization projects for a team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs index a032a61ab0..fbe7b97d84 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List team repositories
/// Lists a team's repositories visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs index cc3dbae666..d5e81b16fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team repositories (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs index 7758e5ca21..f700d8016f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -11,7 +11,8 @@ public partial interface ITeamsClient /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs index a9481f8292..75e65886f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -9,8 +9,10 @@ public partial interface ITeamsClient /// Remove team membership for a user
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs index 5f8159fc5c..1a1b8cabac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -7,10 +7,12 @@ public partial interface ITeamsClient { /// /// Remove team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs index 18e49c1828..7b2a626782 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Remove a project from a team
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs index 411dcb028e..15b7c06794 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Remove a project from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs index 60d1a6fa40..e2976ed407 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Remove a repository from a team
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs index 80d2cc4ec6..83c1eed638 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Remove a repository from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs index 07de1fc091..588c4be8f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -29,7 +30,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs index 9d1440d143..475974546d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs index 9f187e4c18..efaf2019b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs index dea4e1e51c..25ae5143b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -25,7 +26,8 @@ public partial interface ITeamsClient /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs index a2154551c6..62e092ef3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// @@ -24,7 +25,8 @@ public partial interface ITeamsClient /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs index b0270bbc99..247d1135fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -7,9 +7,11 @@ public partial interface ITeamsClient { /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// @@ -23,9 +25,11 @@ public partial interface ITeamsClient /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetById.g.verified.cs new file mode 100644 index 0000000000..6372710722 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetById.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UsersGetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a user using their ID
+ /// 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetByIdAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs new file mode 100644 index 0000000000..e3b005da23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IUsersClient.UsersListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersListAttestationsAsync( + string username, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreate.g.verified.cs index 00bc021b3e..fcce613075 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreate.g.verified.cs @@ -29,7 +29,7 @@ partial void ProcessIssuesCreateResponseContent( /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -122,7 +122,7 @@ partial void ProcessIssuesCreateResponseContent( /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs index 2f6fbbacf1..bd47f661c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessIssuesCreateCommentResponseContent( /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -132,7 +132,7 @@ partial void ProcessIssuesCreateCommentResponseContent( /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs index fe008deb83..4fcdd38bdc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs @@ -10,13 +10,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); @@ -33,7 +33,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( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGet.g.verified.cs index 19ab7d736b..39dc49be5b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGet.g.verified.cs @@ -34,10 +34,8 @@ partial void ProcessIssuesGetResponseContent( /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
/// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
/// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs index 88596288b4..aa51c84c51 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs @@ -10,13 +10,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); @@ -43,7 +43,7 @@ partial void ProcessIssuesGetCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesGetCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesList.g.verified.cs index 3b0f340376..2a122ec462 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesList.g.verified.cs @@ -49,10 +49,8 @@ partial void ProcessIssuesListResponseContent( /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
/// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
/// necessarily assigned to you.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs index 7b421f0141..fa932e4092 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -39,10 +39,8 @@ partial void ProcessIssuesListForAuthenticatedUserResponseContent( /// /// List user account issues assigned to the authenticated user
/// List issues across owned and member repositories assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs index ee425d7e3c..302481eb1e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs @@ -41,10 +41,8 @@ partial void ProcessIssuesListForOrgResponseContent( /// /// List organization issues assigned to the authenticated user
/// List issues in an organization assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs index 6ef30016e6..1fb8ce5b4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs @@ -49,10 +49,8 @@ partial void ProcessIssuesListForRepoResponseContent( /// /// List repository issues
/// List issues in a repository. Only open issues will be listed.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs index b530805b95..d30758e3f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessIssuesUpdateResponseContent( /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -125,7 +125,7 @@ partial void ProcessIssuesUpdateResponseContent( /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs index 522052ebd7..cea4f6b155 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareIssuesUpdateCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.IssuesUpdateCommentRequest request); partial void ProcessIssuesUpdateCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessIssuesUpdateCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.IssuesUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessIssuesUpdateCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.MetaGet.g.verified.cs index 052161d6ef..5d1578b158 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.MetaGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.MetaGet.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessMetaGetResponseContent( /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
/// The API's response also includes a list of GitHub's domain names.
/// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
- /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + /// > [!NOTE]
+ /// > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index 93894188a5..ffb5d96182 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsCancelImportResponseContent( /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 23838df8ac..36b579c142 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessMigrationsGetCommitAuthorsResponseContent( /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 9eb1c84a1f..8d96e3a381 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetImportStatusResponseContent( /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 74bb6a5fbb..2a539e8dca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetLargeFilesResponseContent( /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 292eb17dec..783f89b8e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 8624652f28..845571c094 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -123,7 +124,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 30c3368b59..1456be0dfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -121,7 +122,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 735dfed04f..0eb22146a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..b920b6c4f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs @@ -0,0 +1,96 @@ +//HintName: G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsCreateSelfHostedRunnerGroupForOrgRequest + { + /// + /// Name of the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + ///
+ [global::Newtonsoft.Json.JsonProperty("visibility")] + public global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? Visibility { get; set; } = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All; + + /// + /// List of repository IDs that can access the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// List of runner IDs to add to the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("runners")] + public global::System.Collections.Generic.IList? Runners { get; set; } + + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("allows_public_repositories")] + public bool? AllowsPublicRepositories { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::Newtonsoft.Json.JsonProperty("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..b4871bdea3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs + +#nullable enable + +namespace G +{ + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="selected")] + Selected, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private")] + Private, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility value) + { + return value switch + { + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Selected => "selected", + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All => "all", + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Private => "private", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? ToEnum(string value) + { + return value switch + { + "selected" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Selected, + "all" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + "private" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Private, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs new file mode 100644 index 0000000000..85ff1c582b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("total_count", Required = global::Newtonsoft.Json.Required.Always)] + public double TotalCount { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repositories", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList Repositories { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs new file mode 100644 index 0000000000..a976517ed7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsListSelfHostedRunnerGroupsForOrgResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("total_count", Required = global::Newtonsoft.Json.Required.Always)] + public double TotalCount { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("runner_groups", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList RunnerGroups { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs similarity index 79% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs index b0dc7c5008..404767ff89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs @@ -1,25 +1,25 @@ -//HintName: G.Models.OrganizationFineGrainedPermission.g.cs +//HintName: G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.cs #nullable enable namespace G { /// - /// A fine-grained permission that protects organization resources. + /// /// - public sealed partial class OrganizationFineGrainedPermission + public sealed partial class ActionsListSelfHostedRunnersInGroupForOrgResponse { /// /// /// - [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] - public string Name { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("total_count", Required = global::Newtonsoft.Json.Required.Always)] + public double TotalCount { get; set; } = default!; /// /// /// - [global::Newtonsoft.Json.JsonProperty("description", Required = global::Newtonsoft.Json.Required.Always)] - public string Description { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("runners", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList Runners { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema @@ -50,11 +50,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrganizationFineGrainedPermission? FromJson( + public static global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs new file mode 100644 index 0000000000..0a85ec1fab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest + { + /// + /// List of repository IDs that can access the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("selected_repository_ids", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList SelectedRepositoryIds { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..888e65d2c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsSetSelfHostedRunnersInGroupForOrgRequest + { + /// + /// List of runner IDs to add to the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("runners", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList Runners { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..c9902c1031 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsUpdateSelfHostedRunnerGroupForOrgRequest + { + /// + /// Name of the runner group. + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + [global::Newtonsoft.Json.JsonProperty("visibility")] + public global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? Visibility { get; set; } + + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("allows_public_repositories")] + public bool? AllowsPublicRepositories { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::Newtonsoft.Json.JsonProperty("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..de1bb908b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs + +#nullable enable + +namespace G +{ + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + [global::System.Runtime.Serialization.DataContract] + public enum ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="selected")] + Selected, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private")] + Private, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility value) + { + return value switch + { + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Selected => "selected", + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.All => "all", + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Private => "private", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? ToEnum(string value) + { + return value switch + { + "selected" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Selected, + "all" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.All, + "private" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Private, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverview.g.verified.cs index e4dcb818a5..5b1bc5a7c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverview.g.verified.cs @@ -87,12 +87,24 @@ public sealed partial class ApiOverview [global::Newtonsoft.Json.JsonProperty("actions_macos")] public global::System.Collections.Generic.IList? ActionsMacos { get; set; } + /// + /// Example: [192.0.2.1] + /// + [global::Newtonsoft.Json.JsonProperty("codespaces")] + public global::System.Collections.Generic.IList? Codespaces { get; set; } + /// /// Example: [192.0.2.1] /// [global::Newtonsoft.Json.JsonProperty("dependabot")] public global::System.Collections.Generic.IList? Dependabot { get; set; } + /// + /// Example: [192.0.2.1] + /// + [global::Newtonsoft.Json.JsonProperty("copilot")] + public global::System.Collections.Generic.IList? Copilot { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomains.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomains.g.verified.cs index 701d64d8a4..02c3238d95 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomains.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomains.g.verified.cs @@ -39,6 +39,12 @@ public sealed partial class ApiOverviewDomains [global::Newtonsoft.Json.JsonProperty("actions")] public global::System.Collections.Generic.IList? Actions { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("artifact_attestations")] + public global::G.ApiOverviewDomainsArtifactAttestations? ArtifactAttestations { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs new file mode 100644 index 0000000000..a900468178 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.ApiOverviewDomainsArtifactAttestations.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ApiOverviewDomainsArtifactAttestations + { + /// + /// Example: [example] + /// + [global::Newtonsoft.Json.JsonProperty("trust_domain")] + public string? TrustDomain { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("services")] + public global::System.Collections.Generic.IList? Services { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ApiOverviewDomainsArtifactAttestations? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Authorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Authorization.g.verified.cs index 231aa5d825..f5ef2ca8a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Authorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Authorization.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class Authorization /// ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs index 43719d5a6f..207a78afca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs @@ -39,6 +39,12 @@ public sealed partial class BranchRestrictionPolicyApp [global::Newtonsoft.Json.JsonProperty("name")] public string? Name { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs index 250b0c15e5..34a5b680ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class BranchRestrictionPolicyUser /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CheckRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CheckRun.g.verified.cs index 5ff6a35719..0d87c8f4ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CheckRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CheckRun.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class CheckRun { /// /// The id of the check.
- /// Example: 21 + /// Example: 21L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// The SHA of the commit that is being checked.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs similarity index 84% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs index b8655bc18a..d3a12e44d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs @@ -1,14 +1,19 @@ -//HintName: G.Models.WebhookForkForkeeVariant1CustomProperties.g.cs +//HintName: G.Models.ChecksCreateRequestDiscriminator.g.cs #nullable enable namespace G { /// - /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// /// - public sealed partial class WebhookForkForkeeVariant1CustomProperties + public sealed partial class ChecksCreateRequestDiscriminator { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public string? Status { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.WebhookForkForkeeVariant1CustomProperties? FromJson( + public static global::G.ChecksCreateRequestDiscriminator? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRule.g.verified.cs index 75cee40aad..250c9e5d0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRule.g.verified.cs @@ -40,7 +40,7 @@ public sealed partial class CodeScanningAlertRule public string? Description { get; set; } /// - /// description of the rule used to detect the alert. + /// A description of the rule used to detect the alert. /// [global::Newtonsoft.Json.JsonProperty("full_description")] public string? FullDescription { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs index fbd0060a59..036096afef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs @@ -21,12 +21,6 @@ public sealed partial class CodeScanningAlertRuleSummary [global::Newtonsoft.Json.JsonProperty("name")] public string? Name { get; set; } - /// - /// A set of tags applicable for the rule. - /// - [global::Newtonsoft.Json.JsonProperty("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - /// /// The severity of the alert. /// @@ -45,6 +39,30 @@ public sealed partial class CodeScanningAlertRuleSummary [global::Newtonsoft.Json.JsonProperty("description")] public string? Description { get; set; } + /// + /// A description of the rule used to detect the alert. + /// + [global::Newtonsoft.Json.JsonProperty("full_description")] + public string? FullDescription { get; set; } + + /// + /// A set of tags applicable for the rule. + /// + [global::Newtonsoft.Json.JsonProperty("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Detailed documentation for the rule as GitHub Flavored Markdown. + /// + [global::Newtonsoft.Json.JsonProperty("help")] + public string? Help { get; set; } + + /// + /// A link to the documentation for the rule used to detect the alert. + /// + [global::Newtonsoft.Json.JsonProperty("help_uri")] + public string? HelpUri { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..f23c6b56a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityAttachConfigurationRequest + { + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + [global::Newtonsoft.Json.JsonProperty("scope", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.CodeSecurityAttachConfigurationRequestScope Scope { get; set; } = default!; + + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + [global::Newtonsoft.Json.JsonProperty("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityAttachConfigurationRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs new file mode 100644 index 0000000000..c4604454bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationRequestScope.g.cs + +#nullable enable + +namespace G +{ + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityAttachConfigurationRequestScope + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="public")] + Public, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private_or_internal")] + PrivateOrInternal, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="selected")] + Selected, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityAttachConfigurationRequestScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityAttachConfigurationRequestScope value) + { + return value switch + { + CodeSecurityAttachConfigurationRequestScope.All => "all", + CodeSecurityAttachConfigurationRequestScope.Public => "public", + CodeSecurityAttachConfigurationRequestScope.PrivateOrInternal => "private_or_internal", + CodeSecurityAttachConfigurationRequestScope.Selected => "selected", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityAttachConfigurationRequestScope? ToEnum(string value) + { + return value switch + { + "all" => CodeSecurityAttachConfigurationRequestScope.All, + "public" => CodeSecurityAttachConfigurationRequestScope.Public, + "private_or_internal" => CodeSecurityAttachConfigurationRequestScope.PrivateOrInternal, + "selected" => CodeSecurityAttachConfigurationRequestScope.Selected, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs new file mode 100644 index 0000000000..8ab3c98ba6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityAttachConfigurationResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityAttachConfigurationResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs new file mode 100644 index 0000000000..7d505e8749 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs @@ -0,0 +1,177 @@ +//HintName: G.Models.CodeSecurityConfiguration.g.cs + +#nullable enable + +namespace G +{ + /// + /// A code security configuration + /// + public sealed partial class CodeSecurityConfiguration + { + /// + /// The ID of the code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("id")] + public int? Id { get; set; } + + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::Newtonsoft.Json.JsonProperty("name")] + public string? Name { get; set; } + + /// + /// The type of the code security configuration. + /// + [global::Newtonsoft.Json.JsonProperty("target_type")] + public global::G.CodeSecurityConfigurationTargetType? TargetType { get; set; } + + /// + /// A description of the code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The enablement status of GitHub Advanced Security + /// + [global::Newtonsoft.Json.JsonProperty("advanced_security")] + public global::G.CodeSecurityConfigurationAdvancedSecurity? AdvancedSecurity { get; set; } + + /// + /// The enablement status of Dependency Graph + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph")] + public global::G.CodeSecurityConfigurationDependencyGraph? DependencyGraph { get; set; } + + /// + /// The enablement status of Automatic dependency submission + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action")] + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } + + /// + /// Feature options for Automatic dependency submission + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts + /// + [global::Newtonsoft.Json.JsonProperty("dependabot_alerts")] + public global::G.CodeSecurityConfigurationDependabotAlerts? DependabotAlerts { get; set; } + + /// + /// The enablement status of Dependabot security updates + /// + [global::Newtonsoft.Json.JsonProperty("dependabot_security_updates")] + public global::G.CodeSecurityConfigurationDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } + + /// + /// The enablement status of code scanning default setup + /// + [global::Newtonsoft.Json.JsonProperty("code_scanning_default_setup")] + public global::G.CodeSecurityConfigurationCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } + + /// + /// The enablement status of secret scanning + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning")] + public global::G.CodeSecurityConfigurationSecretScanning? SecretScanning { get; set; } + + /// + /// The enablement status of secret scanning push protection + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] + public global::G.CodeSecurityConfigurationSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + + /// + /// The enablement status of secret scanning validity checks + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_validity_checks")] + public global::G.CodeSecurityConfigurationSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } + + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// The enablement status of private vulnerability reporting + /// + [global::Newtonsoft.Json.JsonProperty("private_vulnerability_reporting")] + public global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } + + /// + /// The enforcement status for a security configuration + /// + [global::Newtonsoft.Json.JsonProperty("enforcement")] + public global::G.CodeSecurityConfigurationEnforcement? Enforcement { get; set; } + + /// + /// The URL of the configuration + /// + [global::Newtonsoft.Json.JsonProperty("url")] + public string? Url { get; set; } + + /// + /// The URL of the configuration + /// + [global::Newtonsoft.Json.JsonProperty("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at")] + public global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at")] + public global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfiguration? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..c27de37386 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.CodeSecurityConfigurationAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationAdvancedSecurity + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationAdvancedSecurity value) + { + return value switch + { + CodeSecurityConfigurationAdvancedSecurity.Enabled => "enabled", + CodeSecurityConfigurationAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationAdvancedSecurity.Enabled, + "disabled" => CodeSecurityConfigurationAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..fe1190aab5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationCodeScanningDefaultSetup + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityConfigurationCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityConfigurationCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityConfigurationCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityConfigurationCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityConfigurationCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..f080503421 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationDependabotAlerts + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependabotAlerts value) + { + return value switch + { + CodeSecurityConfigurationDependabotAlerts.Enabled => "enabled", + CodeSecurityConfigurationDependabotAlerts.Disabled => "disabled", + CodeSecurityConfigurationDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependabotAlerts.Enabled, + "disabled" => CodeSecurityConfigurationDependabotAlerts.Disabled, + "not_set" => CodeSecurityConfigurationDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..b86d64a3ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationDependabotSecurityUpdates + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityConfigurationDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityConfigurationDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityConfigurationDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityConfigurationDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityConfigurationDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..939aaa51da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationDependencyGraph + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependencyGraph value) + { + return value switch + { + CodeSecurityConfigurationDependencyGraph.Enabled => "enabled", + CodeSecurityConfigurationDependencyGraph.Disabled => "disabled", + CodeSecurityConfigurationDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependencyGraph.Enabled, + "disabled" => CodeSecurityConfigurationDependencyGraph.Disabled, + "not_set" => CodeSecurityConfigurationDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..cd2a0a569a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationDependencyGraphAutosubmitAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityConfigurationDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityConfigurationDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityConfigurationDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..ea4928d832 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + /// + [global::Newtonsoft.Json.JsonProperty("labeled_runners")] + public bool? LabeledRunners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs new file mode 100644 index 0000000000..b69cd8f724 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.CodeSecurityConfigurationEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationEnforcement + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enforced")] + Enforced, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="unenforced")] + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationEnforcement value) + { + return value switch + { + CodeSecurityConfigurationEnforcement.Enforced => "enforced", + CodeSecurityConfigurationEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityConfigurationEnforcement.Enforced, + "unenforced" => CodeSecurityConfigurationEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..b13802be61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityConfigurationForRepository.g.cs + +#nullable enable + +namespace G +{ + /// + /// Code security configuration associated with a repository and attachment status + /// + public sealed partial class CodeSecurityConfigurationForRepository + { + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.CodeSecurityConfigurationForRepositoryStatus? Status { get; set; } + + /// + /// A code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationForRepository? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs new file mode 100644 index 0000000000..17d7e39607 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs @@ -0,0 +1,97 @@ +//HintName: G.Models.CodeSecurityConfigurationForRepositoryStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationForRepositoryStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="attached")] + Attached, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="attaching")] + Attaching, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="detached")] + Detached, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="removed")] + Removed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enforced")] + Enforced, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="failed")] + Failed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="updating")] + Updating, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="removed_by_enterprise")] + RemovedByEnterprise, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationForRepositoryStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationForRepositoryStatus value) + { + return value switch + { + CodeSecurityConfigurationForRepositoryStatus.Attached => "attached", + CodeSecurityConfigurationForRepositoryStatus.Attaching => "attaching", + CodeSecurityConfigurationForRepositoryStatus.Detached => "detached", + CodeSecurityConfigurationForRepositoryStatus.Removed => "removed", + CodeSecurityConfigurationForRepositoryStatus.Enforced => "enforced", + CodeSecurityConfigurationForRepositoryStatus.Failed => "failed", + CodeSecurityConfigurationForRepositoryStatus.Updating => "updating", + CodeSecurityConfigurationForRepositoryStatus.RemovedByEnterprise => "removed_by_enterprise", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationForRepositoryStatus? ToEnum(string value) + { + return value switch + { + "attached" => CodeSecurityConfigurationForRepositoryStatus.Attached, + "attaching" => CodeSecurityConfigurationForRepositoryStatus.Attaching, + "detached" => CodeSecurityConfigurationForRepositoryStatus.Detached, + "removed" => CodeSecurityConfigurationForRepositoryStatus.Removed, + "enforced" => CodeSecurityConfigurationForRepositoryStatus.Enforced, + "failed" => CodeSecurityConfigurationForRepositoryStatus.Failed, + "updating" => CodeSecurityConfigurationForRepositoryStatus.Updating, + "removed_by_enterprise" => CodeSecurityConfigurationForRepositoryStatus.RemovedByEnterprise, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..b67e250247 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationPrivateVulnerabilityReporting + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityConfigurationPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityConfigurationPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityConfigurationPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityConfigurationPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityConfigurationPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs new file mode 100644 index 0000000000..54658fad6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityConfigurationRepositories.g.cs + +#nullable enable + +namespace G +{ + /// + /// Repositories associated with a code security configuration and attachment status + /// + public sealed partial class CodeSecurityConfigurationRepositories + { + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.CodeSecurityConfigurationRepositoriesStatus? Status { get; set; } + + /// + /// A GitHub repository. + /// + [global::Newtonsoft.Json.JsonProperty("repository")] + public global::G.SimpleRepository? Repository { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationRepositories? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs new file mode 100644 index 0000000000..c6e1a80dd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs @@ -0,0 +1,97 @@ +//HintName: G.Models.CodeSecurityConfigurationRepositoriesStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationRepositoriesStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="attached")] + Attached, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="attaching")] + Attaching, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="detached")] + Detached, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="removed")] + Removed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enforced")] + Enforced, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="failed")] + Failed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="updating")] + Updating, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="removed_by_enterprise")] + RemovedByEnterprise, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationRepositoriesStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationRepositoriesStatus value) + { + return value switch + { + CodeSecurityConfigurationRepositoriesStatus.Attached => "attached", + CodeSecurityConfigurationRepositoriesStatus.Attaching => "attaching", + CodeSecurityConfigurationRepositoriesStatus.Detached => "detached", + CodeSecurityConfigurationRepositoriesStatus.Removed => "removed", + CodeSecurityConfigurationRepositoriesStatus.Enforced => "enforced", + CodeSecurityConfigurationRepositoriesStatus.Failed => "failed", + CodeSecurityConfigurationRepositoriesStatus.Updating => "updating", + CodeSecurityConfigurationRepositoriesStatus.RemovedByEnterprise => "removed_by_enterprise", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationRepositoriesStatus? ToEnum(string value) + { + return value switch + { + "attached" => CodeSecurityConfigurationRepositoriesStatus.Attached, + "attaching" => CodeSecurityConfigurationRepositoriesStatus.Attaching, + "detached" => CodeSecurityConfigurationRepositoriesStatus.Detached, + "removed" => CodeSecurityConfigurationRepositoriesStatus.Removed, + "enforced" => CodeSecurityConfigurationRepositoriesStatus.Enforced, + "failed" => CodeSecurityConfigurationRepositoriesStatus.Failed, + "updating" => CodeSecurityConfigurationRepositoriesStatus.Updating, + "removed_by_enterprise" => CodeSecurityConfigurationRepositoriesStatus.RemovedByEnterprise, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs new file mode 100644 index 0000000000..d5fc8d3ae7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationSecretScanning + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanning value) + { + return value switch + { + CodeSecurityConfigurationSecretScanning.Enabled => "enabled", + CodeSecurityConfigurationSecretScanning.Disabled => "disabled", + CodeSecurityConfigurationSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanning.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanning.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..46972bf0e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..bdfe9f23e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationSecretScanningPushProtection + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..93d735854e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityConfigurationSecretScanningValidityChecks + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs similarity index 55% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs index d4787e2149..c50e7a8983 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs @@ -1,54 +1,53 @@ -//HintName: G.Models.OrgCustomPropertyValueType.g.cs +//HintName: G.Models.CodeSecurityConfigurationTargetType.g.cs #nullable enable namespace G { /// - /// The type of the value for the property
- /// Example: single_select + /// The type of the code security configuration. ///
[global::System.Runtime.Serialization.DataContract] - public enum OrgCustomPropertyValueType + public enum CodeSecurityConfigurationTargetType { /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="string")] - String, + [global::System.Runtime.Serialization.EnumMember(Value="global")] + Global, /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="single_select")] - SingleSelect, + [global::System.Runtime.Serialization.EnumMember(Value="organization")] + Organization, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class OrgCustomPropertyValueTypeExtensions + public static class CodeSecurityConfigurationTargetTypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this OrgCustomPropertyValueType value) + public static string ToValueString(this CodeSecurityConfigurationTargetType value) { return value switch { - OrgCustomPropertyValueType.String => "string", - OrgCustomPropertyValueType.SingleSelect => "single_select", + CodeSecurityConfigurationTargetType.Global => "global", + CodeSecurityConfigurationTargetType.Organization => "organization", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static OrgCustomPropertyValueType? ToEnum(string value) + public static CodeSecurityConfigurationTargetType? ToEnum(string value) { return value switch { - "string" => OrgCustomPropertyValueType.String, - "single_select" => OrgCustomPropertyValueType.SingleSelect, + "global" => CodeSecurityConfigurationTargetType.Global, + "organization" => CodeSecurityConfigurationTargetType.Organization, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..4629937d4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityCreateConfigurationRequest + { + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// A description of the code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("description", Required = global::Newtonsoft.Json.Required.Always)] + public string Description { get; set; } = default!; + + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("advanced_security")] + public global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? AdvancedSecurity { get; set; } = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled; + + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + ///
+ [global::Newtonsoft.Json.JsonProperty("dependency_graph")] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? DependencyGraph { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled; + + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action")] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled; + + /// + /// Feature options for Automatic dependency submission + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("dependabot_alerts")] + public global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? DependabotAlerts { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled; + + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("dependabot_security_updates")] + public global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled; + + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("code_scanning_default_setup")] + public global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled; + + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("secret_scanning")] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanning? SecretScanning { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled; + + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? SecretScanningPushProtection { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled; + + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("secret_scanning_validity_checks")] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled; + + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled; + + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + ///
+ [global::Newtonsoft.Json.JsonProperty("private_vulnerability_reporting")] + public global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled; + + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + ///
+ [global::Newtonsoft.Json.JsonProperty("enforcement")] + public global::G.CodeSecurityCreateConfigurationRequestEnforcement? Enforcement { get; set; } = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityCreateConfigurationRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..c3ac5c2018 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestAdvancedSecurity + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestAdvancedSecurity value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestAdvancedSecurity.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestAdvancedSecurity.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..e05623dba1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..5bc49dbd0c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestDependabotAlerts + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependabotAlerts value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependabotAlerts.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependabotAlerts.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..6afef4f1a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..1fee56c0e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestDependencyGraph + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependencyGraph value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependencyGraph.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependencyGraph.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..ccf7813d30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..bde809af8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("labeled_runners")] + public bool? LabeledRunners { get; set; } = false; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..0127aa000c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestEnforcement + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enforced")] + Enforced, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="unenforced")] + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestEnforcement value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestEnforcement.Enforced => "enforced", + CodeSecurityCreateConfigurationRequestEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + "unenforced" => CodeSecurityCreateConfigurationRequestEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..c40b21f1c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..374a75ea45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestSecretScanning + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanning value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanning.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanning.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanning.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..16518f8150 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..09a053cece --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestSecretScanningPushProtection + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..33e94a12dc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs new file mode 100644 index 0000000000..48784c4ffe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecurityDefaultConfiguration.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityDefaultConfiguration + { + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + [global::Newtonsoft.Json.JsonProperty("default_for_new_repos")] + public global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// A code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityDefaultConfiguration? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..d76eee7905 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityDefaultConfigurationDefaultForNewRepos + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="public")] + Public, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private_and_internal")] + PrivateAndInternal, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityDefaultConfigurationDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityDefaultConfigurationDefaultForNewRepos value) + { + return value switch + { + CodeSecurityDefaultConfigurationDefaultForNewRepos.Public => "public", + CodeSecurityDefaultConfigurationDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecurityDefaultConfigurationDefaultForNewRepos.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityDefaultConfigurationDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "public" => CodeSecurityDefaultConfigurationDefaultForNewRepos.Public, + "private_and_internal" => CodeSecurityDefaultConfigurationDefaultForNewRepos.PrivateAndInternal, + "all" => CodeSecurityDefaultConfigurationDefaultForNewRepos.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..33c762f0fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.CodeSecurityDetachConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityDetachConfigurationRequest + { + /// + /// An array of repository IDs to detach from configurations. + /// + [global::Newtonsoft.Json.JsonProperty("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityDetachConfigurationRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs new file mode 100644 index 0000000000..a132a005cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.cs + +#nullable enable + +namespace G +{ + /// + /// Default Value: all + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityGetConfigurationsForOrgTargetType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="global")] + Global, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityGetConfigurationsForOrgTargetTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityGetConfigurationsForOrgTargetType value) + { + return value switch + { + CodeSecurityGetConfigurationsForOrgTargetType.Global => "global", + CodeSecurityGetConfigurationsForOrgTargetType.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityGetConfigurationsForOrgTargetType? ToEnum(string value) + { + return value switch + { + "global" => CodeSecurityGetConfigurationsForOrgTargetType.Global, + "all" => CodeSecurityGetConfigurationsForOrgTargetType.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs new file mode 100644 index 0000000000..aac67bc22f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecuritySetConfigurationAsDefaultRequest + { + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + [global::Newtonsoft.Json.JsonProperty("default_for_new_repos")] + public global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecuritySetConfigurationAsDefaultRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..96ff57af22 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="none")] + None, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private_and_internal")] + PrivateAndInternal, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="public")] + Public, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos value) + { + return value switch + { + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.All => "all", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.None => "none", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.Public => "public", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "all" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.All, + "none" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.None, + "private_and_internal" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.PrivateAndInternal, + "public" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.Public, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs new file mode 100644 index 0000000000..da180fbe6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecuritySetConfigurationAsDefaultResponse + { + /// + /// Specifies which types of repository this security configuration is applied to by default. + /// + [global::Newtonsoft.Json.JsonProperty("default_for_new_repos")] + public global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// A code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecuritySetConfigurationAsDefaultResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..817ea9359d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// Specifies which types of repository this security configuration is applied to by default. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="all")] + All, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="none")] + None, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="private_and_internal")] + PrivateAndInternal, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="public")] + Public, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos value) + { + return value switch + { + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.All => "all", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.None => "none", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.Public => "public", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "all" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.All, + "none" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.None, + "private_and_internal" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.PrivateAndInternal, + "public" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.Public, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..30047418d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs @@ -0,0 +1,141 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityUpdateConfigurationRequest + { + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::Newtonsoft.Json.JsonProperty("name")] + public string? Name { get; set; } + + /// + /// A description of the code security configuration + /// + [global::Newtonsoft.Json.JsonProperty("description")] + public string? Description { get; set; } + + /// + /// The enablement status of GitHub Advanced Security + /// + [global::Newtonsoft.Json.JsonProperty("advanced_security")] + public global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? AdvancedSecurity { get; set; } + + /// + /// The enablement status of Dependency Graph + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph")] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? DependencyGraph { get; set; } + + /// + /// The enablement status of Automatic dependency submission + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action")] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } + + /// + /// Feature options for Automatic dependency submission + /// + [global::Newtonsoft.Json.JsonProperty("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts + /// + [global::Newtonsoft.Json.JsonProperty("dependabot_alerts")] + public global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? DependabotAlerts { get; set; } + + /// + /// The enablement status of Dependabot security updates + /// + [global::Newtonsoft.Json.JsonProperty("dependabot_security_updates")] + public global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } + + /// + /// The enablement status of code scanning default setup + /// + [global::Newtonsoft.Json.JsonProperty("code_scanning_default_setup")] + public global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } + + /// + /// The enablement status of secret scanning + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning")] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? SecretScanning { get; set; } + + /// + /// The enablement status of secret scanning push protection + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + + /// + /// The enablement status of secret scanning validity checks + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_validity_checks")] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } + + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// The enablement status of private vulnerability reporting + /// + [global::Newtonsoft.Json.JsonProperty("private_vulnerability_reporting")] + public global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } + + /// + /// The enforcement status for a security configuration + /// + [global::Newtonsoft.Json.JsonProperty("enforcement")] + public global::G.CodeSecurityUpdateConfigurationRequestEnforcement? Enforcement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityUpdateConfigurationRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..0000189c36 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestAdvancedSecurity + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestAdvancedSecurity value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..03eba5e6aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..402f60a7f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestDependabotAlerts + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependabotAlerts value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependabotAlerts.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependabotAlerts.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..c64c03009d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..b46c946c49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestDependencyGraph + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependencyGraph value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependencyGraph.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependencyGraph.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependencyGraph.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependencyGraph.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..e228fb9b41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..1aef3739cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + /// + [global::Newtonsoft.Json.JsonProperty("labeled_runners")] + public bool? LabeledRunners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..3624f1e960 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestEnforcement + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enforced")] + Enforced, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="unenforced")] + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestEnforcement value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestEnforcement.Enforced => "enforced", + CodeSecurityUpdateConfigurationRequestEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityUpdateConfigurationRequestEnforcement.Enforced, + "unenforced" => CodeSecurityUpdateConfigurationRequestEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..3dad8138ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..c235a23850 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestSecretScanning + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanning value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanning.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanning.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanning.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanning.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..addf25cc7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..d4b296b16b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..72679435a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks + /// + [global::System.Runtime.Serialization.DataContract] + public enum CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="not_set")] + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Codespace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Codespace.g.verified.cs index 7bcb08afc1..50ae955b2e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Codespace.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Codespace.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class Codespace { /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Automatically generated name of this codespace.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs index dd77c55d93..5aac81f2b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class CodespaceWithFullRepository { /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Automatically generated name of this codespace.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Collaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Collaborator.g.verified.cs index ded3dd86ec..2f7f3f4d5e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Collaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Collaborator.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class Collaborator public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Commit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Commit.g.verified.cs index a9290eb13d..f5c8c4faca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Commit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Commit.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.Commit.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -46,16 +48,16 @@ public sealed partial class Commit public global::G.CommitCommit1 Commit1 { get; set; } = default!; /// - /// A GitHub user. + /// /// [global::Newtonsoft.Json.JsonProperty("author", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.NullableSimpleUser? Author { get; set; } = default!; + public global::G.OneOf? Author { get; set; } = default!; /// - /// A GitHub user. + /// /// [global::Newtonsoft.Json.JsonProperty("committer", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.NullableSimpleUser? Committer { get; set; } = default!; + public global::G.OneOf? Committer { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTree.g.verified.cs index 93bb03ec59..69812d7ca7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTree.g.verified.cs @@ -39,6 +39,12 @@ public sealed partial class ContentTree [global::Newtonsoft.Json.JsonProperty("sha", Required = global::Newtonsoft.Json.Required.Always)] public string Sha { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("content")] + public string? Content { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTreeEntrie.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTreeEntrie.g.verified.cs index 1054cdd61a..f2da5e66ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTreeEntrie.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ContentTreeEntrie.g.verified.cs @@ -33,12 +33,6 @@ public sealed partial class ContentTreeEntrie [global::Newtonsoft.Json.JsonProperty("path", Required = global::Newtonsoft.Json.Required.Always)] public string Path { get; set; } = default!; - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("content")] - public string? Content { get; set; } - /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs new file mode 100644 index 0000000000..95685522f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CopilotListCopilotSeatsForEnterpriseResponse + { + /// + /// The total number of Copilot seats the enterprise is being billed for. Users with access through multiple organizations or enterprise teams are only counted once. + /// + [global::Newtonsoft.Json.JsonProperty("total_seats")] + public int? TotalSeats { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("seats")] + public global::System.Collections.Generic.IList? Seats { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CopilotListCopilotSeatsForEnterpriseResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs index 193d8671cb..afc56c76bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + /// Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. /// public sealed partial class CopilotOrganizationDetails { @@ -45,6 +45,12 @@ public sealed partial class CopilotOrganizationDetails [global::Newtonsoft.Json.JsonProperty("seat_management_setting", Required = global::Newtonsoft.Json.Required.Always)] public global::G.CopilotOrganizationDetailsSeatManagementSetting SeatManagementSetting { get; set; } = default!; + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::Newtonsoft.Json.JsonProperty("plan_type")] + public global::G.CopilotOrganizationDetailsPlanType? PlanType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs new file mode 100644 index 0000000000..741be346e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CopilotOrganizationDetailsPlanType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CopilotOrganizationDetailsPlanType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="business")] + Business, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enterprise")] + Enterprise, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="unknown")] + Unknown, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CopilotOrganizationDetailsPlanTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CopilotOrganizationDetailsPlanType value) + { + return value switch + { + CopilotOrganizationDetailsPlanType.Business => "business", + CopilotOrganizationDetailsPlanType.Enterprise => "enterprise", + CopilotOrganizationDetailsPlanType.Unknown => "unknown", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CopilotOrganizationDetailsPlanType? ToEnum(string value) + { + return value switch + { + "business" => CopilotOrganizationDetailsPlanType.Business, + "enterprise" => CopilotOrganizationDetailsPlanType.Enterprise, + "unknown" => CopilotOrganizationDetailsPlanType.Unknown, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetails.g.verified.cs index 5cc07b6379..5ae05fe16f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetails.g.verified.cs @@ -12,16 +12,22 @@ namespace G public sealed partial class CopilotSeatDetails { /// - /// The assignee that has been granted access to GitHub Copilot. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("assignee", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OneOf Assignee { get; set; } = default!; + public global::G.SimpleUser Assignee { get; set; } = default!; /// - /// The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually. + /// A GitHub organization. + /// + [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.NullableOrganizationSimple? Organization { get; set; } + + /// + /// The team through which the assignee is granted access to GitHub Copilot, if applicable. /// [global::Newtonsoft.Json.JsonProperty("assigning_team")] - public global::G.Team? AssigningTeam { get; set; } + public global::G.OneOf? AssigningTeam { get; set; } /// /// The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle. @@ -53,6 +59,12 @@ public sealed partial class CopilotSeatDetails [global::Newtonsoft.Json.JsonProperty("updated_at")] public global::System.DateTime? UpdatedAt { get; set; } + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::Newtonsoft.Json.JsonProperty("plan_type")] + public global::G.CopilotSeatDetailsPlanType? PlanType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs new file mode 100644 index 0000000000..910f8fc7d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.CopilotSeatDetailsPlanType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::System.Runtime.Serialization.DataContract] + public enum CopilotSeatDetailsPlanType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="business")] + Business, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enterprise")] + Enterprise, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="unknown")] + Unknown, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CopilotSeatDetailsPlanTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CopilotSeatDetailsPlanType value) + { + return value switch + { + CopilotSeatDetailsPlanType.Business => "business", + CopilotSeatDetailsPlanType.Enterprise => "enterprise", + CopilotSeatDetailsPlanType.Unknown => "unknown", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CopilotSeatDetailsPlanType? ToEnum(string value) + { + return value switch + { + "business" => CopilotSeatDetailsPlanType.Business, + "enterprise" => CopilotSeatDetailsPlanType.Enterprise, + "unknown" => CopilotSeatDetailsPlanType.Unknown, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomProperty.g.verified.cs similarity index 87% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomProperty.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomProperty.g.verified.cs index e1498888b2..48bc1c72bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomProperty.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgCustomProperty.g.cs +//HintName: G.Models.CustomProperty.g.cs #pragma warning disable CS0618 // Type or member is obsolete @@ -9,7 +9,7 @@ namespace G /// /// Custom property defined on an organization /// - public sealed partial class OrgCustomProperty + public sealed partial class CustomProperty { /// /// The name of the property @@ -17,12 +17,18 @@ public sealed partial class OrgCustomProperty [global::Newtonsoft.Json.JsonProperty("property_name", Required = global::Newtonsoft.Json.Required.Always)] public string PropertyName { get; set; } = default!; + /// + /// The URL that can be used to fetch, update, or delete info about this property via the API. + /// + [global::Newtonsoft.Json.JsonProperty("url")] + public string? Url { get; set; } + /// /// The type of the value for the property
/// Example: single_select ///
[global::Newtonsoft.Json.JsonProperty("value_type", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrgCustomPropertyValueType ValueType { get; set; } = default!; + public global::G.CustomPropertyValueType ValueType { get; set; } = default!; /// /// Whether the property is required. @@ -54,7 +60,7 @@ public sealed partial class OrgCustomProperty /// Example: org_actors /// [global::Newtonsoft.Json.JsonProperty("values_editable_by")] - public global::G.OrgCustomPropertyValuesEditableBy? ValuesEditableBy { get; set; } + public global::G.CustomPropertyValuesEditableBy? ValuesEditableBy { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -85,11 +91,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgCustomProperty? FromJson( + public static global::G.CustomProperty? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValueType.g.verified.cs new file mode 100644 index 0000000000..ac30bfd122 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValueType.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.CustomPropertyValueType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The type of the value for the property
+ /// Example: single_select + ///
+ [global::System.Runtime.Serialization.DataContract] + public enum CustomPropertyValueType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="string")] + String, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="single_select")] + SingleSelect, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="multi_select")] + MultiSelect, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="true_false")] + TrueFalse, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CustomPropertyValueTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CustomPropertyValueType value) + { + return value switch + { + CustomPropertyValueType.String => "string", + CustomPropertyValueType.SingleSelect => "single_select", + CustomPropertyValueType.MultiSelect => "multi_select", + CustomPropertyValueType.TrueFalse => "true_false", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CustomPropertyValueType? ToEnum(string value) + { + return value switch + { + "string" => CustomPropertyValueType.String, + "single_select" => CustomPropertyValueType.SingleSelect, + "multi_select" => CustomPropertyValueType.MultiSelect, + "true_false" => CustomPropertyValueType.TrueFalse, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs similarity index 62% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs index 0694154980..72917ea4fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgCustomPropertyValuesEditableBy.g.cs +//HintName: G.Models.CustomPropertyValuesEditableBy.g.cs #nullable enable @@ -9,7 +9,7 @@ namespace G /// Example: org_actors ///
[global::System.Runtime.Serialization.DataContract] - public enum OrgCustomPropertyValuesEditableBy + public enum CustomPropertyValuesEditableBy { /// /// @@ -26,29 +26,29 @@ public enum OrgCustomPropertyValuesEditableBy /// /// Enum extensions to do fast conversions without the reflection. /// - public static class OrgCustomPropertyValuesEditableByExtensions + public static class CustomPropertyValuesEditableByExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this OrgCustomPropertyValuesEditableBy value) + public static string ToValueString(this CustomPropertyValuesEditableBy value) { return value switch { - OrgCustomPropertyValuesEditableBy.OrgActors => "org_actors", - OrgCustomPropertyValuesEditableBy.OrgAndRepoActors => "org_and_repo_actors", + CustomPropertyValuesEditableBy.OrgActors => "org_actors", + CustomPropertyValuesEditableBy.OrgAndRepoActors => "org_and_repo_actors", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static OrgCustomPropertyValuesEditableBy? ToEnum(string value) + public static CustomPropertyValuesEditableBy? ToEnum(string value) { return value switch { - "org_actors" => OrgCustomPropertyValuesEditableBy.OrgActors, - "org_and_repo_actors" => OrgCustomPropertyValuesEditableBy.OrgAndRepoActors, + "org_actors" => CustomPropertyValuesEditableBy.OrgActors, + "org_and_repo_actors" => CustomPropertyValuesEditableBy.OrgAndRepoActors, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeverities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeverities.g.verified.cs new file mode 100644 index 0000000000..ebb1807ee7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeverities.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.CvssSeverities.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeverities + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_v3")] + public global::G.CvssSeveritiesCvssV3? CvssV3 { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_v4")] + public global::G.CvssSeveritiesCvssV4? CvssV4 { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeverities? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs new file mode 100644 index 0000000000..1859075d5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.CvssSeveritiesCvssV3.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeveritiesCvssV3 + { + /// + /// The CVSS 3 vector string. + /// + [global::Newtonsoft.Json.JsonProperty("vector_string", Required = global::Newtonsoft.Json.Required.Always)] + public string? VectorString { get; set; } = default!; + + /// + /// The CVSS 3 score.
+ /// Included only in responses + ///
+ [global::Newtonsoft.Json.JsonProperty("score")] + public double? Score { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeveritiesCvssV3? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs new file mode 100644 index 0000000000..a96f88845d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.CvssSeveritiesCvssV4.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeveritiesCvssV4 + { + /// + /// The CVSS 4 vector string. + /// + [global::Newtonsoft.Json.JsonProperty("vector_string", Required = global::Newtonsoft.Json.Required.Always)] + public string? VectorString { get; set; } = default!; + + /// + /// The CVSS 4 score.
+ /// Included only in responses + ///
+ [global::Newtonsoft.Json.JsonProperty("score")] + public double? Score { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeveritiesCvssV4? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs index bcb81cafa9..73ee2fa890 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs @@ -59,6 +59,12 @@ public sealed partial class DependabotAlertSecurityAdvisory [global::Newtonsoft.Json.JsonProperty("cvss")] public global::G.DependabotAlertSecurityAdvisoryCvss Cvss { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// Details for the advisory pertaining to Common Weakness Enumeration.
/// Included only in responses diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs index f9d765deee..35be7fdab7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs @@ -69,6 +69,13 @@ public sealed partial class DependencyGraphSpdxSbomSbomPackage [global::Newtonsoft.Json.JsonProperty("supplier")] public string? Supplier { get; set; } + /// + /// The copyright holders of the package, and any dates present with those notices, if available.
+ /// Example: Copyright (c) 1985 GitHub.com + ///
+ [global::Newtonsoft.Json.JsonProperty("copyrightText")] + public string? CopyrightText { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Deployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Deployment.g.verified.cs index 78ffd54332..719574a9cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Deployment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Deployment.g.verified.cs @@ -19,10 +19,10 @@ public sealed partial class Deployment /// /// Unique identifier of the deployment
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOkRlcGxveW1lbnQx diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DeploymentStatus.g.verified.cs index 130f943630..554dc29493 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DeploymentStatus.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class DeploymentStatus public string Url { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDE2OkRlcGxveW1lbnRTdGF0dXMx diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Discussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Discussion.g.verified.cs index b5d3353541..cc11b2c6a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Discussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Discussion.g.verified.cs @@ -144,6 +144,12 @@ public sealed partial class Discussion [global::Newtonsoft.Json.JsonProperty("user", Required = global::Newtonsoft.Json.Required.Always)] public global::G.DiscussionUser? User { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DiscussionUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DiscussionUser.g.verified.cs index fb010477a2..d5b8357616 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DiscussionUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.DiscussionUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class DiscussionUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.EnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.EnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..2871b25286 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.EnterpriseTeam.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.Models.EnterpriseTeam.g.cs + +#nullable enable + +namespace G +{ + /// + /// Group of enterprise owners and/or members + /// + public sealed partial class EnterpriseTeam + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public long Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("slug", Required = global::Newtonsoft.Json.Required.Always)] + public string Slug { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("url", Required = global::Newtonsoft.Json.Required.Always)] + public string Url { get; set; } = default!; + + /// + /// Example: disabled | all + /// + [global::Newtonsoft.Json.JsonProperty("sync_to_organizations", Required = global::Newtonsoft.Json.Required.Always)] + public string SyncToOrganizations { get; set; } = default!; + + /// + /// Example: 1 + /// + [global::Newtonsoft.Json.JsonProperty("group_id")] + public int? GroupId { get; set; } + + /// + /// Example: https://github.com/enterprises/dc/teams/justice-league + /// + [global::Newtonsoft.Json.JsonProperty("html_url", Required = global::Newtonsoft.Json.Required.Always)] + public string HtmlUrl { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("members_url", Required = global::Newtonsoft.Json.Required.Always)] + public string MembersUrl { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.EnterpriseTeam? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Environment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Environment.g.verified.cs index 87b39f6628..d9c1ddf6a7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Environment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Environment.g.verified.cs @@ -13,10 +13,10 @@ public sealed partial class Environment { /// /// The id of the environment.
- /// Example: 56780428 + /// Example: 56780428L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.FullRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.FullRepository.g.verified.cs index 65f233155c..a19556cca1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.FullRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.FullRepository.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class FullRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GitCreateCommitRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GitCreateCommitRequest.g.verified.cs index fb80bcc2e5..bf0af91e68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GitCreateCommitRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GitCreateCommitRequest.g.verified.cs @@ -22,7 +22,7 @@ public sealed partial class GitCreateCommitRequest public string Tree { get; set; } = default!; /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// [global::Newtonsoft.Json.JsonProperty("parents")] public global::System.Collections.Generic.IList? Parents { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisory.g.verified.cs index ec007ae3b3..7693435610 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisory.g.verified.cs @@ -135,12 +135,24 @@ public sealed partial class GlobalAdvisory [global::Newtonsoft.Json.JsonProperty("cvss", Required = global::Newtonsoft.Json.Required.Always)] public global::G.GlobalAdvisoryCvss? Cvss { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// [global::Newtonsoft.Json.JsonProperty("cwes", Required = global::Newtonsoft.Json.Required.Always)] public global::System.Collections.Generic.IList? Cwes { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("epss")] + public global::G.GlobalAdvisoryEpss? Epss { get; set; } + /// /// The users who contributed to the advisory.
/// Included only in responses diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs new file mode 100644 index 0000000000..ba97f5c879 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.GlobalAdvisoryEpss.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class GlobalAdvisoryEpss + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("percentage")] + public double? Percentage { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("percentile")] + public double? Percentile { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.GlobalAdvisoryEpss? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKey.g.verified.cs index 9eb8c2bc69..eb1e5148ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKey.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class GpgKey { /// - /// Example: 3 + /// Example: 3L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: Octocat's GPG Key diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKeySubkey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKeySubkey.g.verified.cs index cf2cb502cb..d9258a851d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKeySubkey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.GpgKeySubkey.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class GpgKeySubkey /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDelivery.g.verified.cs index 19e504ad80..0a47973d1d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDelivery.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDelivery.g.verified.cs @@ -85,6 +85,12 @@ public sealed partial class HookDelivery [global::Newtonsoft.Json.JsonProperty("repository_id", Required = global::Newtonsoft.Json.Required.Always)] public int? RepositoryId { get; set; } = default!; + /// + /// Time when the webhook delivery was throttled. + /// + [global::Newtonsoft.Json.JsonProperty("throttled_at")] + public global::System.DateTime? ThrottledAt { get; set; } + /// /// The URL target of the delivery.
/// Example: https://www.example.com diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDeliveryItem.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDeliveryItem.g.verified.cs index 647221aca5..16f396ad89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDeliveryItem.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.HookDeliveryItem.g.verified.cs @@ -85,6 +85,12 @@ public sealed partial class HookDeliveryItem [global::Newtonsoft.Json.JsonProperty("repository_id", Required = global::Newtonsoft.Json.Required.Always)] public int? RepositoryId { get; set; } = default!; + /// + /// Time when the webhook delivery was throttled. + /// + [global::Newtonsoft.Json.JsonProperty("throttled_at")] + public global::System.DateTime? ThrottledAt { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Integration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Integration.g.verified.cs index f1b7b2e69f..c4fac8ac74 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Integration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Integration.g.verified.cs @@ -29,6 +29,12 @@ public sealed partial class Integration [global::Newtonsoft.Json.JsonProperty("node_id", Required = global::Newtonsoft.Json.Required.Always)] public string NodeId { get; set; } = default!; + /// + /// Example: "Iv1.25b5d1e65ffc4022" + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// A GitHub user. /// @@ -92,12 +98,6 @@ public sealed partial class Integration [global::Newtonsoft.Json.JsonProperty("installations_count")] public int? InstallationsCount { get; set; } - /// - /// Example: "Iv1.25b5d1e65ffc4022" - /// - [global::Newtonsoft.Json.JsonProperty("client_id")] - public string? ClientId { get; set; } - /// /// Example: "1d4b2097ac622ba702d19de498f005747a8b21d3" /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Key.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Key.g.verified.cs index 96168cee58..f1cb1a7420 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Key.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Key.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class Key /// ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Label.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Label.g.verified.cs index 8751b5c2f6..695166a831 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Label.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Label.g.verified.cs @@ -10,6 +10,7 @@ namespace G public sealed partial class Label { /// + /// Unique identifier for the label.
/// Example: 208045946L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] @@ -36,6 +37,7 @@ public sealed partial class Label public string Name { get; set; } = default!; /// + /// Optional description of the label, such as its purpose.
/// Example: Something isn't working ///
[global::Newtonsoft.Json.JsonProperty("description", Required = global::Newtonsoft.Json.Required.Always)] @@ -49,6 +51,7 @@ public sealed partial class Label public string Color { get; set; } = default!; /// + /// Whether this label comes by default in a new repository.
/// Example: true ///
[global::Newtonsoft.Json.JsonProperty("default", Required = global::Newtonsoft.Json.Required.Always)] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Migration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Migration.g.verified.cs index f9a2abe750..adfcd3f789 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Migration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Migration.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class Migration { /// - /// Example: 79 + /// Example: 79L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// A GitHub user. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs index 237565473b..70190f4703 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.MinimalRepository.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class MinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableCollaborator.g.verified.cs index 2e064652e6..d28a3c754c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableCollaborator.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class NullableCollaborator public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableIntegration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableIntegration.g.verified.cs index 8d35e6e814..b213443c31 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableIntegration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableIntegration.g.verified.cs @@ -29,6 +29,12 @@ public sealed partial class NullableIntegration [global::Newtonsoft.Json.JsonProperty("node_id", Required = global::Newtonsoft.Json.Required.Always)] public string NodeId { get; set; } = default!; + /// + /// Example: "Iv1.25b5d1e65ffc4022" + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// A GitHub user. /// @@ -92,12 +98,6 @@ public sealed partial class NullableIntegration [global::Newtonsoft.Json.JsonProperty("installations_count")] public int? InstallationsCount { get; set; } - /// - /// Example: "Iv1.25b5d1e65ffc4022" - /// - [global::Newtonsoft.Json.JsonProperty("client_id")] - public string? ClientId { get; set; } - /// /// Example: "1d4b2097ac622ba702d19de498f005747a8b21d3" /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableMinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableMinimalRepository.g.verified.cs index 6764331bad..38ac667647 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableMinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableMinimalRepository.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class NullableMinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Organization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableOrganizationSimple.g.verified.cs similarity index 52% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Organization.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableOrganizationSimple.g.verified.cs index fcf2b4aab6..2bd89a5c0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Organization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableOrganizationSimple.g.verified.cs @@ -1,195 +1,86 @@ -//HintName: G.Models.Organization.g.cs +//HintName: G.Models.NullableOrganizationSimple.g.cs #nullable enable namespace G { /// - /// GitHub account for managing multiple users, teams, and repositories + /// A GitHub organization. /// - public sealed partial class Organization + public sealed partial class NullableOrganizationSimple { /// - /// Unique login name of the organization
- /// Example: new-org + /// Example: github ///
[global::Newtonsoft.Json.JsonProperty("login", Required = global::Newtonsoft.Json.Required.Always)] public string Login { get; set; } = default!; /// - /// URL for the organization
- /// Example: https://api.github.com/orgs/github - ///
- [global::Newtonsoft.Json.JsonProperty("url", Required = global::Newtonsoft.Json.Required.Always)] - public string Url { get; set; } = default!; - - /// - /// + /// Example: 1 /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] public int Id { get; set; } = default!; /// - /// + /// Example: MDEyOk9yZ2FuaXphdGlvbjE= /// [global::Newtonsoft.Json.JsonProperty("node_id", Required = global::Newtonsoft.Json.Required.Always)] public string NodeId { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github + /// + [global::Newtonsoft.Json.JsonProperty("url", Required = global::Newtonsoft.Json.Required.Always)] + public string Url { get; set; } = default!; + + /// + /// Example: https://api.github.com/orgs/github/repos /// [global::Newtonsoft.Json.JsonProperty("repos_url", Required = global::Newtonsoft.Json.Required.Always)] public string ReposUrl { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github/events /// [global::Newtonsoft.Json.JsonProperty("events_url", Required = global::Newtonsoft.Json.Required.Always)] public string EventsUrl { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github/hooks /// [global::Newtonsoft.Json.JsonProperty("hooks_url", Required = global::Newtonsoft.Json.Required.Always)] public string HooksUrl { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github/issues /// [global::Newtonsoft.Json.JsonProperty("issues_url", Required = global::Newtonsoft.Json.Required.Always)] public string IssuesUrl { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github/members{/member} /// [global::Newtonsoft.Json.JsonProperty("members_url", Required = global::Newtonsoft.Json.Required.Always)] public string MembersUrl { get; set; } = default!; /// - /// + /// Example: https://api.github.com/orgs/github/public_members{/member} /// [global::Newtonsoft.Json.JsonProperty("public_members_url", Required = global::Newtonsoft.Json.Required.Always)] public string PublicMembersUrl { get; set; } = default!; /// - /// + /// Example: https://github.com/images/error/octocat_happy.gif /// [global::Newtonsoft.Json.JsonProperty("avatar_url", Required = global::Newtonsoft.Json.Required.Always)] public string AvatarUrl { get; set; } = default!; /// - /// + /// Example: A great organization /// [global::Newtonsoft.Json.JsonProperty("description", Required = global::Newtonsoft.Json.Required.Always)] public string? Description { get; set; } = default!; - /// - /// Display blog url for the organization
- /// Example: blog.example-org.com - ///
- [global::Newtonsoft.Json.JsonProperty("blog")] - public string? Blog { get; set; } - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("html_url", Required = global::Newtonsoft.Json.Required.Always)] - public string HtmlUrl { get; set; } = default!; - - /// - /// Display name for the organization
- /// Example: New Org - ///
- [global::Newtonsoft.Json.JsonProperty("name")] - public string? Name { get; set; } - - /// - /// Display company name for the organization
- /// Example: Acme corporation - ///
- [global::Newtonsoft.Json.JsonProperty("company")] - public string? Company { get; set; } - - /// - /// Display location for the organization
- /// Example: Berlin, Germany - ///
- [global::Newtonsoft.Json.JsonProperty("location")] - public string? Location { get; set; } - - /// - /// Display email for the organization
- /// Example: org@example.com - ///
- [global::Newtonsoft.Json.JsonProperty("email")] - public string? Email { get; set; } - - /// - /// Specifies if organization projects are enabled for this org - /// - [global::Newtonsoft.Json.JsonProperty("has_organization_projects", Required = global::Newtonsoft.Json.Required.Always)] - public bool HasOrganizationProjects { get; set; } = default!; - - /// - /// Specifies if repository projects are enabled for repositories that belong to this org - /// - [global::Newtonsoft.Json.JsonProperty("has_repository_projects", Required = global::Newtonsoft.Json.Required.Always)] - public bool HasRepositoryProjects { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("is_verified")] - public bool? IsVerified { get; set; } - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("public_repos", Required = global::Newtonsoft.Json.Required.Always)] - public int PublicRepos { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("public_gists", Required = global::Newtonsoft.Json.Required.Always)] - public int PublicGists { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("followers", Required = global::Newtonsoft.Json.Required.Always)] - public int Followers { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("following", Required = global::Newtonsoft.Json.Required.Always)] - public int Following { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)] - public string Type { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.DateTime CreatedAt { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.DateTime UpdatedAt { get; set; } = default!; - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("plan")] - public global::G.OrganizationPlan? Plan { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -219,11 +110,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.Organization? FromJson( + public static global::G.NullableOrganizationSimple? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepository.g.verified.cs index a17483431f..f114c4fff9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepository.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class NullableRepository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs index 3ecdbe19d0..a400e18561 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs @@ -12,10 +12,10 @@ public sealed partial class NullableRepositoryWebhooks { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs index fb429e2d99..b51401dd09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.NullableSimpleUser.g.verified.cs @@ -28,10 +28,10 @@ public sealed partial class NullableSimpleUser public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgRulesetConditions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgRulesetConditions.g.verified.cs index 17d41b8839..eec31dd58f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgRulesetConditions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgRulesetConditions.g.verified.cs @@ -7,7 +7,9 @@ namespace G { /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
public readonly partial struct OrgRulesetConditions : global::System.IEquatable { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFull.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFull.g.verified.cs index 1ddf92e860..bf5cb0e4c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFull.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationFull.g.verified.cs @@ -195,12 +195,6 @@ public sealed partial class OrganizationFull [global::Newtonsoft.Json.JsonProperty("disk_usage")] public int? DiskUsage { get; set; } - /// - /// Example: 8 - /// - [global::Newtonsoft.Json.JsonProperty("collaborators")] - public int? Collaborators { get; set; } - /// /// Example: org@example.com /// @@ -286,56 +280,63 @@ public sealed partial class OrganizationFull public bool? WebCommitSignoffRequired { get; set; } /// + /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
/// Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("advanced_security_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AdvancedSecurityEnabledForNewRepositories { get; set; } /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to
- /// this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("dependabot_alerts_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotAlertsEnabledForNewRepositories { get; set; } /// - /// Whether dependabot security updates are automatically enabled for new repositories and repositories transferred
- /// to this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("dependabot_security_updates_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotSecurityUpdatesEnabledForNewRepositories { get; set; } /// - /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this
- /// organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("dependency_graph_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependencyGraphEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this
- /// organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("secret_scanning_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning push protection is automatically enabled for new repositories and repositories
- /// transferred to this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningPushProtectionEnabledForNewRepositories { get; set; } /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationInvitation.g.verified.cs index 7da46310ef..97860ee25d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationInvitation.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class OrganizationInvitation /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationRole.g.verified.cs index 07f8da106f..d4c2b92887 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationRole.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class OrganizationRole /// The unique identifier of the role. /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// The name of the role. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs index 5a5d86fa85..a0523546b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs @@ -82,7 +82,7 @@ public sealed partial class OrganizationSecretScanningAlert /// /// User-friendly name for the detected secret, matching the `secret_type`.
- /// For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." ///
[global::Newtonsoft.Json.JsonProperty("secret_type_display_name")] public string? SecretTypeDisplayName { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs index 57c337045c..854e9a326a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class OrgsCreateOrUpdateCustomPropertiesRequest /// The array of custom properties to create or update. ///
[global::Newtonsoft.Json.JsonProperty("properties", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.Collections.Generic.IList Properties { get; set; } = default!; + public global::System.Collections.Generic.IList Properties { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs index 35effc571b..8a6f4eb9d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs @@ -21,6 +21,16 @@ public enum OrgsCreateOrUpdateCustomPropertyRequestValueType /// [global::System.Runtime.Serialization.EnumMember(Value="single_select")] SingleSelect, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="multi_select")] + MultiSelect, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="true_false")] + TrueFalse, } /// @@ -37,6 +47,8 @@ public static string ToValueString(this OrgsCreateOrUpdateCustomPropertyRequestV { OrgsCreateOrUpdateCustomPropertyRequestValueType.String => "string", OrgsCreateOrUpdateCustomPropertyRequestValueType.SingleSelect => "single_select", + OrgsCreateOrUpdateCustomPropertyRequestValueType.MultiSelect => "multi_select", + OrgsCreateOrUpdateCustomPropertyRequestValueType.TrueFalse => "true_false", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,6 +61,8 @@ public static string ToValueString(this OrgsCreateOrUpdateCustomPropertyRequestV { "string" => OrgsCreateOrUpdateCustomPropertyRequestValueType.String, "single_select" => OrgsCreateOrUpdateCustomPropertyRequestValueType.SingleSelect, + "multi_select" => OrgsCreateOrUpdateCustomPropertyRequestValueType.MultiSelect, + "true_false" => OrgsCreateOrUpdateCustomPropertyRequestValueType.TrueFalse, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..2ca0b4f84e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.OrgsListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..3eb0269994 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::Newtonsoft.Json.JsonProperty("bundle")] + public global::G.OrgsListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestation? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs new file mode 100644 index 0000000000..f9bec6279e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class OrgsListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundle? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..5a2a734dd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..c6fd78de9b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsUpdateRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsUpdateRequest.g.verified.cs index 475d1d20a0..0bae9579e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsUpdateRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsUpdateRequest.g.verified.cs @@ -144,51 +144,63 @@ public sealed partial class OrgsUpdateRequest public string? Blog { get; set; } /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("advanced_security_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AdvancedSecurityEnabledForNewRepositories { get; set; } /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("dependabot_alerts_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotAlertsEnabledForNewRepositories { get; set; } /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("dependabot_security_updates_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotSecurityUpdatesEnabledForNewRepositories { get; set; } /// - /// Whether dependency graph is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("dependency_graph_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependencyGraphEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("secret_scanning_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningPushProtectionEnabledForNewRepositories { get; set; } /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs index c85010fa3b..b7a9123eea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class PendingDeploymentEnvironment { /// /// The id of the environment.
- /// Example: 56780428 + /// Example: 56780428L ///
[global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PrivateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PrivateUser.g.verified.cs index 706263bdef..3b6a2577ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PrivateUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PrivateUser.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class PrivateUser public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectCard.g.verified.cs index 78c3e3ca37..e90ccd139a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectCard.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectCard.g.verified.cs @@ -17,10 +17,10 @@ public sealed partial class ProjectCard /// /// The project card's ID
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDExOlByb2plY3RDYXJkMTQ3OA== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs new file mode 100644 index 0000000000..92c9dacefa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.Models.ProjectsV2IterationSetting.g.cs + +#nullable enable + +namespace G +{ + /// + /// An iteration setting for an iteration field + /// + public sealed partial class ProjectsV2IterationSetting + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public string Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("title", Required = global::Newtonsoft.Json.Required.Always)] + public string Title { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("duration")] + public double? Duration { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_date")] + public string? StartDate { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ProjectsV2IterationSetting? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs similarity index 79% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs index 4ba8a814cc..f65d7a092e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs @@ -1,31 +1,37 @@ -//HintName: G.Models.OrgsCreateCustomOrganizationRoleRequest.g.cs +//HintName: G.Models.ProjectsV2SingleSelectOption.g.cs #nullable enable namespace G { /// - /// + /// An option for a single select field /// - public sealed partial class OrgsCreateCustomOrganizationRoleRequest + public sealed partial class ProjectsV2SingleSelectOption { /// - /// The name of the custom role. + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public string Id { get; set; } = default!; + + /// + /// /// [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] public string Name { get; set; } = default!; /// - /// A short description about the intended usage of this role or what permissions it grants. + /// /// - [global::Newtonsoft.Json.JsonProperty("description")] - public string? Description { get; set; } + [global::Newtonsoft.Json.JsonProperty("color")] + public string? Color { get; set; } /// - /// A list of additional permissions included in this role. + /// /// - [global::Newtonsoft.Json.JsonProperty("permissions", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.Collections.Generic.IList Permissions { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("description")] + public string? Description { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -56,11 +62,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgsCreateCustomOrganizationRoleRequest? FromJson( + public static global::G.ProjectsV2SingleSelectOption? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs new file mode 100644 index 0000000000..56960a18b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.Models.ProjectsV2StatusUpdate.g.cs + +#nullable enable + +namespace G +{ + /// + /// An status update belonging to a project + /// + public sealed partial class ProjectsV2StatusUpdate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public double Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("node_id", Required = global::Newtonsoft.Json.Required.Always)] + public string NodeId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("project_node_id")] + public string? ProjectNodeId { get; set; } + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("creator")] + public global::G.SimpleUser? Creator { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.ProjectsV2StatusUpdateStatus? Status { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_date")] + public global::System.DateTime? StartDate { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("target_date")] + public global::System.DateTime? TargetDate { get; set; } + + /// + /// Body of the status update
+ /// Example: The project is off to a great start! + ///
+ [global::Newtonsoft.Json.JsonProperty("body")] + public string? Body { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ProjectsV2StatusUpdate? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..7f5ccf6fea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.Models.ProjectsV2StatusUpdateStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum ProjectsV2StatusUpdateStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="INACTIVE")] + INACTIVE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ON_TRACK")] + ONTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="AT_RISK")] + ATRISK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="OFF_TRACK")] + OFFTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="COMPLETE")] + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectsV2StatusUpdateStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectsV2StatusUpdateStatus value) + { + return value switch + { + ProjectsV2StatusUpdateStatus.INACTIVE => "INACTIVE", + ProjectsV2StatusUpdateStatus.ONTRACK => "ON_TRACK", + ProjectsV2StatusUpdateStatus.ATRISK => "AT_RISK", + ProjectsV2StatusUpdateStatus.OFFTRACK => "OFF_TRACK", + ProjectsV2StatusUpdateStatus.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectsV2StatusUpdateStatus? ToEnum(string value) + { + return value switch + { + "INACTIVE" => ProjectsV2StatusUpdateStatus.INACTIVE, + "ON_TRACK" => ProjectsV2StatusUpdateStatus.ONTRACK, + "AT_RISK" => ProjectsV2StatusUpdateStatus.ATRISK, + "OFF_TRACK" => ProjectsV2StatusUpdateStatus.OFFTRACK, + "COMPLETE" => ProjectsV2StatusUpdateStatus.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PublicUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PublicUser.g.verified.cs index eeff15ded3..bd9931d19b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PublicUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PublicUser.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class PublicUser /// ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequest.g.verified.cs index 857776ee16..cf59566ed7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequest.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class PullRequest public string Url { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDExOlB1bGxSZXF1ZXN0MQ== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestBaseUser.g.verified.cs index ef11b47407..20104002ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestBaseUser.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class PullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestHeadUser.g.verified.cs index 18bb567ca1..3162069ed4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestHeadUser.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class PullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimal.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimal.g.verified.cs index 563aff0c3a..e4367d6679 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimal.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimal.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PullRequestMinimal /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs index 4656618772..8773b8bf6d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PullRequestMinimalBaseRepo /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs index cb9e8d5ec5..01de7660a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PullRequestMinimalHeadRepo /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReview.g.verified.cs index c0191f0687..ca105ff5e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReview.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class PullRequestReview { /// /// Unique identifier of the review
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReviewComment.g.verified.cs index f421d847bb..f288d94073 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestReviewComment.g.verified.cs @@ -18,17 +18,17 @@ public sealed partial class PullRequestReviewComment /// /// The ID of the pull request review to which the comment belongs.
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("pull_request_review_id", Required = global::Newtonsoft.Json.Required.Always)] - public int? PullRequestReviewId { get; set; } = default!; + public long? PullRequestReviewId { get; set; } = default!; /// /// The ID of the pull request review comment.
- /// Example: 1 + /// Example: 1L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// The node ID of the pull request review comment.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestSimple.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestSimple.g.verified.cs index d6b5ee6562..04ea6082bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestSimple.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.PullRequestSimple.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class PullRequestSimple public string Url { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDExOlB1bGxSZXF1ZXN0MQ== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs similarity index 95% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs index aad2484451..015079ed2f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposAddAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposAddAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposAddAppAccessRestrictionsRequest2 + public sealed partial class ReposAddAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposAddAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddAppAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs index 3c35a8f32b..0ef8138fd0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposAddUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposAddUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposAddUserAccessRestrictionsRequest2 + public sealed partial class ReposAddUserAccessRestrictionsRequest { /// /// The username for users @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposAddUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddUserAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs new file mode 100644 index 0000000000..da435af3fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.ReposCreateAttestationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequest + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::Newtonsoft.Json.JsonProperty("bundle", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.ReposCreateAttestationRequestBundle Bundle { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs new file mode 100644 index 0000000000..056fccbcb8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class ReposCreateAttestationRequestBundle + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundle? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..48e9683efc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundleDsseEnvelope? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..59753a299b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundleVerificationMaterial? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs new file mode 100644 index 0000000000..2b1e9afd93 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ReposCreateAttestationResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationResponse + { + /// + /// The ID of the attestation. + /// + [global::Newtonsoft.Json.JsonProperty("id")] + public int? Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs index 699d00b5cb..37caed8443 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs @@ -16,7 +16,9 @@ public sealed partial class ReposCreateDeploymentStatusRequest public global::G.ReposCreateDeploymentStatusRequestState State { get; set; } = default!; /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. ///
[global::Newtonsoft.Json.JsonProperty("target_url")] public string? TargetUrl { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs index ac3f78c147..a437235979 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs @@ -135,6 +135,7 @@ public sealed partial class ReposCreateForAuthenticatedUserRequest public bool? DeleteBranchOnMerge { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -152,6 +153,7 @@ public sealed partial class ReposCreateForAuthenticatedUserRequest public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs index be04bf10d0..1c66d68694 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs index d37d0a715b..158b45a78f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs index 181ecd6309..f550b5673e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs @@ -145,6 +145,7 @@ public sealed partial class ReposCreateInOrgRequest public bool? UseSquashPrTitleAsDefault { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -162,6 +163,7 @@ public sealed partial class ReposCreateInOrgRequest public global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs index 6124667740..aed513cbab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs index d7f16bc2bc..e7cd4ed601 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs index 75f0e108c1..aaaf7dfec4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs @@ -17,10 +17,10 @@ public sealed partial class ReposCreateOrgRulesetRequest /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::Newtonsoft.Json.JsonProperty("target")] - public global::G.ReposCreateOrgRulesetRequestTarget? Target { get; set; } + public global::G.ReposCreateOrgRulesetRequestTarget? Target { get; set; } = global::G.ReposCreateOrgRulesetRequestTarget.Branch; /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -35,7 +35,9 @@ public sealed partial class ReposCreateOrgRulesetRequest public global::System.Collections.Generic.IList? BypassActors { get; set; } /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
[global::Newtonsoft.Json.JsonProperty("conditions")] public global::G.OrgRulesetConditions? Conditions { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs index 2e5c07bc31..f1335d55f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs @@ -6,7 +6,7 @@ namespace G { /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::System.Runtime.Serialization.DataContract] public enum ReposCreateOrgRulesetRequestTarget @@ -22,7 +22,7 @@ public enum ReposCreateOrgRulesetRequestTarget [global::System.Runtime.Serialization.EnumMember(Value="tag")] Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// [global::System.Runtime.Serialization.EnumMember(Value="push")] Push, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs index cf25f6bd45..4e8626953e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs @@ -17,10 +17,10 @@ public sealed partial class ReposCreateRepoRulesetRequest /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::Newtonsoft.Json.JsonProperty("target")] - public global::G.ReposCreateRepoRulesetRequestTarget? Target { get; set; } + public global::G.ReposCreateRepoRulesetRequestTarget? Target { get; set; } = global::G.ReposCreateRepoRulesetRequestTarget.Branch; /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs index cf85e0b54c..7cba0ecddd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs @@ -6,7 +6,7 @@ namespace G { /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::System.Runtime.Serialization.DataContract] public enum ReposCreateRepoRulesetRequestTarget @@ -22,7 +22,7 @@ public enum ReposCreateRepoRulesetRequestTarget [global::System.Runtime.Serialization.EnumMember(Value="tag")] Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// [global::System.Runtime.Serialization.EnumMember(Value="push")] Push, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponse.g.verified.cs new file mode 100644 index 0000000000..9356756231 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponse.g.verified.cs @@ -0,0 +1,340 @@ +//HintName: G.Models.ReposGetContentResponse.g.cs +using System.Linq; +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public readonly partial struct ReposGetContentResponse : global::System.IEquatable + { + /// + /// A list of directory items + /// +#if NET6_0_OR_GREATER + public global::System.Collections.Generic.IList? Value1 { get; init; } +#else + public global::System.Collections.Generic.IList? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public ReposGetContentResponse(global::System.Collections.Generic.IList? value) + { + Value1 = value; + } + + /// + /// Content File + /// +#if NET6_0_OR_GREATER + public global::G.ContentFile? File { get; init; } +#else + public global::G.ContentFile? File { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(File))] +#endif + public bool IsFile => File != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentFile value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentFile?(ReposGetContentResponse @this) => @this.File; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentFile? value) + { + File = value; + } + + /// + /// An object describing a symlink + /// +#if NET6_0_OR_GREATER + public global::G.ContentSymlink? Symlink { get; init; } +#else + public global::G.ContentSymlink? Symlink { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Symlink))] +#endif + public bool IsSymlink => Symlink != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentSymlink value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentSymlink?(ReposGetContentResponse @this) => @this.Symlink; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentSymlink? value) + { + Symlink = value; + } + + /// + /// An object describing a submodule + /// +#if NET6_0_OR_GREATER + public global::G.ContentSubmodule? Submodule { get; init; } +#else + public global::G.ContentSubmodule? Submodule { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Submodule))] +#endif + public bool IsSubmodule => Submodule != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentSubmodule value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentSubmodule?(ReposGetContentResponse @this) => @this.Submodule; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentSubmodule? value) + { + Submodule = value; + } + + /// + /// + /// + public ReposGetContentResponse( + global::System.Collections.Generic.IList? value1, + global::G.ContentFile? file, + global::G.ContentSymlink? symlink, + global::G.ContentSubmodule? submodule + ) + { + Value1 = value1; + File = file; + Symlink = symlink; + Submodule = submodule; + } + + /// + /// + /// + public object? Object => + Submodule as object ?? + Symlink as object ?? + File as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 && !IsFile && !IsSymlink && !IsSubmodule || !IsValue1 && IsFile && !IsSymlink && !IsSubmodule || !IsValue1 && !IsFile && IsSymlink && !IsSubmodule || !IsValue1 && !IsFile && !IsSymlink && IsSubmodule; + } + + /// + /// + /// + public TResult? Match( + global::System.Func?, TResult>? value1 = null, + global::System.Func? file = null, + global::System.Func? symlink = null, + global::System.Func? submodule = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1 && value1 != null) + { + return value1(Value1!); + } + else if (IsFile && file != null) + { + return file(File!); + } + else if (IsSymlink && symlink != null) + { + return symlink(Symlink!); + } + else if (IsSubmodule && submodule != null) + { + return submodule(Submodule!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action?>? value1 = null, + global::System.Action? file = null, + global::System.Action? symlink = null, + global::System.Action? submodule = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsFile) + { + file?.Invoke(File!); + } + else if (IsSymlink) + { + symlink?.Invoke(Symlink!); + } + else if (IsSubmodule) + { + submodule?.Invoke(Submodule!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(global::System.Collections.Generic.IList), + File, + typeof(global::G.ContentFile), + Symlink, + typeof(global::G.ContentSymlink), + Submodule, + typeof(global::G.ContentSubmodule), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ReposGetContentResponse other) + { + return + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(File, other.File) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Symlink, other.Symlink) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Submodule, other.Submodule) + ; + } + + /// + /// + /// + public static bool operator ==(ReposGetContentResponse obj1, ReposGetContentResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ReposGetContentResponse obj1, ReposGetContentResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ReposGetContentResponse o && Equals(o); + } + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposGetContentResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs new file mode 100644 index 0000000000..6301cf9586 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ReposGetContentResponseDiscriminator.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposGetContentResponseDiscriminator + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("type")] + public global::G.ReposGetContentResponseDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposGetContentResponseDiscriminator? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs new file mode 100644 index 0000000000..54eb3efb16 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.ReposGetContentResponseDiscriminatorType.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum ReposGetContentResponseDiscriminatorType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="array")] + Array, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="file")] + File, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="symlink")] + Symlink, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="submodule")] + Submodule, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposGetContentResponseDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposGetContentResponseDiscriminatorType value) + { + return value switch + { + ReposGetContentResponseDiscriminatorType.Array => "array", + ReposGetContentResponseDiscriminatorType.File => "file", + ReposGetContentResponseDiscriminatorType.Symlink => "symlink", + ReposGetContentResponseDiscriminatorType.Submodule => "submodule", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposGetContentResponseDiscriminatorType? ToEnum(string value) + { + return value switch + { + "array" => ReposGetContentResponseDiscriminatorType.Array, + "file" => ReposGetContentResponseDiscriminatorType.File, + "symlink" => ReposGetContentResponseDiscriminatorType.Symlink, + "submodule" => ReposGetContentResponseDiscriminatorType.Submodule, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..97346d3e73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ReposListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..adf9efa95b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::Newtonsoft.Json.JsonProperty("bundle")] + public global::G.ReposListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestation? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs new file mode 100644 index 0000000000..04e40e4191 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class ReposListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundle? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..7ec5502304 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..65cef33ad3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs index 49e8337310..7f560d24eb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposRemoveAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposRemoveAppAccessRestrictionsRequest2 + public sealed partial class ReposRemoveAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposRemoveAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveAppAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs similarity index 96% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs index 3bf412ad0c..7106b7a0cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposRemoveUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposRemoveUserAccessRestrictionsRequest2 + public sealed partial class ReposRemoveUserAccessRestrictionsRequest { /// /// The username for users @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposRemoveUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveUserAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs similarity index 95% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs index d2229c2655..1bc4999646 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposSetAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposSetAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposSetAppAccessRestrictionsRequest2 + public sealed partial class ReposSetAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposSetAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetAppAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs index 733a16ea46..13ae35d6b9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposSetUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposSetUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposSetUserAccessRestrictionsRequest2 + public sealed partial class ReposSetUserAccessRestrictionsRequest { /// /// The username for users @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposSetUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetUserAccessRestrictionsRequest? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs index eebe87c23b..b769adaa14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs @@ -16,8 +16,7 @@ public sealed partial class ReposUpdateOrgRulesetRequest public string? Name { get; set; } /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::Newtonsoft.Json.JsonProperty("target")] public global::G.ReposUpdateOrgRulesetRequestTarget? Target { get; set; } @@ -35,7 +34,9 @@ public sealed partial class ReposUpdateOrgRulesetRequest public global::System.Collections.Generic.IList? BypassActors { get; set; } /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
[global::Newtonsoft.Json.JsonProperty("conditions")] public global::G.OrgRulesetConditions? Conditions { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs index 33734e6076..624dba2b85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Runtime.Serialization.DataContract] public enum ReposUpdateOrgRulesetRequestTarget @@ -22,7 +21,7 @@ public enum ReposUpdateOrgRulesetRequestTarget [global::System.Runtime.Serialization.EnumMember(Value="tag")] Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// [global::System.Runtime.Serialization.EnumMember(Value="push")] Push, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs index ebfa6bb7f6..5d4bc225fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs @@ -16,8 +16,7 @@ public sealed partial class ReposUpdateRepoRulesetRequest public string? Name { get; set; } /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::Newtonsoft.Json.JsonProperty("target")] public global::G.ReposUpdateRepoRulesetRequestTarget? Target { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs index e6db86f4ef..0ae8b8bdd2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Runtime.Serialization.DataContract] public enum ReposUpdateRepoRulesetRequestTarget @@ -22,7 +21,7 @@ public enum ReposUpdateRepoRulesetRequestTarget [global::System.Runtime.Serialization.EnumMember(Value="tag")] Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// [global::System.Runtime.Serialization.EnumMember(Value="push")] Push, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequest.g.verified.cs index cdbe12ae73..5b1a67e50a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequest.g.verified.cs @@ -136,6 +136,7 @@ public sealed partial class ReposUpdateRequest public bool? UseSquashPrTitleAsDefault { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -153,6 +154,7 @@ public sealed partial class ReposUpdateRequest public global::G.ReposUpdateRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs index 41c715746c..f05c03ae44 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs index c2844d73cf..73f614d2f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs @@ -31,6 +31,18 @@ public sealed partial class ReposUpdateRequestSecurityAndAnalysis [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_ai_detection")] + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + + /// + /// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..ec433d6bb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + /// + public sealed partial class ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection + { + /// + /// Can be `enabled` or `disabled`. + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public string? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..584708ef28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + /// + public sealed partial class ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// Can be `enabled` or `disabled`. + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public string? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs index a57b34b392..c7ad718ba5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Repository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Repository.g.verified.cs index a6291010ae..6e6bcc1ce1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Repository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.Repository.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class Repository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryAdvisory.g.verified.cs index d14c8b4a23..6354cc10b9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryAdvisory.g.verified.cs @@ -133,6 +133,12 @@ public sealed partial class RepositoryAdvisory [global::Newtonsoft.Json.JsonProperty("cvss", Required = global::Newtonsoft.Json.Required.Always)] public global::G.RepositoryAdvisoryCvss? Cvss { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// Included only in responses /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryInvitation.g.verified.cs index ed850c3880..defc859aca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryInvitation.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class RepositoryInvitation { /// /// Unique identifier of the repository invitation.
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Minimal Repository diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRule.g.verified.cs index 4c6db04fa1..47e92a3c26 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRule.g.verified.cs @@ -157,12 +157,12 @@ public RepositoryRule(global::G.RepositoryRuleRequiredLinearHistory? value) } /// - /// Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. + /// Merges must be performed via a merge queue. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredDeployments? Value5 { get; init; } + public global::G.RepositoryRuleMergeQueue? Value5 { get; init; } #else - public global::G.RepositoryRuleRequiredDeployments? Value5 { get; } + public global::G.RepositoryRuleMergeQueue? Value5 { get; } #endif /// @@ -176,28 +176,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredLinearHistory? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredDeployments value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleMergeQueue value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredDeployments?(RepositoryRule @this) => @this.Value5; + public static implicit operator global::G.RepositoryRuleMergeQueue?(RepositoryRule @this) => @this.Value5; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) + public RepositoryRule(global::G.RepositoryRuleMergeQueue? value) { Value5 = value; } /// - /// Commits pushed to matching refs must have verified signatures. + /// Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredSignatures? Value6 { get; init; } + public global::G.RepositoryRuleRequiredDeployments? Value6 { get; init; } #else - public global::G.RepositoryRuleRequiredSignatures? Value6 { get; } + public global::G.RepositoryRuleRequiredDeployments? Value6 { get; } #endif /// @@ -211,28 +211,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredSignatures value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredDeployments value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredSignatures?(RepositoryRule @this) => @this.Value6; + public static implicit operator global::G.RepositoryRuleRequiredDeployments?(RepositoryRule @this) => @this.Value6; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) + public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) { Value6 = value; } /// - /// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + /// Commits pushed to matching refs must have verified signatures. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRulePullRequest? Value7 { get; init; } + public global::G.RepositoryRuleRequiredSignatures? Value7 { get; init; } #else - public global::G.RepositoryRulePullRequest? Value7 { get; } + public global::G.RepositoryRuleRequiredSignatures? Value7 { get; } #endif /// @@ -246,28 +246,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRulePullRequest value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredSignatures value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRulePullRequest?(RepositoryRule @this) => @this.Value7; + public static implicit operator global::G.RepositoryRuleRequiredSignatures?(RepositoryRule @this) => @this.Value7; /// /// /// - public RepositoryRule(global::G.RepositoryRulePullRequest? value) + public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) { Value7 = value; } /// - /// Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. + /// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredStatusChecks? Value8 { get; init; } + public global::G.RepositoryRulePullRequest? Value8 { get; init; } #else - public global::G.RepositoryRuleRequiredStatusChecks? Value8 { get; } + public global::G.RepositoryRulePullRequest? Value8 { get; } #endif /// @@ -281,28 +281,28 @@ public RepositoryRule(global::G.RepositoryRulePullRequest? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRulePullRequest value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredStatusChecks?(RepositoryRule @this) => @this.Value8; + public static implicit operator global::G.RepositoryRulePullRequest?(RepositoryRule @this) => @this.Value8; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) + public RepositoryRule(global::G.RepositoryRulePullRequest? value) { Value8 = value; } /// - /// Prevent users with push access from force pushing to refs. + /// Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleNonFastForward? Value9 { get; init; } + public global::G.RepositoryRuleRequiredStatusChecks? Value9 { get; init; } #else - public global::G.RepositoryRuleNonFastForward? Value9 { get; } + public global::G.RepositoryRuleRequiredStatusChecks? Value9 { get; } #endif /// @@ -316,28 +316,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleNonFastForward value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleNonFastForward?(RepositoryRule @this) => @this.Value9; + public static implicit operator global::G.RepositoryRuleRequiredStatusChecks?(RepositoryRule @this) => @this.Value9; /// /// /// - public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) + public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) { Value9 = value; } /// - /// Parameters to be used for the commit_message_pattern rule + /// Prevent users with push access from force pushing to refs. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitMessagePattern? Value10 { get; init; } + public global::G.RepositoryRuleNonFastForward? Value10 { get; init; } #else - public global::G.RepositoryRuleCommitMessagePattern? Value10 { get; } + public global::G.RepositoryRuleNonFastForward? Value10 { get; } #endif /// @@ -351,28 +351,28 @@ public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitMessagePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleNonFastForward value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitMessagePattern?(RepositoryRule @this) => @this.Value10; + public static implicit operator global::G.RepositoryRuleNonFastForward?(RepositoryRule @this) => @this.Value10; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) + public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) { Value10 = value; } /// - /// Parameters to be used for the commit_author_email_pattern rule + /// Parameters to be used for the commit_message_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitAuthorEmailPattern? Value11 { get; init; } + public global::G.RepositoryRuleCommitMessagePattern? Value11 { get; init; } #else - public global::G.RepositoryRuleCommitAuthorEmailPattern? Value11 { get; } + public global::G.RepositoryRuleCommitMessagePattern? Value11 { get; } #endif /// @@ -386,28 +386,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitMessagePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitAuthorEmailPattern?(RepositoryRule @this) => @this.Value11; + public static implicit operator global::G.RepositoryRuleCommitMessagePattern?(RepositoryRule @this) => @this.Value11; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) { Value11 = value; } /// - /// Parameters to be used for the committer_email_pattern rule + /// Parameters to be used for the commit_author_email_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitterEmailPattern? Value12 { get; init; } + public global::G.RepositoryRuleCommitAuthorEmailPattern? Value12 { get; init; } #else - public global::G.RepositoryRuleCommitterEmailPattern? Value12 { get; } + public global::G.RepositoryRuleCommitAuthorEmailPattern? Value12 { get; } #endif /// @@ -421,28 +421,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitterEmailPattern?(RepositoryRule @this) => @this.Value12; + public static implicit operator global::G.RepositoryRuleCommitAuthorEmailPattern?(RepositoryRule @this) => @this.Value12; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) { Value12 = value; } /// - /// Parameters to be used for the branch_name_pattern rule + /// Parameters to be used for the committer_email_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleBranchNamePattern? Value13 { get; init; } + public global::G.RepositoryRuleCommitterEmailPattern? Value13 { get; init; } #else - public global::G.RepositoryRuleBranchNamePattern? Value13 { get; } + public global::G.RepositoryRuleCommitterEmailPattern? Value13 { get; } #endif /// @@ -456,28 +456,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleBranchNamePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleBranchNamePattern?(RepositoryRule @this) => @this.Value13; + public static implicit operator global::G.RepositoryRuleCommitterEmailPattern?(RepositoryRule @this) => @this.Value13; /// /// /// - public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) { Value13 = value; } /// - /// Parameters to be used for the tag_name_pattern rule + /// Parameters to be used for the branch_name_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleTagNamePattern? Value14 { get; init; } + public global::G.RepositoryRuleBranchNamePattern? Value14 { get; init; } #else - public global::G.RepositoryRuleTagNamePattern? Value14 { get; } + public global::G.RepositoryRuleBranchNamePattern? Value14 { get; } #endif /// @@ -491,29 +491,28 @@ public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleTagNamePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleBranchNamePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleTagNamePattern?(RepositoryRule @this) => @this.Value14; + public static implicit operator global::G.RepositoryRuleBranchNamePattern?(RepositoryRule @this) => @this.Value14; /// /// /// - public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) + public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) { Value14 = value; } /// - /// Note: file_path_restriction is in beta and subject to change.
- /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. + /// Parameters to be used for the tag_name_pattern rule ///
#if NET6_0_OR_GREATER - public global::G.RepositoryRuleVariant15? Value15 { get; init; } + public global::G.RepositoryRuleTagNamePattern? Value15 { get; init; } #else - public global::G.RepositoryRuleVariant15? Value15 { get; } + public global::G.RepositoryRuleTagNamePattern? Value15 { get; } #endif /// @@ -527,24 +526,23 @@ public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleVariant15 value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleTagNamePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleVariant15?(RepositoryRule @this) => @this.Value15; + public static implicit operator global::G.RepositoryRuleTagNamePattern?(RepositoryRule @this) => @this.Value15; /// /// /// - public RepositoryRule(global::G.RepositoryRuleVariant15? value) + public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) { Value15 = value; } /// - /// Note: max_file_path_length is in beta and subject to change.
- /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant16? Value16 { get; init; } @@ -579,8 +577,7 @@ public RepositoryRule(global::G.RepositoryRuleVariant16? value) } /// - /// Note: file_extension_restriction is in beta and subject to change.
- /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. + /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant17? Value17 { get; init; } @@ -615,8 +612,7 @@ public RepositoryRule(global::G.RepositoryRuleVariant17? value) } /// - /// Note: max_file_size is in beta and subject to change.
- /// Prevent commits that exceed a specified file size limit from being pushed to the commit. + /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant18? Value18 { get; init; } @@ -651,12 +647,12 @@ public RepositoryRule(global::G.RepositoryRuleVariant18? value) } /// - /// Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + /// Prevent commits that exceed a specified file size limit from being pushed to the commit. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleWorkflows? Value19 { get; init; } + public global::G.RepositoryRuleVariant19? Value19 { get; init; } #else - public global::G.RepositoryRuleWorkflows? Value19 { get; } + public global::G.RepositoryRuleVariant19? Value19 { get; } #endif /// @@ -670,28 +666,28 @@ public RepositoryRule(global::G.RepositoryRuleVariant18? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleWorkflows value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleVariant19 value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleWorkflows?(RepositoryRule @this) => @this.Value19; + public static implicit operator global::G.RepositoryRuleVariant19?(RepositoryRule @this) => @this.Value19; /// /// /// - public RepositoryRule(global::G.RepositoryRuleWorkflows? value) + public RepositoryRule(global::G.RepositoryRuleVariant19? value) { Value19 = value; } /// - /// Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. + /// Require all changes made to a targeted branch to pass the specified workflows before they can be merged. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCodeScanning? Value20 { get; init; } + public global::G.RepositoryRuleWorkflows? Value20 { get; init; } #else - public global::G.RepositoryRuleCodeScanning? Value20 { get; } + public global::G.RepositoryRuleWorkflows? Value20 { get; } #endif /// @@ -702,6 +698,41 @@ public RepositoryRule(global::G.RepositoryRuleWorkflows? value) #endif public bool IsValue20 => Value20 != null; + /// + /// + /// + public static implicit operator RepositoryRule(global::G.RepositoryRuleWorkflows value) => new RepositoryRule(value); + + /// + /// + /// + public static implicit operator global::G.RepositoryRuleWorkflows?(RepositoryRule @this) => @this.Value20; + + /// + /// + /// + public RepositoryRule(global::G.RepositoryRuleWorkflows? value) + { + Value20 = value; + } + + /// + /// Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. + /// +#if NET6_0_OR_GREATER + public global::G.RepositoryRuleCodeScanning? Value21 { get; init; } +#else + public global::G.RepositoryRuleCodeScanning? Value21 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value21))] +#endif + public bool IsValue21 => Value21 != null; + /// /// /// @@ -710,14 +741,14 @@ public RepositoryRule(global::G.RepositoryRuleWorkflows? value) /// /// /// - public static implicit operator global::G.RepositoryRuleCodeScanning?(RepositoryRule @this) => @this.Value20; + public static implicit operator global::G.RepositoryRuleCodeScanning?(RepositoryRule @this) => @this.Value21; /// /// /// public RepositoryRule(global::G.RepositoryRuleCodeScanning? value) { - Value20 = value; + Value21 = value; } /// @@ -729,22 +760,23 @@ public RepositoryRule( global::G.RepositoryRuleUpdate? value2, global::G.RepositoryRuleDeletion? value3, global::G.RepositoryRuleRequiredLinearHistory? value4, - global::G.RepositoryRuleRequiredDeployments? value5, - global::G.RepositoryRuleRequiredSignatures? value6, - global::G.RepositoryRulePullRequest? value7, - global::G.RepositoryRuleRequiredStatusChecks? value8, - global::G.RepositoryRuleNonFastForward? value9, - global::G.RepositoryRuleCommitMessagePattern? value10, - global::G.RepositoryRuleCommitAuthorEmailPattern? value11, - global::G.RepositoryRuleCommitterEmailPattern? value12, - global::G.RepositoryRuleBranchNamePattern? value13, - global::G.RepositoryRuleTagNamePattern? value14, - global::G.RepositoryRuleVariant15? value15, + global::G.RepositoryRuleMergeQueue? value5, + global::G.RepositoryRuleRequiredDeployments? value6, + global::G.RepositoryRuleRequiredSignatures? value7, + global::G.RepositoryRulePullRequest? value8, + global::G.RepositoryRuleRequiredStatusChecks? value9, + global::G.RepositoryRuleNonFastForward? value10, + global::G.RepositoryRuleCommitMessagePattern? value11, + global::G.RepositoryRuleCommitAuthorEmailPattern? value12, + global::G.RepositoryRuleCommitterEmailPattern? value13, + global::G.RepositoryRuleBranchNamePattern? value14, + global::G.RepositoryRuleTagNamePattern? value15, global::G.RepositoryRuleVariant16? value16, global::G.RepositoryRuleVariant17? value17, global::G.RepositoryRuleVariant18? value18, - global::G.RepositoryRuleWorkflows? value19, - global::G.RepositoryRuleCodeScanning? value20 + global::G.RepositoryRuleVariant19? value19, + global::G.RepositoryRuleWorkflows? value20, + global::G.RepositoryRuleCodeScanning? value21 ) { Type = type; @@ -769,12 +801,14 @@ public RepositoryRule( Value18 = value18; Value19 = value19; Value20 = value20; + Value21 = value21; } /// /// /// public object? Object => + Value21 as object ?? Value20 as object ?? Value19 as object ?? Value18 as object ?? @@ -802,7 +836,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && IsValue20; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && IsValue21; } /// @@ -813,22 +847,23 @@ public bool Validate() global::System.Func? value2 = null, global::System.Func? value3 = null, global::System.Func? value4 = null, - global::System.Func? value5 = null, - global::System.Func? value6 = null, - global::System.Func? value7 = null, - global::System.Func? value8 = null, - global::System.Func? value9 = null, - global::System.Func? value10 = null, - global::System.Func? value11 = null, - global::System.Func? value12 = null, - global::System.Func? value13 = null, - global::System.Func? value14 = null, - global::System.Func? value15 = null, + global::System.Func? value5 = null, + global::System.Func? value6 = null, + global::System.Func? value7 = null, + global::System.Func? value8 = null, + global::System.Func? value9 = null, + global::System.Func? value10 = null, + global::System.Func? value11 = null, + global::System.Func? value12 = null, + global::System.Func? value13 = null, + global::System.Func? value14 = null, + global::System.Func? value15 = null, global::System.Func? value16 = null, global::System.Func? value17 = null, global::System.Func? value18 = null, - global::System.Func? value19 = null, - global::System.Func? value20 = null, + global::System.Func? value19 = null, + global::System.Func? value20 = null, + global::System.Func? value21 = null, bool validate = true) { if (validate) @@ -916,6 +951,10 @@ public bool Validate() { return value20(Value20!); } + else if (IsValue21 && value21 != null) + { + return value21(Value21!); + } return default(TResult); } @@ -928,22 +967,23 @@ public void Match( global::System.Action? value2 = null, global::System.Action? value3 = null, global::System.Action? value4 = null, - global::System.Action? value5 = null, - global::System.Action? value6 = null, - global::System.Action? value7 = null, - global::System.Action? value8 = null, - global::System.Action? value9 = null, - global::System.Action? value10 = null, - global::System.Action? value11 = null, - global::System.Action? value12 = null, - global::System.Action? value13 = null, - global::System.Action? value14 = null, - global::System.Action? value15 = null, + global::System.Action? value5 = null, + global::System.Action? value6 = null, + global::System.Action? value7 = null, + global::System.Action? value8 = null, + global::System.Action? value9 = null, + global::System.Action? value10 = null, + global::System.Action? value11 = null, + global::System.Action? value12 = null, + global::System.Action? value13 = null, + global::System.Action? value14 = null, + global::System.Action? value15 = null, global::System.Action? value16 = null, global::System.Action? value17 = null, global::System.Action? value18 = null, - global::System.Action? value19 = null, - global::System.Action? value20 = null, + global::System.Action? value19 = null, + global::System.Action? value20 = null, + global::System.Action? value21 = null, bool validate = true) { if (validate) @@ -1031,6 +1071,10 @@ public void Match( { value20?.Invoke(Value20!); } + else if (IsValue21) + { + value21?.Invoke(Value21!); + } } /// @@ -1049,27 +1093,27 @@ public override int GetHashCode() Value4, typeof(global::G.RepositoryRuleRequiredLinearHistory), Value5, - typeof(global::G.RepositoryRuleRequiredDeployments), + typeof(global::G.RepositoryRuleMergeQueue), Value6, - typeof(global::G.RepositoryRuleRequiredSignatures), + typeof(global::G.RepositoryRuleRequiredDeployments), Value7, - typeof(global::G.RepositoryRulePullRequest), + typeof(global::G.RepositoryRuleRequiredSignatures), Value8, - typeof(global::G.RepositoryRuleRequiredStatusChecks), + typeof(global::G.RepositoryRulePullRequest), Value9, - typeof(global::G.RepositoryRuleNonFastForward), + typeof(global::G.RepositoryRuleRequiredStatusChecks), Value10, - typeof(global::G.RepositoryRuleCommitMessagePattern), + typeof(global::G.RepositoryRuleNonFastForward), Value11, - typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), + typeof(global::G.RepositoryRuleCommitMessagePattern), Value12, - typeof(global::G.RepositoryRuleCommitterEmailPattern), + typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), Value13, - typeof(global::G.RepositoryRuleBranchNamePattern), + typeof(global::G.RepositoryRuleCommitterEmailPattern), Value14, - typeof(global::G.RepositoryRuleTagNamePattern), + typeof(global::G.RepositoryRuleBranchNamePattern), Value15, - typeof(global::G.RepositoryRuleVariant15), + typeof(global::G.RepositoryRuleTagNamePattern), Value16, typeof(global::G.RepositoryRuleVariant16), Value17, @@ -1077,8 +1121,10 @@ public override int GetHashCode() Value18, typeof(global::G.RepositoryRuleVariant18), Value19, - typeof(global::G.RepositoryRuleWorkflows), + typeof(global::G.RepositoryRuleVariant19), Value20, + typeof(global::G.RepositoryRuleWorkflows), + Value21, typeof(global::G.RepositoryRuleCodeScanning), }; const int offset = unchecked((int)2166136261); @@ -1099,22 +1145,23 @@ public bool Equals(RepositoryRule other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value17, other.Value17) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value18, other.Value18) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value19, other.Value19) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value20, other.Value20) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value19, other.Value19) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value20, other.Value20) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value21, other.Value21) ; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs index 9f8a7d30d2..cd37b48ee6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs @@ -155,9 +155,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value5 { get; init; } + public global::G.AllOf? Value5 { get; init; } #else - public global::G.AllOf? Value5 { get; } + public global::G.AllOf? Value5 { get; } #endif /// @@ -171,17 +171,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value5 = value; } @@ -190,9 +190,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value6 { get; init; } + public global::G.AllOf? Value6 { get; init; } #else - public global::G.AllOf? Value6 { get; } + public global::G.AllOf? Value6 { get; } #endif /// @@ -206,17 +206,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value6 = value; } @@ -225,9 +225,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value7 { get; init; } + public global::G.AllOf? Value7 { get; init; } #else - public global::G.AllOf? Value7 { get; } + public global::G.AllOf? Value7 { get; } #endif /// @@ -241,17 +241,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value7 = value; } @@ -260,9 +260,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value8 { get; init; } + public global::G.AllOf? Value8 { get; init; } #else - public global::G.AllOf? Value8 { get; } + public global::G.AllOf? Value8 { get; } #endif /// @@ -276,17 +276,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value8 = value; } @@ -295,9 +295,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value9 { get; init; } + public global::G.AllOf? Value9 { get; init; } #else - public global::G.AllOf? Value9 { get; } + public global::G.AllOf? Value9 { get; } #endif /// @@ -311,17 +311,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value9 = value; } @@ -330,9 +330,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value10 { get; init; } + public global::G.AllOf? Value10 { get; init; } #else - public global::G.AllOf? Value10 { get; } + public global::G.AllOf? Value10 { get; } #endif /// @@ -346,17 +346,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value10 = value; } @@ -365,9 +365,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value11 { get; init; } + public global::G.AllOf? Value11 { get; init; } #else - public global::G.AllOf? Value11 { get; } + public global::G.AllOf? Value11 { get; } #endif /// @@ -381,17 +381,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value11 = value; } @@ -400,9 +400,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value12 { get; init; } + public global::G.AllOf? Value12 { get; init; } #else - public global::G.AllOf? Value12 { get; } + public global::G.AllOf? Value12 { get; } #endif /// @@ -416,17 +416,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value12 = value; } @@ -435,9 +435,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value13 { get; init; } + public global::G.AllOf? Value13 { get; init; } #else - public global::G.AllOf? Value13 { get; } + public global::G.AllOf? Value13 { get; } #endif /// @@ -451,17 +451,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value13 = value; } @@ -470,9 +470,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value14 { get; init; } + public global::G.AllOf? Value14 { get; init; } #else - public global::G.AllOf? Value14 { get; } + public global::G.AllOf? Value14 { get; } #endif /// @@ -486,17 +486,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value14 = value; } @@ -505,9 +505,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value15 { get; init; } + public global::G.AllOf? Value15 { get; init; } #else - public global::G.AllOf? Value15 { get; } + public global::G.AllOf? Value15 { get; } #endif /// @@ -521,17 +521,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value15 = value; } @@ -540,9 +540,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value16 { get; init; } + public global::G.AllOf? Value16 { get; init; } #else - public global::G.AllOf? Value16 { get; } + public global::G.AllOf? Value16 { get; } #endif /// @@ -553,6 +553,41 @@ public RepositoryRuleDetailed(global::G.AllOf Value16 != null; + /// + /// + /// + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + + /// + /// + /// + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; + + /// + /// + /// + public RepositoryRuleDetailed(global::G.AllOf? value) + { + Value16 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::G.AllOf? Value17 { get; init; } +#else + public global::G.AllOf? Value17 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value17))] +#endif + public bool IsValue17 => Value17 != null; + /// /// /// @@ -561,14 +596,14 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value17; /// /// /// public RepositoryRuleDetailed(global::G.AllOf? value) { - Value16 = value; + Value17 = value; } /// @@ -579,18 +614,19 @@ public RepositoryRuleDetailed( global::G.AllOf? value2, global::G.AllOf? value3, global::G.AllOf? value4, - global::G.AllOf? value5, - global::G.AllOf? value6, - global::G.AllOf? value7, - global::G.AllOf? value8, - global::G.AllOf? value9, - global::G.AllOf? value10, - global::G.AllOf? value11, - global::G.AllOf? value12, - global::G.AllOf? value13, - global::G.AllOf? value14, - global::G.AllOf? value15, - global::G.AllOf? value16 + global::G.AllOf? value5, + global::G.AllOf? value6, + global::G.AllOf? value7, + global::G.AllOf? value8, + global::G.AllOf? value9, + global::G.AllOf? value10, + global::G.AllOf? value11, + global::G.AllOf? value12, + global::G.AllOf? value13, + global::G.AllOf? value14, + global::G.AllOf? value15, + global::G.AllOf? value16, + global::G.AllOf? value17 ) { Value1 = value1; @@ -609,12 +645,14 @@ public RepositoryRuleDetailed( Value14 = value14; Value15 = value15; Value16 = value16; + Value17 = value17; } /// /// /// public object? Object => + Value17 as object ?? Value16 as object ?? Value15 as object ?? Value14 as object ?? @@ -638,7 +676,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17; } /// @@ -649,18 +687,19 @@ public bool Validate() global::System.Func?, TResult>? value2 = null, global::System.Func?, TResult>? value3 = null, global::System.Func?, TResult>? value4 = null, - global::System.Func?, TResult>? value5 = null, - global::System.Func?, TResult>? value6 = null, - global::System.Func?, TResult>? value7 = null, - global::System.Func?, TResult>? value8 = null, - global::System.Func?, TResult>? value9 = null, - global::System.Func?, TResult>? value10 = null, - global::System.Func?, TResult>? value11 = null, - global::System.Func?, TResult>? value12 = null, - global::System.Func?, TResult>? value13 = null, - global::System.Func?, TResult>? value14 = null, - global::System.Func?, TResult>? value15 = null, - global::System.Func?, TResult>? value16 = null, + global::System.Func?, TResult>? value5 = null, + global::System.Func?, TResult>? value6 = null, + global::System.Func?, TResult>? value7 = null, + global::System.Func?, TResult>? value8 = null, + global::System.Func?, TResult>? value9 = null, + global::System.Func?, TResult>? value10 = null, + global::System.Func?, TResult>? value11 = null, + global::System.Func?, TResult>? value12 = null, + global::System.Func?, TResult>? value13 = null, + global::System.Func?, TResult>? value14 = null, + global::System.Func?, TResult>? value15 = null, + global::System.Func?, TResult>? value16 = null, + global::System.Func?, TResult>? value17 = null, bool validate = true) { if (validate) @@ -732,6 +771,10 @@ public bool Validate() { return value16(Value16!); } + else if (IsValue17 && value17 != null) + { + return value17(Value17!); + } return default(TResult); } @@ -744,18 +787,19 @@ public void Match( global::System.Action?>? value2 = null, global::System.Action?>? value3 = null, global::System.Action?>? value4 = null, - global::System.Action?>? value5 = null, - global::System.Action?>? value6 = null, - global::System.Action?>? value7 = null, - global::System.Action?>? value8 = null, - global::System.Action?>? value9 = null, - global::System.Action?>? value10 = null, - global::System.Action?>? value11 = null, - global::System.Action?>? value12 = null, - global::System.Action?>? value13 = null, - global::System.Action?>? value14 = null, - global::System.Action?>? value15 = null, - global::System.Action?>? value16 = null, + global::System.Action?>? value5 = null, + global::System.Action?>? value6 = null, + global::System.Action?>? value7 = null, + global::System.Action?>? value8 = null, + global::System.Action?>? value9 = null, + global::System.Action?>? value10 = null, + global::System.Action?>? value11 = null, + global::System.Action?>? value12 = null, + global::System.Action?>? value13 = null, + global::System.Action?>? value14 = null, + global::System.Action?>? value15 = null, + global::System.Action?>? value16 = null, + global::System.Action?>? value17 = null, bool validate = true) { if (validate) @@ -827,6 +871,10 @@ public void Match( { value16?.Invoke(Value16!); } + else if (IsValue17) + { + value17?.Invoke(Value17!); + } } /// @@ -845,28 +893,30 @@ public override int GetHashCode() Value4, typeof(global::G.AllOf), Value5, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value6, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value7, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value8, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value9, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value10, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value11, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value12, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value13, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value14, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value15, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value16, + typeof(global::G.AllOf), + Value17, typeof(global::G.AllOf), }; const int offset = unchecked((int)2166136261); @@ -887,18 +937,19 @@ public bool Equals(RepositoryRuleDetailed other) global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value2, other.Value2) && global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value17, other.Value17) ; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs index 31745cdf00..8f5c28e50b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs @@ -33,6 +33,11 @@ public enum RepositoryRuleDiscriminatorType /// /// /// + [global::System.Runtime.Serialization.EnumMember(Value="merge_queue")] + MergeQueue, + /// + /// + /// [global::System.Runtime.Serialization.EnumMember(Value="required_deployments")] RequiredDeployments, /// @@ -128,6 +133,7 @@ public static string ToValueString(this RepositoryRuleDiscriminatorType value) RepositoryRuleDiscriminatorType.Update => "update", RepositoryRuleDiscriminatorType.Deletion => "deletion", RepositoryRuleDiscriminatorType.RequiredLinearHistory => "required_linear_history", + RepositoryRuleDiscriminatorType.MergeQueue => "merge_queue", RepositoryRuleDiscriminatorType.RequiredDeployments => "required_deployments", RepositoryRuleDiscriminatorType.RequiredSignatures => "required_signatures", RepositoryRuleDiscriminatorType.PullRequest => "pull_request", @@ -158,6 +164,7 @@ public static string ToValueString(this RepositoryRuleDiscriminatorType value) "update" => RepositoryRuleDiscriminatorType.Update, "deletion" => RepositoryRuleDiscriminatorType.Deletion, "required_linear_history" => RepositoryRuleDiscriminatorType.RequiredLinearHistory, + "merge_queue" => RepositoryRuleDiscriminatorType.MergeQueue, "required_deployments" => RepositoryRuleDiscriminatorType.RequiredDeployments, "required_signatures" => RepositoryRuleDiscriminatorType.RequiredSignatures, "pull_request" => RepositoryRuleDiscriminatorType.PullRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs new file mode 100644 index 0000000000..b13c49d7d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.RepositoryRuleMergeQueue.g.cs + +#nullable enable + +namespace G +{ + /// + /// Merges must be performed via a merge queue. + /// + public sealed partial class RepositoryRuleMergeQueue + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("type")] + public global::G.RepositoryRuleMergeQueueType Type { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("parameters")] + public global::G.RepositoryRuleMergeQueueParameters? Parameters { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleMergeQueue? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs new file mode 100644 index 0000000000..999e66c5ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs @@ -0,0 +1,93 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParameters.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleMergeQueueParameters + { + /// + /// Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed + /// + [global::Newtonsoft.Json.JsonProperty("check_response_timeout_minutes", Required = global::Newtonsoft.Json.Required.Always)] + public int CheckResponseTimeoutMinutes { get; set; } = default!; + + /// + /// When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. + /// + [global::Newtonsoft.Json.JsonProperty("grouping_strategy", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.RepositoryRuleMergeQueueParametersGroupingStrategy GroupingStrategy { get; set; } = default!; + + /// + /// Limit the number of queued pull requests requesting checks and workflow runs at the same time. + /// + [global::Newtonsoft.Json.JsonProperty("max_entries_to_build", Required = global::Newtonsoft.Json.Required.Always)] + public int MaxEntriesToBuild { get; set; } = default!; + + /// + /// The maximum number of PRs that will be merged together in a group. + /// + [global::Newtonsoft.Json.JsonProperty("max_entries_to_merge", Required = global::Newtonsoft.Json.Required.Always)] + public int MaxEntriesToMerge { get; set; } = default!; + + /// + /// Method to use when merging changes from queued pull requests. + /// + [global::Newtonsoft.Json.JsonProperty("merge_method", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.RepositoryRuleMergeQueueParametersMergeMethod MergeMethod { get; set; } = default!; + + /// + /// The minimum number of PRs that will be merged together in a group. + /// + [global::Newtonsoft.Json.JsonProperty("min_entries_to_merge", Required = global::Newtonsoft.Json.Required.Always)] + public int MinEntriesToMerge { get; set; } = default!; + + /// + /// The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. + /// + [global::Newtonsoft.Json.JsonProperty("min_entries_to_merge_wait_minutes", Required = global::Newtonsoft.Json.Required.Always)] + public int MinEntriesToMergeWaitMinutes { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleMergeQueueParameters? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs new file mode 100644 index 0000000000..c337dd1270 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.cs + +#nullable enable + +namespace G +{ + /// + /// When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. + /// + [global::System.Runtime.Serialization.DataContract] + public enum RepositoryRuleMergeQueueParametersGroupingStrategy + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ALLGREEN")] + ALLGREEN, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="HEADGREEN")] + HEADGREEN, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRuleMergeQueueParametersGroupingStrategyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRuleMergeQueueParametersGroupingStrategy value) + { + return value switch + { + RepositoryRuleMergeQueueParametersGroupingStrategy.ALLGREEN => "ALLGREEN", + RepositoryRuleMergeQueueParametersGroupingStrategy.HEADGREEN => "HEADGREEN", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRuleMergeQueueParametersGroupingStrategy? ToEnum(string value) + { + return value switch + { + "ALLGREEN" => RepositoryRuleMergeQueueParametersGroupingStrategy.ALLGREEN, + "HEADGREEN" => RepositoryRuleMergeQueueParametersGroupingStrategy.HEADGREEN, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs new file mode 100644 index 0000000000..c424c99acb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.cs + +#nullable enable + +namespace G +{ + /// + /// Method to use when merging changes from queued pull requests. + /// + [global::System.Runtime.Serialization.DataContract] + public enum RepositoryRuleMergeQueueParametersMergeMethod + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="MERGE")] + MERGE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="SQUASH")] + SQUASH, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="REBASE")] + REBASE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRuleMergeQueueParametersMergeMethodExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRuleMergeQueueParametersMergeMethod value) + { + return value switch + { + RepositoryRuleMergeQueueParametersMergeMethod.MERGE => "MERGE", + RepositoryRuleMergeQueueParametersMergeMethod.SQUASH => "SQUASH", + RepositoryRuleMergeQueueParametersMergeMethod.REBASE => "REBASE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRuleMergeQueueParametersMergeMethod? ToEnum(string value) + { + return value switch + { + "MERGE" => RepositoryRuleMergeQueueParametersMergeMethod.MERGE, + "SQUASH" => RepositoryRuleMergeQueueParametersMergeMethod.SQUASH, + "REBASE" => RepositoryRuleMergeQueueParametersMergeMethod.REBASE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs similarity index 60% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs index c9408716fd..2e890cddbf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.WebhookSecretScanningAlertRevokedAction.g.cs +//HintName: G.Models.RepositoryRuleMergeQueueType.g.cs #nullable enable @@ -8,39 +8,39 @@ namespace G /// /// [global::System.Runtime.Serialization.DataContract] - public enum WebhookSecretScanningAlertRevokedAction + public enum RepositoryRuleMergeQueueType { /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="revoked")] - Revoked, + [global::System.Runtime.Serialization.EnumMember(Value="merge_queue")] + MergeQueue, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class WebhookSecretScanningAlertRevokedActionExtensions + public static class RepositoryRuleMergeQueueTypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this WebhookSecretScanningAlertRevokedAction value) + public static string ToValueString(this RepositoryRuleMergeQueueType value) { return value switch { - WebhookSecretScanningAlertRevokedAction.Revoked => "revoked", + RepositoryRuleMergeQueueType.MergeQueue => "merge_queue", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static WebhookSecretScanningAlertRevokedAction? ToEnum(string value) + public static RepositoryRuleMergeQueueType? ToEnum(string value) { return value switch { - "revoked" => WebhookSecretScanningAlertRevokedAction.Revoked, + "merge_queue" => RepositoryRuleMergeQueueType.MergeQueue, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs index ebbcd591cc..20a97a5ec3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class RepositoryRuleRequiredStatusChecksParameters { + /// + /// Allow repositories and branches to be created if a check would otherwise prohibit it. + /// + [global::Newtonsoft.Json.JsonProperty("do_not_enforce_on_create")] + public bool? DoNotEnforceOnCreate { get; set; } + /// /// Status checks that are required. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs index a0be2f3e8c..e80a56dde0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: max_file_path_length is in beta and subject to change.
- /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant16 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs index 16a4d5eb4b..b525d7d952 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class RepositoryRuleVariant16Parameters { /// - /// The maximum amount of characters allowed in file paths + /// The file paths that are restricted from being pushed to the commit graph. /// - [global::Newtonsoft.Json.JsonProperty("max_file_path_length", Required = global::Newtonsoft.Json.Required.Always)] - public int MaxFilePathLength { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("restricted_file_paths", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList RestrictedFilePaths { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs index 2c9dd7393b..c12286b162 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs @@ -13,8 +13,8 @@ public enum RepositoryRuleVariant16Type /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="max_file_path_length")] - MaxFilePathLength, + [global::System.Runtime.Serialization.EnumMember(Value="file_path_restriction")] + FilePathRestriction, } /// @@ -29,7 +29,7 @@ public static string ToValueString(this RepositoryRuleVariant16Type value) { return value switch { - RepositoryRuleVariant16Type.MaxFilePathLength => "max_file_path_length", + RepositoryRuleVariant16Type.FilePathRestriction => "file_path_restriction", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -40,7 +40,7 @@ public static string ToValueString(this RepositoryRuleVariant16Type value) { return value switch { - "max_file_path_length" => RepositoryRuleVariant16Type.MaxFilePathLength, + "file_path_restriction" => RepositoryRuleVariant16Type.FilePathRestriction, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs index 435a26b6af..c194137bfb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: file_extension_restriction is in beta and subject to change.
- /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. + /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant17 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs index 21f39212b9..4466340cda 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class RepositoryRuleVariant17Parameters { /// - /// The file extensions that are restricted from being pushed to the commit graph. + /// The maximum amount of characters allowed in file paths /// - [global::Newtonsoft.Json.JsonProperty("restricted_file_extensions", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.Collections.Generic.IList RestrictedFileExtensions { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("max_file_path_length", Required = global::Newtonsoft.Json.Required.Always)] + public int MaxFilePathLength { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs index 1f99e2e8fb..247b30ba05 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs @@ -13,8 +13,8 @@ public enum RepositoryRuleVariant17Type /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="file_extension_restriction")] - FileExtensionRestriction, + [global::System.Runtime.Serialization.EnumMember(Value="max_file_path_length")] + MaxFilePathLength, } /// @@ -29,7 +29,7 @@ public static string ToValueString(this RepositoryRuleVariant17Type value) { return value switch { - RepositoryRuleVariant17Type.FileExtensionRestriction => "file_extension_restriction", + RepositoryRuleVariant17Type.MaxFilePathLength => "max_file_path_length", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -40,7 +40,7 @@ public static string ToValueString(this RepositoryRuleVariant17Type value) { return value switch { - "file_extension_restriction" => RepositoryRuleVariant17Type.FileExtensionRestriction, + "max_file_path_length" => RepositoryRuleVariant17Type.MaxFilePathLength, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs index 86538a7ef6..67edcc14a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: max_file_size is in beta and subject to change.
- /// Prevent commits that exceed a specified file size limit from being pushed to the commit. + /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant18 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs index 85edc930e4..74ddc9321e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs @@ -10,10 +10,10 @@ namespace G public sealed partial class RepositoryRuleVariant18Parameters { /// - /// The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). + /// The file extensions that are restricted from being pushed to the commit graph. /// - [global::Newtonsoft.Json.JsonProperty("max_file_size", Required = global::Newtonsoft.Json.Required.Always)] - public int MaxFileSize { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("restricted_file_extensions", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList RestrictedFileExtensions { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs index a521741d68..b2993ad419 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs @@ -13,8 +13,8 @@ public enum RepositoryRuleVariant18Type /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="max_file_size")] - MaxFileSize, + [global::System.Runtime.Serialization.EnumMember(Value="file_extension_restriction")] + FileExtensionRestriction, } /// @@ -29,7 +29,7 @@ public static string ToValueString(this RepositoryRuleVariant18Type value) { return value switch { - RepositoryRuleVariant18Type.MaxFileSize => "max_file_size", + RepositoryRuleVariant18Type.FileExtensionRestriction => "file_extension_restriction", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -40,7 +40,7 @@ public static string ToValueString(this RepositoryRuleVariant18Type value) { return value switch { - "max_file_size" => RepositoryRuleVariant18Type.MaxFileSize, + "file_extension_restriction" => RepositoryRuleVariant18Type.FileExtensionRestriction, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs similarity index 83% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs index 0984475e29..c072f3c1e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs @@ -1,26 +1,25 @@ -//HintName: G.Models.RepositoryRuleVariant15.g.cs +//HintName: G.Models.RepositoryRuleVariant19.g.cs #nullable enable namespace G { /// - /// Note: file_path_restriction is in beta and subject to change.
- /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. + /// Prevent commits that exceed a specified file size limit from being pushed to the commit. ///
- public sealed partial class RepositoryRuleVariant15 + public sealed partial class RepositoryRuleVariant19 { /// /// /// [global::Newtonsoft.Json.JsonProperty("type")] - public global::G.RepositoryRuleVariant15Type Type { get; set; } + public global::G.RepositoryRuleVariant19Type Type { get; set; } /// /// /// [global::Newtonsoft.Json.JsonProperty("parameters")] - public global::G.RepositoryRuleVariant15Parameters? Parameters { get; set; } + public global::G.RepositoryRuleVariant19Parameters? Parameters { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -51,11 +50,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.RepositoryRuleVariant15? FromJson( + public static global::G.RepositoryRuleVariant19? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs similarity index 81% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs index ba207b705f..3e70d8f6c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.RepositoryRuleVariant15Parameters.g.cs +//HintName: G.Models.RepositoryRuleVariant19Parameters.g.cs #nullable enable @@ -7,13 +7,13 @@ namespace G /// /// /// - public sealed partial class RepositoryRuleVariant15Parameters + public sealed partial class RepositoryRuleVariant19Parameters { /// - /// The file paths that are restricted from being pushed to the commit graph. + /// The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). /// - [global::Newtonsoft.Json.JsonProperty("restricted_file_paths", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.Collections.Generic.IList RestrictedFilePaths { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("max_file_size", Required = global::Newtonsoft.Json.Required.Always)] + public int MaxFileSize { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema @@ -44,11 +44,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.RepositoryRuleVariant15Parameters? FromJson( + public static global::G.RepositoryRuleVariant19Parameters? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs similarity index 65% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs index 9a2e24b883..4c89864a4f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.RepositoryRuleVariant15Type.g.cs +//HintName: G.Models.RepositoryRuleVariant19Type.g.cs #nullable enable @@ -8,39 +8,39 @@ namespace G /// /// [global::System.Runtime.Serialization.DataContract] - public enum RepositoryRuleVariant15Type + public enum RepositoryRuleVariant19Type { /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="file_path_restriction")] - FilePathRestriction, + [global::System.Runtime.Serialization.EnumMember(Value="max_file_size")] + MaxFileSize, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class RepositoryRuleVariant15TypeExtensions + public static class RepositoryRuleVariant19TypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this RepositoryRuleVariant15Type value) + public static string ToValueString(this RepositoryRuleVariant19Type value) { return value switch { - RepositoryRuleVariant15Type.FilePathRestriction => "file_path_restriction", + RepositoryRuleVariant19Type.MaxFileSize => "max_file_size", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static RepositoryRuleVariant15Type? ToEnum(string value) + public static RepositoryRuleVariant19Type? ToEnum(string value) { return value switch { - "file_path_restriction" => RepositoryRuleVariant15Type.FilePathRestriction, + "max_file_size" => RepositoryRuleVariant19Type.MaxFileSize, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs similarity index 77% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationPlan.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs index fae26613f6..c1e3b57a1b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrganizationPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs @@ -1,43 +1,37 @@ -//HintName: G.Models.OrganizationPlan.g.cs +//HintName: G.Models.RepositoryRuleViolationError.g.cs #nullable enable namespace G { /// - /// + /// Repository rule violation was detected /// - public sealed partial class OrganizationPlan + public sealed partial class RepositoryRuleViolationError { /// /// /// - [global::Newtonsoft.Json.JsonProperty("name")] - public string? Name { get; set; } + [global::Newtonsoft.Json.JsonProperty("message")] + public string? Message { get; set; } /// /// /// - [global::Newtonsoft.Json.JsonProperty("space")] - public int? Space { get; set; } + [global::Newtonsoft.Json.JsonProperty("documentation_url")] + public string? DocumentationUrl { get; set; } /// /// /// - [global::Newtonsoft.Json.JsonProperty("private_repos")] - public int? PrivateRepos { get; set; } + [global::Newtonsoft.Json.JsonProperty("status")] + public string? Status { get; set; } /// /// /// - [global::Newtonsoft.Json.JsonProperty("filled_seats")] - public int? FilledSeats { get; set; } - - /// - /// - /// - [global::Newtonsoft.Json.JsonProperty("seats")] - public int? Seats { get; set; } + [global::Newtonsoft.Json.JsonProperty("metadata")] + public global::G.RepositoryRuleViolationErrorMetadata? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -68,11 +62,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrganizationPlan? FromJson( + public static global::G.RepositoryRuleViolationError? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs new file mode 100644 index 0000000000..c0013c6b9b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadata + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning")] + public global::G.RepositoryRuleViolationErrorMetadataSecretScanning? SecretScanning { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadata? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs new file mode 100644 index 0000000000..72cc442318 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadataSecretScanning + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("bypass_placeholders")] + public global::System.Collections.Generic.IList? BypassPlaceholders { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanning? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs new file mode 100644 index 0000000000..e8e29e206e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder + { + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + [global::Newtonsoft.Json.JsonProperty("placeholder_id")] + public string? PlaceholderId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("token_type")] + public string? TokenType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs index a69246a81b..390d566d17 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class RepositoryRuleWorkflowsParameters { + /// + /// Allow repositories and branches to be created if a check would otherwise prohibit it. + /// + [global::Newtonsoft.Json.JsonProperty("do_not_enforce_on_create")] + public bool? DoNotEnforceOnCreate { get; set; } + /// /// Workflows that must pass for this rule to pass. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleset.g.verified.cs index 15f2e0f18e..bdc670d712 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRuleset.g.verified.cs @@ -24,8 +24,7 @@ public sealed partial class RepositoryRuleset public string Name { get; set; } = default!; /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::Newtonsoft.Json.JsonProperty("target")] public global::G.RepositoryRulesetTarget? Target { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs index 1fa700ba85..2eb12ccbf9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs @@ -22,10 +22,11 @@ public sealed partial class RepositoryRulesetBypassActor public global::G.RepositoryRulesetBypassActorActorType ActorType { get; set; } = default!; /// - /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.
+ /// Default Value: always ///
- [global::Newtonsoft.Json.JsonProperty("bypass_mode", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.RepositoryRulesetBypassActorBypassMode BypassMode { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("bypass_mode")] + public global::G.RepositoryRulesetBypassActorBypassMode? BypassMode { get; set; } = global::G.RepositoryRulesetBypassActorBypassMode.Always; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs index 4e3c04af94..5d0fab25f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs @@ -5,7 +5,8 @@ namespace G { /// - /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.
+ /// Default Value: always ///
[global::System.Runtime.Serialization.DataContract] public enum RepositoryRulesetBypassActorBypassMode diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs index bd0346d163..35d78275b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs @@ -21,6 +21,12 @@ public sealed partial class RepositoryRulesetConditionsRepositoryPropertySpec [global::Newtonsoft.Json.JsonProperty("property_values", Required = global::Newtonsoft.Json.Required.Always)] public global::System.Collections.Generic.IList PropertyValues { get; set; } = default!; + /// + /// The source of the repository property. Defaults to 'custom' if not specified. + /// + [global::Newtonsoft.Json.JsonProperty("source")] + public global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource? Source { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs new file mode 100644 index 0000000000..24912d59e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.cs + +#nullable enable + +namespace G +{ + /// + /// The source of the repository property. Defaults to 'custom' if not specified. + /// + [global::System.Runtime.Serialization.DataContract] + public enum RepositoryRulesetConditionsRepositoryPropertySpecSource + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="custom")] + Custom, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="system")] + System, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRulesetConditionsRepositoryPropertySpecSource value) + { + return value switch + { + RepositoryRulesetConditionsRepositoryPropertySpecSource.Custom => "custom", + RepositoryRulesetConditionsRepositoryPropertySpecSource.System => "system", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRulesetConditionsRepositoryPropertySpecSource? ToEnum(string value) + { + return value switch + { + "custom" => RepositoryRulesetConditionsRepositoryPropertySpecSource.Custom, + "system" => RepositoryRulesetConditionsRepositoryPropertySpecSource.System, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs index 4174d2844a..bff9b0aaa2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Runtime.Serialization.DataContract] public enum RepositoryRulesetTarget @@ -22,7 +21,7 @@ public enum RepositoryRulesetTarget [global::System.Runtime.Serialization.EnumMember(Value="tag")] Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// [global::System.Runtime.Serialization.EnumMember(Value="push")] Push, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryWebhooks.g.verified.cs index 70863dd864..948abad869 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RepositoryWebhooks.g.verified.cs @@ -12,10 +12,10 @@ public sealed partial class RepositoryWebhooks { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReviewComment.g.verified.cs index 134157b6be..46f1f38371 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.ReviewComment.g.verified.cs @@ -16,16 +16,16 @@ public sealed partial class ReviewComment public string Url { get; set; } = default!; /// - /// Example: 42 + /// Example: 42L /// [global::Newtonsoft.Json.JsonProperty("pull_request_review_id", Required = global::Newtonsoft.Json.Required.Always)] - public int? PullRequestReviewId { get; set; } = default!; + public long? PullRequestReviewId { get; set; } = default!; /// - /// Example: 10 + /// Example: 10L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuite2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuite2.g.verified.cs index 0a5f896df5..d486d60fe1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuite2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuite2.g.verified.cs @@ -70,7 +70,7 @@ public sealed partial class RuleSuite2 public global::G.RuleSuiteResult2? Result { get; set; } /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run. /// [global::Newtonsoft.Json.JsonProperty("evaluation_result")] public global::G.RuleSuiteEvaluationResult2? EvaluationResult { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs index d8197f9c4e..3c9f3a155c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs @@ -20,6 +20,11 @@ public enum RuleSuiteEvaluationResult /// [global::System.Runtime.Serialization.EnumMember(Value="fail")] Fail, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="bypass")] + Bypass, } /// @@ -36,6 +41,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult value) { RuleSuiteEvaluationResult.Pass => "pass", RuleSuiteEvaluationResult.Fail => "fail", + RuleSuiteEvaluationResult.Bypass => "bypass", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,6 +54,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult value) { "pass" => RuleSuiteEvaluationResult.Pass, "fail" => RuleSuiteEvaluationResult.Fail, + "bypass" => RuleSuiteEvaluationResult.Bypass, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs index d3015ae81d..e3fc00b39e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run. /// [global::System.Runtime.Serialization.DataContract] public enum RuleSuiteEvaluationResult2 @@ -20,6 +20,11 @@ public enum RuleSuiteEvaluationResult2 /// [global::System.Runtime.Serialization.EnumMember(Value="fail")] Fail, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="bypass")] + Bypass, } /// @@ -36,6 +41,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult2 value) { RuleSuiteEvaluationResult2.Pass => "pass", RuleSuiteEvaluationResult2.Fail => "fail", + RuleSuiteEvaluationResult2.Bypass => "bypass", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,6 +54,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult2 value) { "pass" => RuleSuiteEvaluationResult2.Pass, "fail" => RuleSuiteEvaluationResult2.Fail, + "bypass" => RuleSuiteEvaluationResult2.Bypass, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs index 7cf904b169..e6b8a21ac8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs @@ -34,7 +34,7 @@ public sealed partial class RuleSuiteRuleEvaluation public string? RuleType { get; set; } /// - /// Any associated details with the rule evaluation. + /// The detailed failure message for the rule. Null if the rule passed. /// [global::Newtonsoft.Json.JsonProperty("details")] public string? Details { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RunnerGroupsOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RunnerGroupsOrg.g.verified.cs new file mode 100644 index 0000000000..0007ff4365 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.RunnerGroupsOrg.g.verified.cs @@ -0,0 +1,131 @@ +//HintName: G.Models.RunnerGroupsOrg.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnerGroupsOrg + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public double Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("visibility", Required = global::Newtonsoft.Json.Required.Always)] + public string Visibility { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default", Required = global::Newtonsoft.Json.Required.Always)] + public bool Default { get; set; } = default!; + + /// + /// Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` + /// + [global::Newtonsoft.Json.JsonProperty("selected_repositories_url")] + public string? SelectedRepositoriesUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("runners_url", Required = global::Newtonsoft.Json.Required.Always)] + public string RunnersUrl { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("hosted_runners_url")] + public string? HostedRunnersUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("inherited", Required = global::Newtonsoft.Json.Required.Always)] + public bool Inherited { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("inherited_allows_public_repositories")] + public bool? InheritedAllowsPublicRepositories { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("allows_public_repositories", Required = global::Newtonsoft.Json.Required.Always)] + public bool AllowsPublicRepositories { get; set; } = default!; + + /// + /// If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("workflow_restrictions_read_only")] + public bool? WorkflowRestrictionsReadOnly { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::Newtonsoft.Json.JsonProperty("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::Newtonsoft.Json.JsonProperty("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RunnerGroupsOrg? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlert.g.verified.cs index 3b052c285b..08b999c40a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlert.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlert.g.verified.cs @@ -88,7 +88,7 @@ public sealed partial class SecretScanningAlert /// /// User-friendly name for the detected secret, matching the `secret_type`.
- /// For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." ///
[global::Newtonsoft.Json.JsonProperty("secret_type_display_name")] public string? SecretTypeDisplayName { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs index d3cf12cc4e..ab264343c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs @@ -80,6 +80,13 @@ public sealed partial class SecretScanningAlertWebhook [global::Newtonsoft.Json.JsonProperty("secret_type")] public string? SecretType { get; set; } + /// + /// User-friendly name for the detected secret, matching the `secret_type`.
+ /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + ///
+ [global::Newtonsoft.Json.JsonProperty("secret_type_display_name")] + public string? SecretTypeDisplayName { get; set; } + /// /// The token status as of the latest validity check. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs new file mode 100644 index 0000000000..ba60967470 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.SecretScanningCreatePushProtectionBypassRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecretScanningCreatePushProtectionBypassRequest + { + /// + /// The reason for bypassing push protection. + /// + [global::Newtonsoft.Json.JsonProperty("reason", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.SecretScanningPushProtectionBypassReason Reason { get; set; } = default!; + + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + [global::Newtonsoft.Json.JsonProperty("placeholder_id", Required = global::Newtonsoft.Json.Required.Always)] + public string PlaceholderId { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecretScanningCreatePushProtectionBypassRequest? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs new file mode 100644 index 0000000000..5bd0bc2640 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.SecretScanningCreatePushProtectionBypassResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecretScanningCreatePushProtectionBypassResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecretScanningCreatePushProtectionBypassResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs similarity index 75% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs index 62ed68c1f6..2abd5abbb7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgsPatchCustomOrganizationRoleRequest.g.cs +//HintName: G.Models.SecretScanningPushProtectionBypass.g.cs #nullable enable @@ -7,25 +7,25 @@ namespace G /// /// /// - public sealed partial class OrgsPatchCustomOrganizationRoleRequest + public sealed partial class SecretScanningPushProtectionBypass { /// - /// The name of the custom role. + /// The reason for bypassing push protection. /// - [global::Newtonsoft.Json.JsonProperty("name")] - public string? Name { get; set; } + [global::Newtonsoft.Json.JsonProperty("reason")] + public global::G.SecretScanningPushProtectionBypassReason? Reason { get; set; } /// - /// A short description about the intended usage of this role or what permissions it grants. + /// The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. /// - [global::Newtonsoft.Json.JsonProperty("description")] - public string? Description { get; set; } + [global::Newtonsoft.Json.JsonProperty("expire_at")] + public global::System.DateTime? ExpireAt { get; set; } /// - /// A list of additional permissions included in this role. + /// The token type this bypass is for. /// - [global::Newtonsoft.Json.JsonProperty("permissions")] - public global::System.Collections.Generic.IList? Permissions { get; set; } + [global::Newtonsoft.Json.JsonProperty("token_type")] + public string? TokenType { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -56,11 +56,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgsPatchCustomOrganizationRoleRequest? FromJson( + public static global::G.SecretScanningPushProtectionBypass? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs new file mode 100644 index 0000000000..697e43174b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.SecretScanningPushProtectionBypassReason.g.cs + +#nullable enable + +namespace G +{ + /// + /// The reason for bypassing push protection. + /// + [global::System.Runtime.Serialization.DataContract] + public enum SecretScanningPushProtectionBypassReason + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="false_positive")] + FalsePositive, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="used_in_tests")] + UsedInTests, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="will_fix_later")] + WillFixLater, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecretScanningPushProtectionBypassReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecretScanningPushProtectionBypassReason value) + { + return value switch + { + SecretScanningPushProtectionBypassReason.FalsePositive => "false_positive", + SecretScanningPushProtectionBypassReason.UsedInTests => "used_in_tests", + SecretScanningPushProtectionBypassReason.WillFixLater => "will_fix_later", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecretScanningPushProtectionBypassReason? ToEnum(string value) + { + return value switch + { + "false_positive" => SecretScanningPushProtectionBypassReason.FalsePositive, + "used_in_tests" => SecretScanningPushProtectionBypassReason.UsedInTests, + "will_fix_later" => SecretScanningPushProtectionBypassReason.WillFixLater, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs index 5edd7b2440..e0d6956fc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs @@ -20,6 +20,16 @@ public enum SecurityAdvisoriesListGlobalAdvisoriesSort /// [global::System.Runtime.Serialization.EnumMember(Value="published")] Published, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="epss_percentage")] + EpssPercentage, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="epss_percentile")] + EpssPercentile, } /// @@ -36,6 +46,8 @@ public static string ToValueString(this SecurityAdvisoriesListGlobalAdvisoriesSo { SecurityAdvisoriesListGlobalAdvisoriesSort.Updated => "updated", SecurityAdvisoriesListGlobalAdvisoriesSort.Published => "published", + SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentage => "epss_percentage", + SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentile => "epss_percentile", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,6 +60,8 @@ public static string ToValueString(this SecurityAdvisoriesListGlobalAdvisoriesSo { "updated" => SecurityAdvisoriesListGlobalAdvisoriesSort.Updated, "published" => SecurityAdvisoriesListGlobalAdvisoriesSort.Published, + "epss_percentage" => SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentage, + "epss_percentile" => SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentile, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs index f5ea3733fa..b41474c2b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysis.g.verified.cs @@ -33,6 +33,18 @@ public sealed partial class SecurityAndAnalysis [global::Newtonsoft.Json.JsonProperty("secret_scanning_push_protection")] public global::G.SecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_non_provider_patterns")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_scanning_ai_detection")] + public global::G.SecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..9d72d75b82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningAiDetection + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..63ae87939d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum SecurityAndAnalysisSecretScanningAiDetectionStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningAiDetectionStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningAiDetectionStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..7579afe0ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..f17628f384 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum SecurityAndAnalysisSecretScanningNonProviderPatternsStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="enabled")] + Enabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="disabled")] + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SelectedActions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SelectedActions.g.verified.cs index dbf3526a96..bdc61a1d79 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SelectedActions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SelectedActions.g.verified.cs @@ -23,7 +23,8 @@ public sealed partial class SelectedActions /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. ///
[global::Newtonsoft.Json.JsonProperty("patterns_allowed")] public global::System.Collections.Generic.IList? PatternsAllowed { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0.g.verified.cs new file mode 100644 index 0000000000..fb85c198fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.SigstoreBundle0.g.cs + +#nullable enable + +namespace G +{ + /// + /// Sigstore Bundle v0.1 + /// + public sealed partial class SigstoreBundle0 + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("verificationMaterial")] + public global::G.SigstoreBundle0VerificationMaterial? VerificationMaterial { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dsseEnvelope")] + public global::G.SigstoreBundle0DsseEnvelope? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..64ebb9a20e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.SigstoreBundle0DsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0DsseEnvelope + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("payload")] + public string? Payload { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("payloadType")] + public string? PayloadType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("signatures")] + public global::System.Collections.Generic.IList? Signatures { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0DsseEnvelope? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs new file mode 100644 index 0000000000..a2d0dc6400 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0DsseEnvelopeSignature + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("sig")] + public string? Sig { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("keyid")] + public string? Keyid { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0DsseEnvelopeSignature? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..cec12b99d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterial + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("x509CertificateChain")] + public global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? X509CertificateChain { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tlogEntries")] + public global::System.Collections.Generic.IList? TlogEntries { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("timestampVerificationData")] + public string? TimestampVerificationData { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterial? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs new file mode 100644 index 0000000000..708cb744ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs @@ -0,0 +1,93 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrie + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("logIndex")] + public string? LogIndex { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("logId")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? LogId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("kindVersion")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? KindVersion { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("integratedTime")] + public string? IntegratedTime { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("inclusionPromise")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? InclusionPromise { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("inclusionProof")] + public string? InclusionProof { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("canonicalizedBody")] + public string? CanonicalizedBody { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrie? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs new file mode 100644 index 0000000000..fdb1a954ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("signedEntryTimestamp")] + public string? SignedEntryTimestamp { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs new file mode 100644 index 0000000000..5669ad16cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieKindVersion + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("kind")] + public string? Kind { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("version")] + public string? Version { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs new file mode 100644 index 0000000000..6d6f1b70fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieLogId + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("keyId")] + public string? KeyId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs new file mode 100644 index 0000000000..c65ba571eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChain + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("certificates")] + public global::System.Collections.Generic.IList? Certificates { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs new file mode 100644 index 0000000000..10aacfe264 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChainCertificate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("rawBytes")] + public string? RawBytes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleRepository.g.verified.cs index eb98d9dd8d..7be3a4832a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleRepository.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class SimpleRepository { /// /// A unique identifier of the repository.
- /// Example: 1296269 + /// Example: 1296269L ///
[global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// The GraphQL identifier of the repository.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs index 00dddd3452..6399c02c83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUser.g.verified.cs @@ -28,10 +28,10 @@ public sealed partial class SimpleUser public string Login { get; set; } = default!; /// - /// Example: 1 + /// Example: 1L /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignment.g.verified.cs new file mode 100644 index 0000000000..ae583c8658 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignment.g.verified.cs @@ -0,0 +1,135 @@ +//HintName: G.Models.TeamRoleAssignment.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Relationship a Team has with a role. + /// + public sealed partial class TeamRoleAssignment + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public int Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("node_id", Required = global::Newtonsoft.Json.Required.Always)] + public string NodeId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("name", Required = global::Newtonsoft.Json.Required.Always)] + public string Name { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("slug", Required = global::Newtonsoft.Json.Required.Always)] + public string Slug { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("description", Required = global::Newtonsoft.Json.Required.Always)] + public string? Description { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("privacy")] + public string? Privacy { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("notification_setting")] + public string? NotificationSetting { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("permission", Required = global::Newtonsoft.Json.Required.Always)] + public string Permission { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("permissions")] + public global::G.TeamRoleAssignmentPermissions? Permissions { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("url", Required = global::Newtonsoft.Json.Required.Always)] + public string Url { get; set; } = default!; + + /// + /// Example: https://github.com/orgs/rails/teams/core + /// + [global::Newtonsoft.Json.JsonProperty("html_url", Required = global::Newtonsoft.Json.Required.Always)] + public string HtmlUrl { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("members_url", Required = global::Newtonsoft.Json.Required.Always)] + public string MembersUrl { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repositories_url", Required = global::Newtonsoft.Json.Required.Always)] + public string RepositoriesUrl { get; set; } = default!; + + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + [global::Newtonsoft.Json.JsonProperty("parent", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.NullableTeamSimple? Parent { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.TeamRoleAssignment? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs new file mode 100644 index 0000000000..e5dbaafc19 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.Models.TeamRoleAssignmentPermissions.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TeamRoleAssignmentPermissions + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("pull", Required = global::Newtonsoft.Json.Required.Always)] + public bool Pull { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("triage", Required = global::Newtonsoft.Json.Required.Always)] + public bool Triage { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("push", Required = global::Newtonsoft.Json.Required.Always)] + public bool Push { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("maintain", Required = global::Newtonsoft.Json.Required.Always)] + public bool Maintain { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("admin", Required = global::Newtonsoft.Json.Required.Always)] + public bool Admin { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.TeamRoleAssignmentPermissions? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs index 094a8c8657..2b2d912837 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs @@ -10,11 +10,10 @@ namespace G public sealed partial class TeamsAddOrUpdateRepoPermissionsInOrgRequest { /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. ///
[global::Newtonsoft.Json.JsonProperty("permission")] - public string? Permission { get; set; } = "push"; + public string? Permission { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUserWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserRoleAssignment.g.verified.cs similarity index 96% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUserWebhooks.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserRoleAssignment.g.verified.cs index 137dffa595..6bc5ca3002 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.SimpleUserWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserRoleAssignment.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: G.Models.SimpleUserWebhooks.g.cs +//HintName: G.Models.UserRoleAssignment.g.cs #nullable enable namespace G { /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// The Relationship a User has with a role. /// - public sealed partial class SimpleUserWebhooks + public sealed partial class UserRoleAssignment { /// /// @@ -164,11 +164,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.SimpleUserWebhooks? FromJson( + public static global::G.UserRoleAssignment? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserSearchResultItem.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserSearchResultItem.g.verified.cs index 1b201743e3..12799fe1e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserSearchResultItem.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UserSearchResultItem.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class UserSearchResultItem /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..440ee09383 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.UsersListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UsersListAttestationsResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.UsersListAttestationsResponse? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..6ba6f40f03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.UsersListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UsersListAttestationsResponseAttestation + { + /// + /// Sigstore Bundle v0.1 + /// + [global::Newtonsoft.Json.JsonProperty("bundle")] + public global::G.SigstoreBundle0? Bundle { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.UsersListAttestationsResponseAttestation? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs index 383a5e89ee..e51b0f0187 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookBranchProtectionConfigurationDisabled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs index e886cee199..ab2f98aadf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookBranchProtectionConfigurationEnabled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs index 0628ada1a1..996f7bc359 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookBranchProtectionRuleCreated public global::G.WebhooksRule Rule { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs index 45e93cd013..f36009fafc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookBranchProtectionRuleDeleted public global::G.WebhooksRule Rule { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs index 6ac4331857..8bd645b01f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookBranchProtectionRuleEdited public global::G.WebhooksRule Rule { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs index adfeb1130c..da6af7c950 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs @@ -39,6 +39,30 @@ public sealed partial class WebhookBranchProtectionRuleEditedChanges [global::Newtonsoft.Json.JsonProperty("linear_history_requirement_enforcement_level")] public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? LinearHistoryRequirementEnforcementLevel { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("lock_branch_enforcement_level")] + public global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? LockBranchEnforcementLevel { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("lock_allows_fork_sync")] + public global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? LockAllowsForkSync { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("pull_request_reviews_enforcement_level")] + public global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? PullRequestReviewsEnforcementLevel { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("require_last_push_approval")] + public global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? RequireLastPushApproval { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs new file mode 100644 index 0000000000..9fba96130a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from", Required = global::Newtonsoft.Json.Required.Always)] + public bool? From { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..6c609c9e41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom From { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..3decf14144 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="off")] + Off, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="non_admins")] + NonAdmins, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="everyone")] + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom value) + { + return value switch + { + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Off => "off", + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.NonAdmins => "non_admins", + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? ToEnum(string value) + { + return value switch + { + "off" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Off, + "non_admins" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.NonAdmins, + "everyone" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..b834bff10f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom From { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..22b6023512 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="off")] + Off, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="non_admins")] + NonAdmins, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="everyone")] + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom value) + { + return value switch + { + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Off => "off", + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.NonAdmins => "non_admins", + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? ToEnum(string value) + { + return value switch + { + "off" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Off, + "non_admins" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.NonAdmins, + "everyone" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs new file mode 100644 index 0000000000..efb844cdfd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from", Required = global::Newtonsoft.Json.Required.Always)] + public bool? From { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs index 79590af1d7..a439682710 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs @@ -44,10 +44,10 @@ public sealed partial class WebhookCheckRunCompleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs index 76457c4373..429402ddae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs @@ -44,10 +44,10 @@ public sealed partial class WebhookCheckRunCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs index 8c7ead690b..77aaddbccf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs @@ -50,10 +50,10 @@ public sealed partial class WebhookCheckRunRequestedAction public global::G.WebhookCheckRunRequestedActionRequestedAction? RequestedAction { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs index 0d6d655f14..33630df40e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs @@ -44,10 +44,10 @@ public sealed partial class WebhookCheckRunRerequested public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs index b505e1a480..4d65714a75 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookCheckSuiteCompleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs index c0c091ea17..5ddb90b342 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs @@ -45,6 +45,12 @@ public sealed partial class WebhookCheckSuiteCompletedCheckSuiteApp [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] public int? Id { get; set; } = default!; + /// + /// The client ID of the GitHub app + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs index 9754c765df..c47edbae17 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookCheckSuiteRequested public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs index 91427270ed..b9df3ffccc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs @@ -45,6 +45,12 @@ public sealed partial class WebhookCheckSuiteRequestedCheckSuiteApp [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] public int? Id { get; set; } = default!; + /// + /// Client ID of the GitHub app + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs index 01837861f3..77e6a84dcf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookCheckSuiteRerequested public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs index 06db18dc48..2658da461b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs @@ -45,6 +45,12 @@ public sealed partial class WebhookCheckSuiteRerequestedCheckSuiteApp [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] public int? Id { get; set; } = default!; + /// + /// The Client ID for the GitHub app + /// + [global::Newtonsoft.Json.JsonProperty("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs index da019239fc..722dcc407b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertAppearedInBranch public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs index db73a5a9db..4750cdac77 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertClosedByUser public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs index 1fb9c8ff84..4befbae418 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs index 03d4c31aea..de18c63d36 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertFixed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs index d6357e3bd5..7011b1b730 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs index 00d534494e..23abbbe98d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookCodeScanningAlertReopenedByUser public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs index 26d39c9735..1b4bb1ae3a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs @@ -16,7 +16,7 @@ public sealed partial class WebhookCommitCommentCreated public global::G.WebhookCommitCommentCreatedAction Action { get; set; } /// - /// The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. + /// The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. /// [global::Newtonsoft.Json.JsonProperty("comment", Required = global::Newtonsoft.Json.Required.Always)] public global::G.WebhookCommitCommentCreatedComment Comment { get; set; } = default!; @@ -52,10 +52,10 @@ public sealed partial class WebhookCommitCommentCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs index fcb40e3a21..10a9664fe2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. + /// The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. /// public sealed partial class WebhookCommitCommentCreatedComment { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs index 13424c4847..b7ea2375ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookCommitCommentCreatedCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCreate.g.verified.cs index 1a6ba2ea84..2748372aee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCreate.g.verified.cs @@ -70,10 +70,10 @@ public sealed partial class WebhookCreate public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs index a5fad5e917..553191b63a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class WebhookCustomPropertyCreated /// Custom property defined on an organization /// [global::Newtonsoft.Json.JsonProperty("definition", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrgCustomProperty Definition { get; set; } = default!; + public global::G.CustomProperty Definition { get; set; } = default!; /// /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -41,14 +41,14 @@ public sealed partial class WebhookCustomPropertyCreated /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. ///
- [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs index 8181e25574..0a39c83a21 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs @@ -41,14 +41,14 @@ public sealed partial class WebhookCustomPropertyDeleted /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. ///
- [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs index 69b3ca644e..1d834f75e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class WebhookCustomPropertyUpdated /// Custom property defined on an organization /// [global::Newtonsoft.Json.JsonProperty("definition", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrgCustomProperty Definition { get; set; } = default!; + public global::G.CustomProperty Definition { get; set; } = default!; /// /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -41,14 +41,14 @@ public sealed partial class WebhookCustomPropertyUpdated /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. ///
- [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs index 8e0ee842e7..eaeb8dbf99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookCustomPropertyValuesUpdated public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// The new custom property values for the repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDelete.g.verified.cs index facff53af3..6e6dbf8d09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDelete.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDelete.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDelete public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs index c2ee40a725..67d4fad766 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertAutoDismissed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs index 1c6c23b457..079b2f5ba5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertAutoReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs index 42e4aee2bb..169f5d26c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs index c04db31d9b..efcd8b5e2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertDismissed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs index 8fa6ace5c3..c165f27ce1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertFixed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs index aaeefc6d6a..98f87fc96b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertReintroduced public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs index 0eeac7ea31..0d293669fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDependabotAlertReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs index c8cd9fa5b5..6661d5f2fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDeployKeyCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs index d8397f92e7..c6db9566e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDeployKeyDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs index 4d5fffea41..f363bdec2c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDeploymentCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs index ae94a606e9..f2ab34f09c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs @@ -68,10 +68,10 @@ public sealed partial class WebhookDeploymentProtectionRuleRequested public global::G.SimpleInstallation? Installation { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs index 78003049a0..90be286315 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookDeploymentReviewApproved public global::System.Collections.Generic.IList? Reviewers { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs index ab70fc0c89..e40c01148d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookDeploymentReviewRejected public global::System.Collections.Generic.IList? Reviewers { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs index 9a6cc549ae..8040421555 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookDeploymentReviewRequested public global::System.Collections.Generic.IList Reviewers { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs index 8cab88b881..72ca5f4250 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookDeploymentStatusCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs index 73ad1b572c..be56e5dd87 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionAnswered public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs index dac1b5e3fe..610f3e1cd7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionCategoryChanged public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs index 091ab85a01..4520f56835 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionClosed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs index f3df4770dc..4a9fc1ec57 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionCommentCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs index 623b92effc..0703f8e06e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionCommentDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs index 5657d7268d..ea764a3720 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookDiscussionCommentEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs index 59177c4f8b..5cd4529fa1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs index 2dffa9ba18..d92bb3732b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs index 5176424e1f..04d7d52c18 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs index 10ab730a9e..758dc1aef6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionLabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs index dfa43b5057..0f9e14b360 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionLocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs index 00b7e3c70e..9fce6a1499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionPinned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs index 89046d728e..e58eb34bd8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs index fd14abeb1d..320b45a183 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionTransferred public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs index 21ed564125..c127d05410 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs @@ -42,10 +42,10 @@ public sealed partial class WebhookDiscussionUnanswered public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs index 6e5fcfba60..2f30e5b9f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookDiscussionUnlabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs index 5ea82bf9d1..f8ee0cadf6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionUnlocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs index 872db36548..d3f9179eb9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookDiscussionUnpinned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookFork.g.verified.cs index f7292b253f..aa4a2fccba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookFork.g.verified.cs @@ -48,10 +48,10 @@ public sealed partial class WebhookFork public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs index c6fc5cd342..1f6f6554df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs @@ -130,12 +130,6 @@ public sealed partial class WebhookForkForkeeVariant1 [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] public global::G.OneOf CreatedAt { get; set; } = default!; - /// - /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. - /// - [global::Newtonsoft.Json.JsonProperty("custom_properties")] - public object? CustomProperties { get; set; } - /// /// The default branch of the repository. /// @@ -289,7 +283,7 @@ public sealed partial class WebhookForkForkeeVariant1 /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs index 199ad9fd55..6b809f20ce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs @@ -16,10 +16,10 @@ public sealed partial class WebhookGithubAppAuthorizationRevoked public global::G.WebhookGithubAppAuthorizationRevokedAction Action { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGollum.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGollum.g.verified.cs index f8859b1df8..be0756c02c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGollum.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookGollum.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookGollum public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationCreated.g.verified.cs index a82bae49b7..f0f8644f3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationCreated.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookInstallationCreated public global::G.WebhooksUser? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs index eeab6bb685..99053d259c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookInstallationDeleted public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs index 5e05cc9a94..27f9ba441a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookInstallationNewPermissionsAccepted public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs index 3d8faee04b..762e303202 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs @@ -68,10 +68,10 @@ public sealed partial class WebhookInstallationRepositoriesAdded public global::G.WebhooksUser? Requester { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs index 1778772190..1469569a68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs @@ -68,10 +68,10 @@ public sealed partial class WebhookInstallationRepositoriesRemoved public global::G.WebhooksUser? Requester { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs index 3c892cdc0c..5835d62514 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookInstallationSuspend public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs index 198f1a73e7..4c6d33491d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookInstallationTargetRenamed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs index 7ac8328e06..e7ea617c79 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookInstallationUnsuspend public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs index b75eacc3c3..1b04be2181 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookIssueCommentCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs index 801030a0bc..970a1105e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssueCommentCreatedCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs index 005384349b..ac6fd546e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssueCommentCreatedIssueVariant1User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs index e1e2ddd118..fa418900a7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentCreatedIssueVariant2User /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs index 3ef59a9f0b..f41698f20c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookIssueCommentDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs index 02b90d7877..77ec952fff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssueCommentDeletedIssueVariant1User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs index 053a9e69f6..087d3fea73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentDeletedIssueVariant2User /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs index 90a30f850b..15ae0bc618 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs @@ -66,10 +66,10 @@ public sealed partial class WebhookIssueCommentEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs index 074a61c9fc..9e5c5b090a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssueCommentEditedIssueVariant1User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs index 7ce8bfbbe9..9129a4e530 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentEditedIssueVariant2User /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs index e55c4608b9..d285562f23 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesAssigned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosed.g.verified.cs index ee76e0da8e..040c93063e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosed.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookIssuesClosed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs index 6e408ceba4..92bd7f7cfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesClosedIssueVariant1User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs index 2cf5aee127..b6b555145c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssuesClosedIssueVariant2User /// /// [global::Newtonsoft.Json.JsonProperty("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs index 0571b7ed12..73e34fbc0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs index 64e9ea4700..1f3665cf89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesDeletedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs index 0d303c544c..95938bb027 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesDemilestoned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs index 54389a6cdb..e089504200 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesDemilestonedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEdited.g.verified.cs index 8192d1bc0e..f87247f581 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEdited.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookIssuesEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs index a48e287d91..b00d73a623 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesEditedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs index 1375a5d948..d8907324e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesLabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs index 8dcd1c7708..dc692fa522 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesLabeledIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLocked.g.verified.cs index ca3657ed29..2670d32fe1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesLocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs index 1d67200586..c8a8c5d683 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesLockedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs index 5d8fc9f8ac..ec8108a12c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesMilestoned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs index 040bb38b4b..213c9ac7ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesMilestonedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpened.g.verified.cs index dcc67eb067..a55c826536 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpened.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesOpened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs index 45f6fb3dfe..0af2974d5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs index 5b08845bc5..3a620ca0d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs @@ -295,7 +295,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs index 23f19f5230..953d0378b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesOpenedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesPinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesPinned.g.verified.cs index ca4fe932ab..558e38dc0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesPinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesPinned.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesPinned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopened.g.verified.cs index 91d8edf471..1f6cf60044 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs index c07382f930..ad0690a395 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesReopenedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs index c39ca89ee6..a3f5f48875 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesTransferred public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs index 493dc0c5d4..0b61af0dba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs index c5961a3dff..5894ca269d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs @@ -296,7 +296,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs index ff09a9d90b..003b50b120 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesUnassigned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs index 4cddadacf4..cf1f739883 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookIssuesUnlabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs index 022ccc9dea..e0944cc1df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesUnlocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs index 9f7151f021..998b61c984 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookIssuesUnlockedIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs index 495b17223f..265dd28d7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookIssuesUnpinned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelCreated.g.verified.cs index f0a2d2c0a7..76e0b01666 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookLabelCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelDeleted.g.verified.cs index 2509e83165..512491b08b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookLabelDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelEdited.g.verified.cs index 9d0416332a..4a20a22633 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookLabelEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookLabelEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs index afdaf55a87..5f33eb1e22 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookMarketplacePurchaseCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs index 522c5706e7..72a0e7978b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookMarketplacePurchaseChanged public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs index a74e06c57e..a78b7a2fcb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookMarketplacePurchasePendingChange public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs index 0ad346d237..625f9a9bc7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookMarketplacePurchasePendingChangeCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs index a72ccc5afb..70b97efe0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookMarketplacePurchasePurchased public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberAdded.g.verified.cs index b8fb5aa311..6be8b25f41 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberAdded.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookMemberAdded public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberEdited.g.verified.cs index 9f81335176..2db358c0f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookMemberEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberRemoved.g.verified.cs index 3d46ad93df..22e18d69cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMemberRemoved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookMemberRemoved public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs index 09c559d3df..7c0654e8cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs @@ -44,10 +44,10 @@ public sealed partial class WebhookMergeGroupChecksRequested public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs index 778f5242bc..504df30fb1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs @@ -50,10 +50,10 @@ public sealed partial class WebhookMergeGroupDestroyed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMetaDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMetaDeleted.g.verified.cs index 1856e55660..cd39c82bcd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMetaDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMetaDeleted.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookMetaDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs index b26a60928b..f7052e189b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookMilestoneClosed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs index 3f25924d46..a1d271aa31 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookMilestoneCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs index b7e1560189..71e8827fc1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookMilestoneDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs index 6b318eef4a..2a6d78596e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookMilestoneEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs index e5b56e2310..3673ded08a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookMilestoneOpened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs index 7235e6cb3e..23bfc3579f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrgBlockBlocked public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs index ebecbfa609..241540de40 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrgBlockUnblocked public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs index 240f244f62..d80256e890 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrganizationDeleted public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs index 2f9bc93f53..ddd71058fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrganizationMemberAdded public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs index 9806349ef4..07f848a992 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrganizationMemberInvited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs index 6630e95339..82cbca24fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookOrganizationMemberRemoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs index e2d0b50f5b..44f4b29d40 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookOrganizationRenamed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackagePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackagePublished.g.verified.cs index 499406ca30..e7c31e759d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackagePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackagePublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookPackagePublished public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackageUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackageUpdated.g.verified.cs index 0f5c2e10c0..3f59b53530 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackageUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPackageUpdated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookPackageUpdated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPageBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPageBuild.g.verified.cs index 2003f9855a..0efc91be1e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPageBuild.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPageBuild.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookPageBuild public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs index 3aba0f325b..8974d119b6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs @@ -21,6 +21,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestApproved [global::Newtonsoft.Json.JsonProperty("personal_access_token_request", Required = global::Newtonsoft.Json.Required.Always)] public global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } = default!; + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::Newtonsoft.Json.JsonProperty("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -29,10 +37,10 @@ public sealed partial class WebhookPersonalAccessTokenRequestApproved public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs index 9288418852..8ee7f39298 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs @@ -21,6 +21,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestCancelled [global::Newtonsoft.Json.JsonProperty("personal_access_token_request", Required = global::Newtonsoft.Json.Required.Always)] public global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } = default!; + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::Newtonsoft.Json.JsonProperty("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -29,10 +37,10 @@ public sealed partial class WebhookPersonalAccessTokenRequestCancelled public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs index 6d06fb996a..9118209159 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs @@ -21,6 +21,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestCreated [global::Newtonsoft.Json.JsonProperty("personal_access_token_request", Required = global::Newtonsoft.Json.Required.Always)] public global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } = default!; + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::Newtonsoft.Json.JsonProperty("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -29,18 +37,18 @@ public sealed partial class WebhookPersonalAccessTokenRequestCreated public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
/// for and sent to a GitHub App. For more information,
/// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." ///
- [global::Newtonsoft.Json.JsonProperty("installation", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleInstallation Installation { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs index f849a5831c..b73f5eaeb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs @@ -29,10 +29,18 @@ public sealed partial class WebhookPersonalAccessTokenRequestDenied public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::Newtonsoft.Json.JsonProperty("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + + /// + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPing.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPing.g.verified.cs index 3aebe380e7..90d9842611 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPing.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPing.g.verified.cs @@ -36,10 +36,10 @@ public sealed partial class WebhookPing public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Random string of GitHub zen. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs index 0f4a3daec8..9fcae93ec9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookProjectCardConverted public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs index 6768cccc1f..6a0c3276aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectCardCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs index e31f286988..f21fb8a2dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectCardDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs index 466ef5e234..12ab32f816 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookProjectCardEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs index 927e7dd3a2..92342849bf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookProjectCardMoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectClosed.g.verified.cs index 4f36bb3f2e..8e69c1aaa9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectClosed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectClosed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs index 9f0ed3b0bd..5c54055088 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectColumnCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs index 336627bb98..e068c5a447 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectColumnDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs index f3ea6c92de..9d8d118dfd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookProjectColumnEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs index 0d842247d3..76a9c0482c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectColumnMoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCreated.g.verified.cs index f02381e8bc..f752d523a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectDeleted.g.verified.cs index 019fd3161b..8353e9f7d4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectEdited.g.verified.cs index 510bfd4571..496b41aa4b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookProjectEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectReopened.g.verified.cs index 092a5e7a32..c514dea110 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookProjectReopened public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs index 6925c93af7..102fa2d5e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs @@ -43,10 +43,10 @@ public sealed partial class WebhookProjectsV2ItemArchived public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs index 8d877f7bd5..85d7548b8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs @@ -43,10 +43,10 @@ public sealed partial class WebhookProjectsV2ItemConverted public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs index 73a481efc4..1a5cec62ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ItemCreated public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs index fd598b169a..af0bfc66ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ItemDeleted public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs index 613d8aa546..c940a71d32 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs @@ -18,7 +18,8 @@ public sealed partial class WebhookProjectsV2ItemEdited public global::G.WebhookProjectsV2ItemEditedAction Action { get; set; } /// - /// + /// The changes made to the item may involve modifications in the item's fields and draft issue body.
+ /// It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. ///
[global::Newtonsoft.Json.JsonProperty("changes")] public global::G.OneOf? Changes { get; set; } @@ -45,10 +46,10 @@ public sealed partial class WebhookProjectsV2ItemEdited public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs index ba7ba28e54..474d8aa937 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -21,6 +23,30 @@ public sealed partial class WebhookProjectsV2ItemEditedChangesVariant1FieldValue [global::Newtonsoft.Json.JsonProperty("field_type")] public string? FieldType { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("field_name")] + public string? FieldName { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("project_number")] + public int? ProjectNumber { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from")] + public global::G.OneOf? From { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("to")] + public global::G.OneOf? To { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs index ea72985dbe..5cf37b7c5a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs @@ -43,10 +43,10 @@ public sealed partial class WebhookProjectsV2ItemReordered public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs index bdedecd723..83a047c524 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs @@ -43,10 +43,10 @@ public sealed partial class WebhookProjectsV2ItemRestored public global::G.ProjectsV2Item ProjectsV2Item { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs index 0ebebe942b..7290aae184 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ProjectClosed public global::G.ProjectsV2 ProjectsV2 { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs index bdea404586..49707ee747 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ProjectCreated public global::G.ProjectsV2 ProjectsV2 { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs index adcd44197c..2f318b2bee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ProjectDeleted public global::G.ProjectsV2 ProjectsV2 { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs index 914008d671..4845113c7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs @@ -43,10 +43,10 @@ public sealed partial class WebhookProjectsV2ProjectEdited public global::G.ProjectsV2 ProjectsV2 { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs index f2f38a28bd..c7b94262fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs @@ -37,10 +37,10 @@ public sealed partial class WebhookProjectsV2ProjectReopened public global::G.ProjectsV2 ProjectsV2 { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs new file mode 100644 index 0000000000..04fde0eb78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateCreated.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateCreated + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookProjectsV2StatusUpdateCreatedAction Action { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + + /// + /// An status update belonging to a project + /// + [global::Newtonsoft.Json.JsonProperty("projects_v2_status_update", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } = default!; + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.SimpleUser Sender { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateCreated? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs new file mode 100644 index 0000000000..9a5a272df7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookProjectsV2StatusUpdateCreatedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="created")] + Created, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateCreatedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateCreatedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateCreatedAction.Created => "created", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateCreatedAction? ToEnum(string value) + { + return value switch + { + "created" => WebhookProjectsV2StatusUpdateCreatedAction.Created, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs new file mode 100644 index 0000000000..1ddcbd858d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateDeleted.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateDeleted + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookProjectsV2StatusUpdateDeletedAction Action { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + + /// + /// An status update belonging to a project + /// + [global::Newtonsoft.Json.JsonProperty("projects_v2_status_update", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } = default!; + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.SimpleUser Sender { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateDeleted? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs new file mode 100644 index 0000000000..a9065b11b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookProjectsV2StatusUpdateDeletedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="deleted")] + Deleted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateDeletedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateDeletedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateDeletedAction.Deleted => "deleted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateDeletedAction? ToEnum(string value) + { + return value switch + { + "deleted" => WebhookProjectsV2StatusUpdateDeletedAction.Deleted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs new file mode 100644 index 0000000000..1490d0c572 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEdited.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEdited + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookProjectsV2StatusUpdateEditedAction Action { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("changes")] + public global::G.WebhookProjectsV2StatusUpdateEditedChanges? Changes { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.OrganizationSimpleWebhooks Organization { get; set; } = default!; + + /// + /// An status update belonging to a project + /// + [global::Newtonsoft.Json.JsonProperty("projects_v2_status_update", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } = default!; + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.SimpleUser Sender { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEdited? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs new file mode 100644 index 0000000000..b550eff0e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookProjectsV2StatusUpdateEditedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="edited")] + Edited, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedAction.Edited => "edited", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedAction? ToEnum(string value) + { + return value switch + { + "edited" => WebhookProjectsV2StatusUpdateEditedAction.Edited, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs new file mode 100644 index 0000000000..aaf65c3cfa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChanges + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("body")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? Body { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? Status { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_date")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? StartDate { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("target_date")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? TargetDate { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChanges? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs new file mode 100644 index 0000000000..4758554efe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesBody + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from")] + public string? From { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("to")] + public string? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs new file mode 100644 index 0000000000..362637778b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesStartDate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from")] + public global::System.DateTime? From { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("to")] + public global::System.DateTime? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs new file mode 100644 index 0000000000..401af98be5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesStatus + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? From { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("to")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs new file mode 100644 index 0000000000..6315e218c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookProjectsV2StatusUpdateEditedChangesStatusFrom + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="INACTIVE")] + INACTIVE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ON_TRACK")] + ONTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="AT_RISK")] + ATRISK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="OFF_TRACK")] + OFFTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="COMPLETE")] + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedChangesStatusFrom value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.INACTIVE => "INACTIVE", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ONTRACK => "ON_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ATRISK => "AT_RISK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.OFFTRACK => "OFF_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? ToEnum(string value) + { + return value switch + { + "INACTIVE" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.INACTIVE, + "ON_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ONTRACK, + "AT_RISK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ATRISK, + "OFF_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.OFFTRACK, + "COMPLETE" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs new file mode 100644 index 0000000000..cdfe32a2cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookProjectsV2StatusUpdateEditedChangesStatusTo + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="INACTIVE")] + INACTIVE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ON_TRACK")] + ONTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="AT_RISK")] + ATRISK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="OFF_TRACK")] + OFFTRACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="COMPLETE")] + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedChangesStatusTo value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.INACTIVE => "INACTIVE", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ONTRACK => "ON_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ATRISK => "AT_RISK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.OFFTRACK => "OFF_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedChangesStatusTo? ToEnum(string value) + { + return value switch + { + "INACTIVE" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.INACTIVE, + "ON_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ONTRACK, + "AT_RISK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ATRISK, + "OFF_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.OFFTRACK, + "COMPLETE" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs new file mode 100644 index 0000000000..2288117bd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesTargetDate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("from")] + public global::System.DateTime? From { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("to")] + public global::System.DateTime? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPublic.g.verified.cs index a7cf43e412..03ca5cf14b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPublic.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPublic.g.verified.cs @@ -40,10 +40,10 @@ public sealed partial class WebhookPublic public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs index 8b6aa14502..6ea20f59e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestAssigned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs index 65851ef1cb..65d97136b4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs index 7f7ec3d56c..1678b58406 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs index 1513817571..c7ac790939 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs index 80297573b4..0921a68035 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs index fc1cc429a4..d649417af7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs index 7d8d0c6ab9..0b8075d98d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestAutoMergeDisabled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs index e690923ba4..7edfe71772 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestBaseRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs index c135a408ef..bda2276fc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestBaseUs /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs index b207de8ee8..a25b745ec2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestHeadRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs index 7fe92e0ee1..67a2e083af 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestHeadUs /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs index 7f2c60494d..15185390b4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs index fdd7d73780..1773963042 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestAutoMergeEnabled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs index e3fea8c8e7..aa29946c76 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestBaseRep /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs index eb1677ebec..791f7bd97e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestBaseUse /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs index 08607cb9a7..30be402008 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestHeadUse /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs index c182829524..64b909639a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs index 23a22f055c..31bfd2001f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestClosed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs index 53deb42c37..c5b9d16874 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestConvertedToDraft public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs index 757d9b3d76..834075251e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookPullRequestDemilestoned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs index 8a82a19e60..ce0a2dd602 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs @@ -54,7 +54,7 @@ public sealed partial class WebhookPullRequestDequeued /// /// [global::Newtonsoft.Json.JsonProperty("reason", Required = global::Newtonsoft.Json.Required.Always)] - public string Reason { get; set; } = default!; + public global::G.WebhookPullRequestDequeuedReason Reason { get; set; } = default!; /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestDequeued public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs index e2e9c2bf86..8c9617c315 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs index 4a16a4f947..7bad94c065 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs index 4121e84ac2..aff5e62ec1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs index a7d31d373a..317168d990 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs index 4f2041a966..7360df3912 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs new file mode 100644 index 0000000000..fb77b06b69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs @@ -0,0 +1,125 @@ +//HintName: G.Models.WebhookPullRequestDequeuedReason.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookPullRequestDequeuedReason + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="UNKNOWN_REMOVAL_REASON")] + UNKNOWNREMOVALREASON, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="MANUAL")] + MANUAL, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="MERGE")] + MERGE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="MERGE_CONFLICT")] + MERGECONFLICT, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="CI_FAILURE")] + CIFAILURE, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="CI_TIMEOUT")] + CITIMEOUT, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ALREADY_MERGED")] + ALREADYMERGED, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="QUEUE_CLEARED")] + QUEUECLEARED, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="ROLL_BACK")] + ROLLBACK, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="BRANCH_PROTECTIONS")] + BRANCHPROTECTIONS, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="GIT_TREE_INVALID")] + GITTREEINVALID, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="INVALID_MERGE_COMMIT")] + INVALIDMERGECOMMIT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedReason value) + { + return value switch + { + WebhookPullRequestDequeuedReason.UNKNOWNREMOVALREASON => "UNKNOWN_REMOVAL_REASON", + WebhookPullRequestDequeuedReason.MANUAL => "MANUAL", + WebhookPullRequestDequeuedReason.MERGE => "MERGE", + WebhookPullRequestDequeuedReason.MERGECONFLICT => "MERGE_CONFLICT", + WebhookPullRequestDequeuedReason.CIFAILURE => "CI_FAILURE", + WebhookPullRequestDequeuedReason.CITIMEOUT => "CI_TIMEOUT", + WebhookPullRequestDequeuedReason.ALREADYMERGED => "ALREADY_MERGED", + WebhookPullRequestDequeuedReason.QUEUECLEARED => "QUEUE_CLEARED", + WebhookPullRequestDequeuedReason.ROLLBACK => "ROLL_BACK", + WebhookPullRequestDequeuedReason.BRANCHPROTECTIONS => "BRANCH_PROTECTIONS", + WebhookPullRequestDequeuedReason.GITTREEINVALID => "GIT_TREE_INVALID", + WebhookPullRequestDequeuedReason.INVALIDMERGECOMMIT => "INVALID_MERGE_COMMIT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedReason? ToEnum(string value) + { + return value switch + { + "UNKNOWN_REMOVAL_REASON" => WebhookPullRequestDequeuedReason.UNKNOWNREMOVALREASON, + "MANUAL" => WebhookPullRequestDequeuedReason.MANUAL, + "MERGE" => WebhookPullRequestDequeuedReason.MERGE, + "MERGE_CONFLICT" => WebhookPullRequestDequeuedReason.MERGECONFLICT, + "CI_FAILURE" => WebhookPullRequestDequeuedReason.CIFAILURE, + "CI_TIMEOUT" => WebhookPullRequestDequeuedReason.CITIMEOUT, + "ALREADY_MERGED" => WebhookPullRequestDequeuedReason.ALREADYMERGED, + "QUEUE_CLEARED" => WebhookPullRequestDequeuedReason.QUEUECLEARED, + "ROLL_BACK" => WebhookPullRequestDequeuedReason.ROLLBACK, + "BRANCH_PROTECTIONS" => WebhookPullRequestDequeuedReason.BRANCHPROTECTIONS, + "GIT_TREE_INVALID" => WebhookPullRequestDequeuedReason.GITTREEINVALID, + "INVALID_MERGE_COMMIT" => WebhookPullRequestDequeuedReason.INVALIDMERGECOMMIT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs index 9535526234..7ad45cb1fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs index b4c59540bf..e09859b54c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestEnqueued public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs index 49249d6356..366deff54b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs index 8b71601f64..53e9abfdf4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs index 49cc1fd5d9..53812675ef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs index f47a643149..b06a2b68ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs index 777bfa0ec7..6402c06a14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs index 4e887318a3..39fddd69d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestLabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs index 579d176ee8..0b0fb77879 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs index c31680c436..b1da01b609 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs index 5e44a2a47a..28480b4423 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs index 74c84d5ad1..a626e1b7be 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs index 34f40b5135..7714314de7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs index a4e1dc6f3f..044b897fe3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestLocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs index b9c83c2907..f9c7f3155a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs index 56e255302b..2b409c9133 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs index 5b8411ea31..f16f128151 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs index ee0bd18a4c..bb5f87ada1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs index f012bef7d1..de9a4fe9ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs index e2974797c2..b06d162ba6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs @@ -56,10 +56,10 @@ public sealed partial class WebhookPullRequestMilestoned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs index 6d004835e4..520280bd90 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestOpened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs index 173afe9d1a..28511df707 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReadyForReview public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs index 5a34b66f2b..5fc2dd89a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs index fa14da4236..c0ff82edb9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReviewCommentCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs index a95a23cd08..e0c7d18c9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs index 16a0624879..7bc7c6f6a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestBas /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs index 709355e4e9..784f4a7849 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestBas /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs index 7b17ad3d7f..a3853448f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestHea /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs index 9e771cabc3..37dcea0485 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestHea /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs index 41646bb9ec..bab2ba2b73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestUse /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs index 5b327c527a..8962c79f93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReviewCommentDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs index 367b6389b3..11c97a99eb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestBas /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs index 749535d82a..c366c497cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestBas /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs index 54eab4f72e..3b294d0b91 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestHea /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs index 9ee5532fca..96596d2143 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestHea /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs index 7221a8f18f..e94e37d36c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestUse /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs index 9b86a0b533..d032a1aa8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewCommentEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs index 572e15c842..3c94874172 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestBase /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs index 4c1e59e10f..c645fe6800 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestBase /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs index e996d69fa0..05c1f87f87 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestHead /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs index df38f7db04..f1f3b727e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestHead /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs index 6b403ee0c5..ecc8ffffa5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs index 0e56666e8c..8d35e84487 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReviewDismissed public global::G.WebhookPullRequestReviewDismissedReview Review { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs index 55fb724aab..2e6e171333 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs index 5f9b157a42..5a96686df7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs index 499c2d6a1c..0c1095b4e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs index 634f24ec7a..f89d455362 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs index 6ebebc36b9..16af10c849 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs index 7bdaa2dca4..4350209601 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewDismissedReviewUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs index ed3d803c3e..4ba88c7153 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewEdited public global::G.WebhooksReview Review { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs index f248af01de..3666b1edd9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs @@ -283,7 +283,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs index 9f87df50c8..28db7a88d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs index 4a044a2322..8a39126eff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs @@ -283,7 +283,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs index 1394551b4f..469a36c5d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs index b00402bfb0..3a09836d7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs index 545543a0ac..166aa05383 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1 public global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? RequestedReviewer { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs index 6a8fb16064..2d72d06917 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs index 9f23e3d35f..47a39926c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs index 9f2a2ef508..29f8e676a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs index 9ca6c3801f..6f95a57302 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs index 92b3bbda6f..946833bf19 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs index 7b28d1d41c..54faec1604 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2 public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam RequestedTeam { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs index ee2a2189d6..8f9dd207d3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs index ef52d92282..8e488f7a53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs index cce2934bc1..25a68ed02a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs index 2c08a5c714..0aa0801248 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs index b020df9cd2..a81c7e636f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs index 9b0466e0c0..6dd742e0b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1 public global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? RequestedReviewer { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs index bb114a6b75..d8acad085b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs index 1d5af8bea6..a62044ff15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs index b61cd2aff8..3f2dd7e3ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs index 344a4b9c0d..ffc5badd70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs index 9d481cb948..99241f7fb4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs index 823770cb0d..c43b32414b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2 public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeam RequestedTeam { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs index 8ae334ed52..6641e37522 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs index c6ea2e6601..e59db2ea03 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs index 88fb14d896..a268f8f476 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs index f3c56d61fc..1cd1c06ed3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs index 38f90ecbb5..05270b343c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs index c665f330f4..1d359d088c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestReviewSubmitted public global::G.WebhooksReview Review { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs index 1f9456c627..b5712cb1a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs index 353ffa9101..59f049d6d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs index 2ae0f7c1e4..776750de68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs index 0a0d803ea9..4d155e3b39 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs index ae90a289d2..c7c434012b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs index c1445bb973..87b31efef7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookPullRequestReviewThreadResolved public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs index 25453e1a28..47d55f2da5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestBas /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs index 657d0cd907..fcb8d8d372 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestBas /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs index 875179bd8b..c656f8eed8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestHea /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs index af50fe66e2..e842c9f45d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestHea /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs index 00c1e6e7a3..1da49f2f07 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestUse /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs index ada784ffd4..f0887e88dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentU /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs index 7178563db2..b3a5e5da6a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolved public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs index e8edd4b3e8..f3b9d6ae2d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestB /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs index 5a9683f9d1..5f0c41d4c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestB /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs index c966ab253b..27b76c4f68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestH /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs index 54e0ad7b11..a5a21daeae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestH /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs index ee74528623..a9388fd2f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestU /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs index 68650584ec..41ec130c7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommen /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs index 2950cf179a..ac5ffcb2fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs @@ -70,10 +70,10 @@ public sealed partial class WebhookPullRequestSynchronize public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs index 0e3e6882c1..eb095e8636 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs index 84308d8ba2..21b30290a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs index 0e018f5418..d6ab53a316 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs index bfc02a60c9..001bb614f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs index 76b9af1718..5f6b7d2cc4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs index 280f25e465..63457a76ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestUnassigned public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs index ab461e2a09..4626f2c952 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs index 9cf844cab1..1e0241230e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs index 8b5b256ab3..a4776328ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs index c9a2b3b1e7..1570378b63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs index 3f4347490f..8b8762b959 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs index 27c54d2614..32638b237e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs @@ -64,10 +64,10 @@ public sealed partial class WebhookPullRequestUnlabeled public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs index 8c2906c1f3..de1412ac6a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs index d95f42dcb6..83ba8180f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs index 4054cabfbf..913ba6c371 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs index fc640f02e4..ac6d107518 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs index 2a083bda54..8504aa800a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs index 2e2d111eba..e9f9e64e9f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookPullRequestUnlocked public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs index 19a78e5ede..897f1f3e2f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestBaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs index de7e1b6860..1462187b5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestBaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs index 1c0c87347d..be6ad771c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestHeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs index 6101834c53..8c65f4283b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestHeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs index d81264b7c3..a41d0d6b36 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPush.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPush.g.verified.cs index e6798b4745..7ba2757d6e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPush.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPush.g.verified.cs @@ -105,10 +105,10 @@ public sealed partial class WebhookPush public global::G.WebhookPushRepository Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPushRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPushRepository.g.verified.cs index ee4a67a10e..1c7bce0a4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPushRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookPushRepository.g.verified.cs @@ -296,7 +296,7 @@ public sealed partial class WebhookPushRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs index 9052437ed9..d37e2727a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRegistryPackagePublished public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs index 32ada39a9d..87b4f522aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRegistryPackageUpdated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseCreated.g.verified.cs index e306f02f10..dd6acf8062 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleaseCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs index 89679a9cd7..f4ddbda6a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleaseDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseEdited.g.verified.cs index 0fc2d8d422..6f53705a85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookReleaseEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs index 017c5c5ec7..b4f3002e05 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleasePrereleased public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePublished.g.verified.cs index d50ac38463..2dd0d13a77 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleasePublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleasePublished public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseReleased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseReleased.g.verified.cs index 3b7ac20d15..2204e46a11 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseReleased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseReleased.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleaseReleased public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs index 7723187dad..1424b9626e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookReleaseUnpublished public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs index 3d8bff50a0..f12c89371e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryAdvisoryPublished public global::G.RepositoryAdvisory RepositoryAdvisory { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs index 33ac1ef948..50450f22a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryAdvisoryReported public global::G.RepositoryAdvisory RepositoryAdvisory { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs index e99815b4ba..c9cf24cde4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryArchived public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs index adeea774b8..77d03a613f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs index b292df0911..3e8ecf4e83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs index 2a13ce0c20..f6da9c0dfd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookRepositoryDispatchSample public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs index 73542efbb4..a8b11318f7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryEdited public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryImport.g.verified.cs index db26444dc6..44efc45976 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryImport.g.verified.cs @@ -40,10 +40,10 @@ public sealed partial class WebhookRepositoryImport public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs index 125c0afac3..deda3556cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryPrivatized public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs index 97ee5a0117..b46dbcb6ee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryPublicized public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs index 0a118a0de2..777cf3f562 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryRenamed public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs index e681a22182..864d9ac050 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryRulesetCreated public global::G.RepositoryRuleset RepositoryRuleset { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs index dd586482bf..401dfdd6a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryRulesetDeleted public global::G.RepositoryRuleset RepositoryRuleset { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs index a7bd2f0c05..7835e9402c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookRepositoryRulesetEdited public global::G.WebhookRepositoryRulesetEditedChanges? Changes { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs index 26da628e85..cad7500e0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryTransferred public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs index 18c458d2ea..3f31bda779 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookRepositoryTransferredChangesOwnerFromUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs index afbeadb92f..d76a7818b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookRepositoryUnarchived public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs index 16e2ce20e6..ad04480365 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertCreate public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs index 75e4dbfafe..656a317b1a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertDismiss public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs index 1b1763c9c7..d88d677405 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertReopen public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs index 43feb97a75..e80c58bab7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertResolve public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs index d10c7f5969..3fbe28ccd9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecretScanningAlertCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs index 92b3cf8e40..8b0e8cbcce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs @@ -50,10 +50,10 @@ public sealed partial class WebhookSecretScanningAlertLocationCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs index a3cb5bbbb4..d0ac407034 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecretScanningAlertReopened public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs index def9e58f35..6ee0ca5611 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecretScanningAlertResolved public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs index a75a5e6fe6..40be3119c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecretScanningAlertValidated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs index eb41eb808f..7d6abe8e35 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecurityAdvisoryPublished public global::G.WebhooksSecurityAdvisory SecurityAdvisory { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs index c269f2b597..aef2a8eca8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecurityAdvisoryUpdated public global::G.WebhooksSecurityAdvisory SecurityAdvisory { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs index d45962e011..b8713b6bde 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawn public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory SecurityAdvisory { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs index b90ccbc435..f58a2c6d13 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs @@ -15,6 +15,12 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory [global::Newtonsoft.Json.JsonProperty("cvss", Required = global::Newtonsoft.Json.Required.Always)] public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss Cvss { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs index a1c420e4c9..11518e3b81 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs @@ -45,10 +45,10 @@ public sealed partial class WebhookSecurityAndAnalysis public global::G.FullRepository Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs index 466e502888..8f88dae0b4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookSponsorshipCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs index bbed2040bc..8af16f8dd0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookSponsorshipCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs index f757773923..cb8ad592e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSponsorshipEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs index a7057a91a9..e69ed85f53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSponsorshipPendingCancellation public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs index 7fcc46e7da..04c312bcaf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs @@ -58,10 +58,10 @@ public sealed partial class WebhookSponsorshipPendingTierChange public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs index 1c526ebacd..07c6f04ba1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookSponsorshipTierChanged public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarCreated.g.verified.cs index 392aebeba4..2dff3002e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarCreated.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookStarCreated public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarDeleted.g.verified.cs index 30ca5403ca..3b40624b80 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStarDeleted.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookStarDeleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStatus.g.verified.cs index 11bea090e8..2321292500 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookStatus.g.verified.cs @@ -88,10 +88,10 @@ public sealed partial class WebhookStatus public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// The Commit SHA. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs new file mode 100644 index 0000000000..f4e042afb8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueAdded.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesParentIssueAdded + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookSubIssuesParentIssueAddedAction Action { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double ParentIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue ParentIssue { get; set; } = default!; + + /// + /// A repository on GitHub. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue_repo", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Repository ParentIssueRepo { get; set; } = default!; + + /// + /// The ID of the sub-issue. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double SubIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue SubIssue { get; set; } = default!; + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::Newtonsoft.Json.JsonProperty("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesParentIssueAdded? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..37bc8c693a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueAddedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookSubIssuesParentIssueAddedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="parent_issue_added")] + ParentIssueAdded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesParentIssueAddedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesParentIssueAddedAction value) + { + return value switch + { + WebhookSubIssuesParentIssueAddedAction.ParentIssueAdded => "parent_issue_added", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesParentIssueAddedAction? ToEnum(string value) + { + return value switch + { + "parent_issue_added" => WebhookSubIssuesParentIssueAddedAction.ParentIssueAdded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs new file mode 100644 index 0000000000..b409fea591 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueRemoved.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesParentIssueRemoved + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookSubIssuesParentIssueRemovedAction Action { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double ParentIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue ParentIssue { get; set; } = default!; + + /// + /// A repository on GitHub. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue_repo", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Repository ParentIssueRepo { get; set; } = default!; + + /// + /// The ID of the sub-issue. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double SubIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue SubIssue { get; set; } = default!; + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::Newtonsoft.Json.JsonProperty("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesParentIssueRemoved? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..8ad1fbbb5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueRemovedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookSubIssuesParentIssueRemovedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="parent_issue_removed")] + ParentIssueRemoved, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesParentIssueRemovedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesParentIssueRemovedAction value) + { + return value switch + { + WebhookSubIssuesParentIssueRemovedAction.ParentIssueRemoved => "parent_issue_removed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesParentIssueRemovedAction? ToEnum(string value) + { + return value switch + { + "parent_issue_removed" => WebhookSubIssuesParentIssueRemovedAction.ParentIssueRemoved, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs similarity index 67% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs index b7f8b1d821..e15b36bd21 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.WebhookSecretScanningAlertRevoked.g.cs +//HintName: G.Models.WebhookSubIssuesSubIssueAdded.g.cs #nullable enable @@ -7,27 +7,43 @@ namespace G /// /// /// - public sealed partial class WebhookSecretScanningAlertRevoked + public sealed partial class WebhookSubIssuesSubIssueAdded { /// /// /// [global::Newtonsoft.Json.JsonProperty("action")] - public global::G.WebhookSecretScanningAlertRevokedAction Action { get; set; } + public global::G.WebhookSubIssuesSubIssueAddedAction Action { get; set; } /// - /// + /// The ID of the sub-issue. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double SubIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue SubIssue { get; set; } = default!; + + /// + /// A repository on GitHub. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_repo", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Repository SubIssueRepo { get; set; } = default!; + + /// + /// The ID of the parent issue. /// - [global::Newtonsoft.Json.JsonProperty("alert", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SecretScanningAlertWebhook Alert { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("parent_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double ParentIssueId { get; set; } = default!; /// - /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
- /// on an enterprise account or an organization that's part of an enterprise account. For more information,
- /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. ///
- [global::Newtonsoft.Json.JsonProperty("enterprise")] - public global::G.EnterpriseWebhooks? Enterprise { get; set; } + [global::Newtonsoft.Json.JsonProperty("parent_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue ParentIssue { get; set; } = default!; /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -48,14 +64,14 @@ public sealed partial class WebhookSecretScanningAlertRevoked /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
/// when the event occurs from activity in a repository. ///
- [global::Newtonsoft.Json.JsonProperty("repository", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.RepositoryWebhooks Repository { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -86,11 +102,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.WebhookSecretScanningAlertRevoked? FromJson( + public static global::G.WebhookSubIssuesSubIssueAdded? FromJson( string json, global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) { - return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..9d03a1dda1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueAddedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookSubIssuesSubIssueAddedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="sub_issue_added")] + SubIssueAdded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesSubIssueAddedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesSubIssueAddedAction value) + { + return value switch + { + WebhookSubIssuesSubIssueAddedAction.SubIssueAdded => "sub_issue_added", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesSubIssueAddedAction? ToEnum(string value) + { + return value switch + { + "sub_issue_added" => WebhookSubIssuesSubIssueAddedAction.SubIssueAdded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs new file mode 100644 index 0000000000..7cdc989f78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueRemoved.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesSubIssueRemoved + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("action")] + public global::G.WebhookSubIssuesSubIssueRemovedAction Action { get; set; } + + /// + /// The ID of the sub-issue. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double SubIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue SubIssue { get; set; } = default!; + + /// + /// A repository on GitHub. + /// + [global::Newtonsoft.Json.JsonProperty("sub_issue_repo", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Repository SubIssueRepo { get; set; } = default!; + + /// + /// The ID of the parent issue. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue_id", Required = global::Newtonsoft.Json.Required.Always)] + public double ParentIssueId { get; set; } = default!; + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::Newtonsoft.Json.JsonProperty("parent_issue", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.Issue ParentIssue { get; set; } = default!; + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::Newtonsoft.Json.JsonProperty("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::Newtonsoft.Json.JsonProperty("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::Newtonsoft.Json.JsonProperty("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::Newtonsoft.Json.JsonProperty("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.SerializeObject( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesSubIssueRemoved? FromJson( + string json, + global::Newtonsoft.Json.JsonSerializerSettings? jsonSerializerOptions = null) + { + return global::Newtonsoft.Json.JsonConvert.DeserializeObject( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..140560617f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueRemovedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhookSubIssuesSubIssueRemovedAction + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="sub_issue_removed")] + SubIssueRemoved, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesSubIssueRemovedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesSubIssueRemovedAction value) + { + return value switch + { + WebhookSubIssuesSubIssueRemovedAction.SubIssueRemoved => "sub_issue_removed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesSubIssueRemovedAction? ToEnum(string value) + { + return value switch + { + "sub_issue_removed" => WebhookSubIssuesSubIssueRemovedAction.SubIssueRemoved, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAdd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAdd.g.verified.cs index 866c62e932..84af9c5502 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAdd.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAdd.g.verified.cs @@ -40,10 +40,10 @@ public sealed partial class WebhookTeamAdd public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs index 4b60120ed5..5098da7c18 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs @@ -45,10 +45,10 @@ public sealed partial class WebhookTeamAddedToRepository public global::G.WebhookTeamAddedToRepositoryRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs index 399ed59285..4edb69a939 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs @@ -289,7 +289,7 @@ public sealed partial class WebhookTeamAddedToRepositoryRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreated.g.verified.cs index b3be1f18f9..66e87ac41c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreated.g.verified.cs @@ -45,10 +45,10 @@ public sealed partial class WebhookTeamCreated public global::G.WebhookTeamCreatedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs index 019c1ba990..6b110fa985 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs @@ -289,7 +289,7 @@ public sealed partial class WebhookTeamCreatedRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeleted.g.verified.cs index 24e4d1cb4a..99405c3172 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeleted.g.verified.cs @@ -45,10 +45,10 @@ public sealed partial class WebhookTeamDeleted public global::G.WebhookTeamDeletedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs index 35df3bf17a..ad8610bdbf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs @@ -289,7 +289,7 @@ public sealed partial class WebhookTeamDeletedRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEdited.g.verified.cs index a0b0ea4a35..f6a5026649 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEdited.g.verified.cs @@ -51,10 +51,10 @@ public sealed partial class WebhookTeamEdited public global::G.WebhookTeamEditedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs index a2bbb58a28..74ca90b3a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs @@ -289,7 +289,7 @@ public sealed partial class WebhookTeamEditedRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs index c8484943d8..567cf1b9a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs @@ -45,10 +45,10 @@ public sealed partial class WebhookTeamRemovedFromRepository public global::G.WebhookTeamRemovedFromRepositoryRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs index 6722165746..616efa8fa1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs @@ -289,7 +289,7 @@ public sealed partial class WebhookTeamRemovedFromRepositoryRepository /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWatchStarted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWatchStarted.g.verified.cs index 03ab9db294..1d0cd7a4bf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWatchStarted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWatchStarted.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWatchStarted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs index 813745fb80..e8160c0350 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs @@ -52,10 +52,10 @@ public sealed partial class WebhookWorkflowDispatch public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs index 8a0176daad..36ccb320d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs @@ -48,10 +48,10 @@ public sealed partial class WebhookWorkflowJobCompleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs index cf13fa51f5..b2b657a285 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs @@ -48,10 +48,10 @@ public sealed partial class WebhookWorkflowJobInProgress public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs index 63d059a4f8..6fd5322b7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWorkflowJobQueued public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs index 695dd94c1d..cdeda35cb7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWorkflowJobWaiting public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs index 5684b6732c..1cf7cc09d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWorkflowRunCompleted public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs index 1da3af4886..890f23ee2e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs @@ -50,6 +50,11 @@ public enum WebhookWorkflowRunCompletedWorkflowRunConclusion /// [global::System.Runtime.Serialization.EnumMember(Value="timed_out")] TimedOut, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="startup_failure")] + StartupFailure, } /// @@ -72,6 +77,7 @@ public static string ToValueString(this WebhookWorkflowRunCompletedWorkflowRunCo WebhookWorkflowRunCompletedWorkflowRunConclusion.Stale => "stale", WebhookWorkflowRunCompletedWorkflowRunConclusion.Success => "success", WebhookWorkflowRunCompletedWorkflowRunConclusion.TimedOut => "timed_out", + WebhookWorkflowRunCompletedWorkflowRunConclusion.StartupFailure => "startup_failure", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -90,6 +96,7 @@ public static string ToValueString(this WebhookWorkflowRunCompletedWorkflowRunCo "stale" => WebhookWorkflowRunCompletedWorkflowRunConclusion.Stale, "success" => WebhookWorkflowRunCompletedWorkflowRunConclusion.Success, "timed_out" => WebhookWorkflowRunCompletedWorkflowRunConclusion.TimedOut, + "startup_failure" => WebhookWorkflowRunCompletedWorkflowRunConclusion.StartupFailure, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs index afcce35849..3337941852 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWorkflowRunInProgress public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs index 359a370141..ba5594dafc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookWorkflowRunRequested public global::G.RepositoryWebhooks Repository { get; set; } = default!; /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::Newtonsoft.Json.JsonProperty("sender", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.SimpleUserWebhooks Sender { get; set; } = default!; + public global::G.SimpleUser Sender { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksAnswerUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksAnswerUser.g.verified.cs index deeb6a0c07..3de2ee1934 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksAnswerUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksAnswerUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksAnswerUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksCommentUser.g.verified.cs index e39f0dd076..72f3193199 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssue2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssue2User.g.verified.cs index a9d6ad8de3..a67f9ccefa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssue2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssue2User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksIssue2User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs index fa067c4010..056f6f56fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksIssueCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueUser.g.verified.cs index 0779920a5e..d4cdfc5fb1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksIssueUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksIssueUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksMembershipUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksMembershipUser.g.verified.cs index e7e999675e..3d5de4a721 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksMembershipUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksMembershipUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksMembershipUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs index 54001cb8a3..506a768356 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhooksPullRequest5BaseRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs index 5a6057f9b1..8baf5571ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksPullRequest5BaseUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs index feca3e6857..38375b89d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs @@ -290,7 +290,7 @@ public sealed partial class WebhooksPullRequest5HeadRepo /// Unique identifier of the repository /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs index ec77b13abb..0dd579eade 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksPullRequest5HeadUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs index 420aa2ba8d..177e354f43 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksPullRequest5User /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs index 4996be2fde..f5ea8ed022 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksReviewCommentUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewUser.g.verified.cs index 4bc522851a..14e991ca42 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksReviewUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksReviewUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRule.g.verified.cs index e7916b5666..e82750f371 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRule.g.verified.cs @@ -81,6 +81,18 @@ public sealed partial class WebhooksRule [global::Newtonsoft.Json.JsonProperty("linear_history_requirement_enforcement_level", Required = global::Newtonsoft.Json.Required.Always)] public global::G.WebhooksRuleLinearHistoryRequirementEnforcementLevel LinearHistoryRequirementEnforcementLevel { get; set; } = default!; + /// + /// The enforcement level of the branch lock setting. `off` means the branch is not locked, `non_admins` means the branch is read-only for non_admins, and `everyone` means the branch is read-only for everyone. + /// + [global::Newtonsoft.Json.JsonProperty("lock_branch_enforcement_level", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.WebhooksRuleLockBranchEnforcementLevel LockBranchEnforcementLevel { get; set; } = default!; + + /// + /// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow users to pull changes from upstream when the branch is locked. This setting is only applicable for forks. + /// + [global::Newtonsoft.Json.JsonProperty("lock_allows_fork_sync")] + public bool? LockAllowsForkSync { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..4828119727 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.WebhooksRuleLockBranchEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement level of the branch lock setting. `off` means the branch is not locked, `non_admins` means the branch is read-only for non_admins, and `everyone` means the branch is read-only for everyone. + /// + [global::System.Runtime.Serialization.DataContract] + public enum WebhooksRuleLockBranchEnforcementLevel + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="off")] + Off, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="non_admins")] + NonAdmins, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="everyone")] + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksRuleLockBranchEnforcementLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksRuleLockBranchEnforcementLevel value) + { + return value switch + { + WebhooksRuleLockBranchEnforcementLevel.Off => "off", + WebhooksRuleLockBranchEnforcementLevel.NonAdmins => "non_admins", + WebhooksRuleLockBranchEnforcementLevel.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksRuleLockBranchEnforcementLevel? ToEnum(string value) + { + return value switch + { + "off" => WebhooksRuleLockBranchEnforcementLevel.Off, + "non_admins" => WebhooksRuleLockBranchEnforcementLevel.NonAdmins, + "everyone" => WebhooksRuleLockBranchEnforcementLevel.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs index 7910dbae37..2f0dfdf789 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs @@ -15,6 +15,12 @@ public sealed partial class WebhooksSecurityAdvisory [global::Newtonsoft.Json.JsonProperty("cvss", Required = global::Newtonsoft.Json.Required.Always)] public global::G.WebhooksSecurityAdvisoryCvss Cvss { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksUser.g.verified.cs index 6adb7aa9ad..7b76050346 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Models.WebhooksUser.g.verified.cs @@ -67,7 +67,7 @@ public sealed partial class WebhooksUser /// /// [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] - public int Id { get; set; } = default!; + public long Id { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs index 1763d59f17..5a3ea2581a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsAssignTeamToOrgRoleResponse( /// /// Assign an organization role to a team
- /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs index d66800e248..0172e22e26 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsAssignUserToOrgRoleResponse( /// /// Assign an organization role to a user
- /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs index 0257ba206c..bf4b6294c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessOrgsCreateInvitationResponseContent( /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// @@ -111,7 +111,7 @@ partial void ProcessOrgsCreateInvitationResponseContent( /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs index bef53050de..6bcf2585c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -35,7 +35,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, global::System.Threading.CancellationToken cancellationToken = default) @@ -105,7 +105,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( } return - global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -122,9 +122,9 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, - global::System.Collections.Generic.IList properties, + global::System.Collections.Generic.IList properties, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.OrgsCreateOrUpdateCustomPropertiesRequest diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs index a7d74bc714..f595a7214b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -38,7 +38,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequest request, @@ -111,7 +111,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( } return - global::G.OrgCustomProperty.FromJson(__content, JsonSerializerOptions) ?? + global::G.CustomProperty.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -143,7 +143,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs index cd8b4979b1..73b773b6ee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -25,9 +25,11 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -35,6 +37,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, @@ -111,9 +114,11 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -124,6 +129,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGet.g.verified.cs index a08e470048..0c85cb24b6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGet.g.verified.cs @@ -27,14 +27,6 @@ partial void ProcessOrgsGetResponseContent( /// Gets information about an organization.
/// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
/// To see the full details about an organization, the authenticated user must be an organization owner.
- /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
/// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs index b611ff21cb..51a32bf278 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsGetAllCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { @@ -89,7 +89,7 @@ partial void ProcessOrgsGetAllCustomPropertiesResponseContent( } return - global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs index 50876aee4d..7cc6de8506 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessOrgsGetCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( string org, string customPropertyName, global::System.Threading.CancellationToken cancellationToken = default) @@ -95,7 +95,7 @@ partial void ProcessOrgsGetCustomPropertyResponseContent( } return - global::G.OrgCustomProperty.FromJson(__content, JsonSerializerOptions) ?? + global::G.CustomProperty.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs index 83e7d31781..f27f6ad1d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessOrgsGetOrgRoleResponseContent( /// /// Get an organization role
- /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsList.g.verified.cs index e08dd07f41..648402ca86 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsList.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessOrgsListResponseContent( /// /// List organizations
/// Lists all organizations, in the order that they were created.
- /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + /// > [!NOTE]
+ /// > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs new file mode 100644 index 0000000000..794ed340cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.OrgsClient.OrgsListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareOrgsListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? perPage, + ref string? before, + ref string? after, + ref string org, + ref string subjectDigest); + partial void PrepareOrgsListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? perPage, + string? before, + string? after, + string org, + string subjectDigest); + partial void ProcessOrgsListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOrgsListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OrgsListAttestationsAsync( + string org, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOrgsListAttestationsArguments( + httpClient: _httpClient, + perPage: ref perPage, + before: ref before, + after: ref after, + org: ref org, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOrgsListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + perPage: perPage, + before: before, + after: after, + org: org, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOrgsListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOrgsListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.OrgsListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs index d9efd02713..833360f9c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( /// /// List teams that are assigned to an organization role
- /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -44,7 +44,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + public async global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( string org, int roleId, int? perPage = 30, @@ -116,7 +116,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( } return - global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs index cb0d9e1c94..dcbebdb59b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( /// /// List users that are assigned to an organization role
- /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -44,7 +44,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + public async global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( string org, int roleId, int? perPage = 30, @@ -116,7 +116,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( } return - global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs index 8f9efa8594..e848b2c39a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs @@ -24,7 +24,7 @@ partial void ProcessOrgsListOrgRolesResponseContent( /// /// Get all organization roles for an organization
- /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs index d40cc82481..f22a0a20ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -32,7 +32,10 @@ partial void ProcessOrgsListPendingInvitationsResponseContent( /// /// List pending organization invitations
- /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + /// The return hash contains a `role` field which refers to the Organization
+ /// Invitation role and will be one of the following values: `direct_member`, `admin`,
+ /// `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub
+ /// member, the `login` field in the return hash will be `null`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs index efd0d12234..1d489c4475 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -21,7 +21,7 @@ partial void ProcessOrgsRevokeAllOrgRolesTeamResponse( /// /// Remove all organization roles for a team
- /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs index 4b9c856bfe..e8b32639ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -21,7 +21,7 @@ partial void ProcessOrgsRevokeAllOrgRolesUserResponse( /// /// Remove all organization roles for a user
- /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs index 180675643e..5a08e0413a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsRevokeOrgRoleTeamResponse( /// /// Remove an organization role from a team
- /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs index eb3b52fcea..bbf1701a0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsRevokeOrgRoleUserResponse( /// /// Remove an organization role from a user
- /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs index b7961a0a4d..aad37bf304 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessOrgsSetMembershipForUserResponseContent( ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// @@ -124,7 +124,7 @@ partial void ProcessOrgsSetMembershipForUserResponseContent( ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs index 1f01b98bcb..6d2f149c9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs @@ -26,16 +26,11 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -119,16 +114,11 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -204,36 +194,6 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Example: "http://github.blog" /// - /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether dependency graph is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// /// /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. /// @@ -265,12 +225,6 @@ partial void ProcessOrgsUpdateResponseContent( bool? membersCanForkPrivateRepositories = false, bool? webCommitSignoffRequired = false, string? blog = default, - bool? advancedSecurityEnabledForNewRepositories = default, - bool? dependabotAlertsEnabledForNewRepositories = default, - bool? dependabotSecurityUpdatesEnabledForNewRepositories = default, - bool? dependencyGraphEnabledForNewRepositories = default, - bool? secretScanningEnabledForNewRepositories = default, - bool? secretScanningPushProtectionEnabledForNewRepositories = default, bool? secretScanningPushProtectionCustomLinkEnabled = default, string? secretScanningPushProtectionCustomLink = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -298,12 +252,6 @@ partial void ProcessOrgsUpdateResponseContent( MembersCanForkPrivateRepositories = membersCanForkPrivateRepositories, WebCommitSignoffRequired = webCommitSignoffRequired, Blog = blog, - AdvancedSecurityEnabledForNewRepositories = advancedSecurityEnabledForNewRepositories, - DependabotAlertsEnabledForNewRepositories = dependabotAlertsEnabledForNewRepositories, - DependabotSecurityUpdatesEnabledForNewRepositories = dependabotSecurityUpdatesEnabledForNewRepositories, - DependencyGraphEnabledForNewRepositories = dependencyGraphEnabledForNewRepositories, - SecretScanningEnabledForNewRepositories = secretScanningEnabledForNewRepositories, - SecretScanningPushProtectionEnabledForNewRepositories = secretScanningPushProtectionEnabledForNewRepositories, SecretScanningPushProtectionCustomLinkEnabled = secretScanningPushProtectionCustomLinkEnabled, SecretScanningPushProtectionCustomLink = secretScanningPushProtectionCustomLink, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreate.g.verified.cs index dca93f399b..95a72adfa8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreate.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessPullsCreateResponseContent( /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -123,7 +123,7 @@ partial void ProcessPullsCreateResponseContent( /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs index 0da9a6c2e3..c9c4f7c280 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -11,7 +11,7 @@ partial void PreparePullsCreateReplyForReviewCommentArguments( ref string owner, ref string repo, ref int pullNumber, - ref int commentId, + ref long commentId, global::G.PullsCreateReplyForReviewCommentRequest request); partial void PreparePullsCreateReplyForReviewCommentRequest( global::System.Net.Http.HttpClient httpClient, @@ -19,7 +19,7 @@ partial void PreparePullsCreateReplyForReviewCommentRequest( string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request); partial void ProcessPullsCreateReplyForReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -33,7 +33,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -52,7 +52,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -134,7 +134,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -155,7 +155,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( string owner, string repo, int pullNumber, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReview.g.verified.cs index 3880b3bfdc..f498e66f6b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReview.g.verified.cs @@ -31,9 +31,10 @@ partial void ProcessPullsCreateReviewResponseContent( /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -130,9 +131,10 @@ partial void ProcessPullsCreateReviewResponseContent( /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs index 1f026c72fe..906569aa69 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessPullsCreateReviewCommentResponseContent( /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -132,7 +132,7 @@ partial void ProcessPullsCreateReviewCommentResponseContent( /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs index 37850ee365..734344ffe9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs @@ -10,13 +10,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); @@ -38,7 +38,7 @@ partial void ProcessPullsDeleteReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDismissReview.g.verified.cs index 184caef9ad..7bb9dc5078 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDismissReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsDismissReview.g.verified.cs @@ -33,9 +33,8 @@ partial void ProcessPullsDismissReviewResponseContent( /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -135,9 +134,8 @@ partial void ProcessPullsDismissReviewResponseContent( /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGet.g.verified.cs index 57e221be58..18bdc49743 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGet.g.verified.cs @@ -36,7 +36,7 @@ partial void ProcessPullsGetResponseContent( /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
/// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
/// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
- /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs index 49c28e7ee2..b35e2d0528 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs @@ -10,13 +10,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); @@ -43,7 +43,7 @@ partial void ProcessPullsGetReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsListFiles.g.verified.cs index 8469570fe7..3d1c082afa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsListFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsListFiles.g.verified.cs @@ -33,8 +33,8 @@ partial void ProcessPullsListFilesResponseContent( /// /// List pull requests files
/// Lists the files in a specified pull request.
- /// **Note:** Responses include a maximum of 3000 files. The paginated response
- /// returns 30 files per page by default.
+ /// > [!NOTE]
+ /// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsMerge.g.verified.cs index 5e4e6e108c..c9ec68f06f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsMerge.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsMerge.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessPullsMergeResponseContent( /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -122,7 +122,7 @@ partial void ProcessPullsMergeResponseContent( /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs index 77c3af4755..135b149c45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessPullsRequestReviewersResponseContent( /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -122,7 +122,7 @@ partial void ProcessPullsRequestReviewersResponseContent( /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs index 7bac62478a..27daa0bf45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessPullsUpdateBranchResponseContent( /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// @@ -120,7 +121,8 @@ partial void ProcessPullsUpdateBranchResponseContent( /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs index 2d54ea859c..53ad1f728c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PreparePullsUpdateReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.PullsUpdateReviewCommentRequest request); partial void ProcessPullsUpdateReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.PullsUpdateReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs index e79e14033a..cc67c27a48 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs @@ -22,7 +22,8 @@ partial void ProcessRateLimitGetResponseContent( /// /// Get rate limit status for the authenticated user
- /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// > [!NOTE]
+ /// > Accessing this endpoint does not count against your REST API rate limit.
/// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
/// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
/// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
@@ -32,8 +33,9 @@ partial void ProcessRateLimitGetResponseContent( /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
- /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
- /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
+ /// > [!NOTE]
+ /// > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs index 87a25030e0..e5fb20e225 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForCommitCommentRequest request); partial void ProcessReactionsCreateForCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs index 8aaf34da80..57d85efe17 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForIssueCommentRequest request); partial void ProcessReactionsCreateForIssueCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs index 7fe2260eca..188b3801fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForPullRequestReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForPullRequestReviewCommentRequest request); partial void ProcessReactionsCreateForPullRequestReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs index dd6faa5a5a..fdca02a6a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentInOrgResponseContent( /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -131,7 +132,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentInOrgResponseContent( /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs index b28907f875..d38a20d7e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentLegacyResponseContent /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -124,7 +125,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentLegacyResponseContent /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs index 0c59f6be16..df9a9f6aed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReactionsCreateForTeamDiscussionInOrgResponseContent( /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -125,7 +126,8 @@ partial void ProcessReactionsCreateForTeamDiscussionInOrgResponseContent( /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs index 85c1de211c..25a8627029 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessReactionsCreateForTeamDiscussionLegacyResponseContent( /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -118,7 +119,8 @@ partial void ProcessReactionsCreateForTeamDiscussionLegacyResponseContent( /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs index 69ee24e045..f0c3eb1fc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForCommitCommentResponse( /// /// Delete a commit comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForCommitCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs index 2524237e41..37b4e6a796 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForIssueResponse( /// /// Delete an issue reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
/// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs index 5b1174e535..9c4f141724 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForIssueCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForIssueCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForIssueCommentResponse( /// /// Delete an issue comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForIssueCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs index 27056560db..c5e8dcdc5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForPullRequestCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForPullRequestCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForPullRequestCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForPullRequestCommentResponse( /// /// Delete a pull request comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
/// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForPullRequestCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs index 79f1658f31..0e3eff9664 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForReleaseResponse( /// /// Delete a release reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
/// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs index a429e61687..287ea1e217 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForTeamDiscussionResponse( /// /// Delete team discussion reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs index dafa4928a2..f3d04628f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessReactionsDeleteForTeamDiscussionCommentResponse( /// /// Delete team discussion comment reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs index a0293db1cb..4ebb60d6aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForCommitCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForCommitCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs index 2a5f86c50d..73e2b144e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForIssueCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForIssueCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs index ba46ebfe88..078c2e747e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForPullRequestReviewCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs index 69de17e64a..aaa7bff4fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -37,7 +37,8 @@ partial void ProcessReactionsListForTeamDiscussionCommentInOrgResponseContent( /// /// List reactions for a team discussion comment
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs index cd724f8a13..176a3ce21a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReactionsListForTeamDiscussionCommentLegacyResponseContent( /// /// List reactions for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs index 4b8fcde776..5c98d3c045 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessReactionsListForTeamDiscussionInOrgResponseContent( /// /// List reactions for a team discussion
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs index 6f933bc2d0..de9b6eb2fa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReactionsListForTeamDiscussionLegacyResponseContent( /// /// List reactions for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs index 64eee1a4bc..90bedf5c0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposAddAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposAddAppAccessRestrictionsRequest request); partial void PrepareReposAddAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposAddAppAccessRestrictionsRequest request); partial void ProcessReposAddAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposAddAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposAddAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposAddAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs index f14d012a80..f2aac3f51a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessReposAddCollaboratorResponseContent( /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
@@ -131,7 +131,7 @@ partial void ProcessReposAddCollaboratorResponseContent( /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs index a682a1ba4e..218bb9dbc7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposAddUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposAddUserAccessRestrictionsRequest request); partial void PrepareReposAddUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposAddUserAccessRestrictionsRequest request); partial void ProcessReposAddUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposAddUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposAddUserAccessRestrictionsRequest { + Users = users, }; return await ReposAddUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs index 168acd6427..3cf0a575c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs @@ -41,7 +41,7 @@ partial void ProcessReposCompareCommitsResponseContent( /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
/// **Working with large comparisons**
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
- /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
/// **Signature verification object**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs new file mode 100644 index 0000000000..d449e9ccdb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.ReposClient.ReposCreateAttestation.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareReposCreateAttestationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + global::G.ReposCreateAttestationRequest request); + partial void PrepareReposCreateAttestationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + global::G.ReposCreateAttestationRequest request); + partial void ProcessReposCreateAttestationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReposCreateAttestationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareReposCreateAttestationArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/attestations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReposCreateAttestationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReposCreateAttestationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReposCreateAttestationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ReposCreateAttestationResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequestBundle bundle, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ReposCreateAttestationRequest + { + Bundle = bundle, + }; + + return await ReposCreateAttestationAsync( + owner: owner, + repo: repo, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs index 140617930b..4aa2faa6a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessReposCreateCommitCommentResponseContent( /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -127,7 +127,7 @@ partial void ProcessReposCreateCommitCommentResponseContent( /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs index f10e79e779..3e3ed9a291 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -131,7 +131,9 @@ partial void ProcessReposCreateDeploymentStatusResponseContent( /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. /// /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. /// /// /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs index 0a6f249310..8e82c54fd5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -181,6 +181,7 @@ partial void ProcessReposCreateForAuthenticatedUserResponseContent( /// Example: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -192,6 +193,7 @@ partial void ProcessReposCreateForAuthenticatedUserResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateFork.g.verified.cs index 94a3b07e16..4192989bd8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateFork.g.verified.cs @@ -29,8 +29,10 @@ partial void ProcessReposCreateForkResponseContent( /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// @@ -117,8 +119,10 @@ partial void ProcessReposCreateForkResponseContent( /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs index 93301bada2..40f833d176 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs @@ -184,6 +184,7 @@ partial void ProcessReposCreateInOrgResponseContent( /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -195,6 +196,7 @@ partial void ProcessReposCreateInOrgResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs index 31dedcb1b8..1f54ebf18d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -31,8 +31,10 @@ partial void ProcessReposCreateOrUpdateEnvironmentResponseContent( /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// @@ -124,8 +126,10 @@ partial void ProcessReposCreateOrUpdateEnvironmentResponseContent( /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs index 92f2201144..f087ac8eda 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposCreateOrUpdateFileContentsResponseContent( /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// @@ -123,7 +124,8 @@ partial void ProcessReposCreateOrUpdateFileContentsResponseContent( /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs index bc6b65b6fc..e7d0136ea3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -116,7 +116,7 @@ partial void ProcessReposCreateOrgRulesetResponseContent( /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -125,7 +125,9 @@ partial void ProcessReposCreateOrgRulesetResponseContent( /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. @@ -136,7 +138,7 @@ partial void ProcessReposCreateOrgRulesetResponseContent( string org, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::G.ReposCreateOrgRulesetRequestTarget? target = global::G.ReposCreateOrgRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.OrgRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs index 5dc9ca93c2..63b4cf1e4c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs @@ -29,7 +29,7 @@ partial void ProcessReposCreateReleaseResponseContent( /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -116,7 +116,7 @@ partial void ProcessReposCreateReleaseResponseContent( /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs index 23f641a8b6..060e8b1f2c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -123,7 +123,7 @@ partial void ProcessReposCreateRepoRulesetResponseContent( /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -144,7 +144,7 @@ partial void ProcessReposCreateRepoRulesetResponseContent( string repo, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::G.ReposCreateRepoRulesetRequestTarget? target = global::G.ReposCreateRepoRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.RepositoryRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs index b086403f9d..3a6c7ced42 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessReposCreateTagProtectionResponseContent( ref string content); /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -36,6 +38,7 @@ partial void ProcessReposCreateTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, @@ -114,7 +117,9 @@ partial void ProcessReposCreateTagProtectionResponseContent( } /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -125,6 +130,7 @@ partial void ProcessReposCreateTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs index 4ca86c0c37..7be61191bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs @@ -10,13 +10,13 @@ partial void PrepareReposDeleteCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId); + ref long commentId); partial void PrepareReposDeleteCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId); + long commentId); partial void ProcessReposDeleteCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,7 +37,7 @@ partial void ProcessReposDeleteCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs index 70d3b8ca3a..2b6a2b6d3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReposDeleteFileResponseContent( /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// @@ -128,7 +129,8 @@ partial void ProcessReposDeleteFileResponseContent( /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs index 875071fdff..70e18075a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessReposDeleteTagProtectionResponseContent( ref string content); /// - /// Delete a tag protection state for a repository
+ /// Deprecated - Delete a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.
/// This deletes a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -36,6 +38,7 @@ partial void ProcessReposDeleteTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs index cb32a596ad..b23d9ea264 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessReposDownloadTarballArchiveResponse( /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs index e1ea0efe0b..a0b64e3d95 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessReposDownloadZipballArchiveResponse( /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGet.g.verified.cs index f971f63924..d5a124f9a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGet.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessReposGetResponseContent( /// /// Get a repository
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs index c7e46afe34..b953ac96e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReposGetAccessRestrictionsResponseContent( /// Get access restrictions
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Lists who has access to this protected branch.
- /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + /// > [!NOTE]
+ /// > Users, apps, and teams `restrictions` are only available for organization-owned repositories. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs index b729878fab..d50e054783 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -27,8 +27,8 @@ partial void ProcessReposGetCodeFrequencyStatsResponseContent( /// /// Get the weekly commit activity
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
- /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
- /// 10,000 or more commits, a 422 status code will be returned. + /// > [!NOTE]
+ /// > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommit.g.verified.cs index a14af98126..87855d5b22 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommit.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessReposGetCommitResponseContent( /// /// Get a commit
/// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
- /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// > [!NOTE]
+ /// > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
/// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
/// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs index 2a1dba233c..05511f84fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs @@ -10,13 +10,13 @@ partial void PrepareReposGetCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId); + ref long commentId); partial void PrepareReposGetCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId); + long commentId); partial void ProcessReposGetCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,7 +43,7 @@ partial void ProcessReposGetCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs index 2fd1650fa1..231e6d4d5d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReposGetCommitSignatureProtectionResponseContent( /// Get commit signature protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
- /// **Note**: You must enable branch protection to require signed commits. + /// > [!NOTE]
+ /// > You must enable branch protection to require signed commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs index 661c509807..986cac4bbd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposGetContributorsStatsResponseContent( /// * `a` - Number of additions
/// * `d` - Number of deletions
/// * `c` - Number of commits
- /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + /// > [!NOTE]
+ /// > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs index f26d28a0c0..50854c2ff7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessReposGetEnvironmentResponseContent( /// /// Get an environment
- /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// > [!NOTE]
+ /// > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
/// Anyone with read access to the repository can use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs index 1d4c483457..f460b18d1e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -9,6 +9,7 @@ public partial class ReposClient partial void PrepareReposGetOrgRuleSuitesArguments( global::System.Net.Http.HttpClient httpClient, ref string org, + ref string? @ref, ref int? repositoryName, ref global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod, ref string? actorName, @@ -19,6 +20,7 @@ partial void PrepareReposGetOrgRuleSuitesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, + string? @ref, int? repositoryName, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod, string? actorName, @@ -40,6 +42,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." ///
/// + /// /// /// /// Default Value: day @@ -58,6 +61,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( /// public async global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( string org, + string? @ref = default, int? repositoryName = default, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, string? actorName = default, @@ -71,6 +75,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( PrepareReposGetOrgRuleSuitesArguments( httpClient: _httpClient, org: ref org, + @ref: ref @ref, repositoryName: ref repositoryName, timePeriod: ref timePeriod, actorName: ref actorName, @@ -98,6 +103,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( path: $"/orgs/{org}/rulesets/rule-suites", baseUri: _httpClient.BaseAddress); __pathBuilder + .AddOptionalParameter("ref", @ref) .AddOptionalParameter("repository_name", repositoryName?.ToString()) .AddOptionalParameter("time_period", timePeriodValue?.ToString()) .AddOptionalParameter("actor_name", actorName) @@ -117,6 +123,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, + @ref: @ref, repositoryName: repositoryName, timePeriod: timePeriod, actorName: actorName, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs index e75b31fa6d..1de58a2a54 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs @@ -26,7 +26,9 @@ partial void ProcessReposGetOrgRulesetResponseContent( /// /// Get an organization repository ruleset
- /// Get a repository ruleset for an organization. + /// Get a repository ruleset for an organization.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs index eb7855be6d..88c092d617 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs @@ -10,13 +10,15 @@ partial void PrepareReposGetOrgRulesetsArguments( global::System.Net.Http.HttpClient httpClient, ref string org, ref int? perPage, - ref int? page); + ref int? page, + ref string? targets); partial void PrepareReposGetOrgRulesetsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int? perPage, - int? page); + int? page, + string? targets); partial void ProcessReposGetOrgRulesetsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,12 +39,16 @@ partial void ProcessReposGetOrgRulesetsResponseContent( /// /// Default Value: 1 /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( string org, int? perPage = 30, int? page = 1, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +57,8 @@ partial void ProcessReposGetOrgRulesetsResponseContent( httpClient: _httpClient, org: ref org, perPage: ref perPage, - page: ref page); + page: ref page, + targets: ref targets); var __pathBuilder = new PathBuilder( path: $"/orgs/{org}/rulesets", @@ -59,6 +66,7 @@ partial void ProcessReposGetOrgRulesetsResponseContent( __pathBuilder .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("targets", targets) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -73,7 +81,8 @@ partial void ProcessReposGetOrgRulesetsResponseContent( httpRequestMessage: httpRequest, org: org, perPage: perPage, - page: page); + page: page, + targets: targets); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRelease.g.verified.cs index a71e8d2c46..4b82b39f33 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRelease.g.verified.cs @@ -29,9 +29,8 @@ partial void ProcessReposGetReleaseResponseContent( /// /// Get a release
/// Gets a public release with the specified release ID.
- /// **Note:** This returns an `upload_url` key corresponding to the endpoint
- /// for uploading release assets. This key is a hypermedia resource. For more information, see
- /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + /// > [!NOTE]
+ /// > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs index bcfa25b51a..86fc73e5ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs @@ -28,7 +28,7 @@ partial void ProcessReposGetReleaseAssetResponseContent( /// /// Get a release asset
- /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs index 0f2d8499a1..066d8c4505 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs @@ -30,7 +30,9 @@ partial void ProcessReposGetRepoRulesetResponseContent( /// /// Get a repository ruleset
- /// Get a ruleset for a repository. + /// Get a ruleset for a repository.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs index bde8962156..e38cfd9713 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs @@ -12,7 +12,8 @@ partial void PrepareReposGetRepoRulesetsArguments( ref string repo, ref int? perPage, ref int? page, - ref bool? includesParents); + ref bool? includesParents, + ref string? targets); partial void PrepareReposGetRepoRulesetsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -20,7 +21,8 @@ partial void PrepareReposGetRepoRulesetsRequest( string repo, int? perPage, int? page, - bool? includesParents); + bool? includesParents, + string? targets); partial void ProcessReposGetRepoRulesetsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,6 +47,9 @@ partial void ProcessReposGetRepoRulesetsResponseContent( /// /// Default Value: true /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( @@ -53,6 +58,7 @@ partial void ProcessReposGetRepoRulesetsResponseContent( int? perPage = 30, int? page = 1, bool? includesParents = true, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -63,7 +69,8 @@ partial void ProcessReposGetRepoRulesetsResponseContent( repo: ref repo, perPage: ref perPage, page: ref page, - includesParents: ref includesParents); + includesParents: ref includesParents, + targets: ref targets); var __pathBuilder = new PathBuilder( path: $"/repos/{owner}/{repo}/rulesets", @@ -72,6 +79,7 @@ partial void ProcessReposGetRepoRulesetsResponseContent( .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("includes_parents", includesParents?.ToString()) + .AddOptionalParameter("targets", targets) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -88,7 +96,8 @@ partial void ProcessReposGetRepoRulesetsResponseContent( repo: repo, perPage: perPage, page: page, - includesParents: includesParents); + includesParents: includesParents, + targets: targets); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListAttestations.g.verified.cs new file mode 100644 index 0000000000..1fa8ae182c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListAttestations.g.verified.cs @@ -0,0 +1,134 @@ +//HintName: G.ReposClient.ReposListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareReposListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + ref int? perPage, + ref string? before, + ref string? after, + ref string subjectDigest); + partial void PrepareReposListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + int? perPage, + string? before, + string? after, + string subjectDigest); + partial void ProcessReposListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReposListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with a repository.
+ /// The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposListAttestationsAsync( + string owner, + string repo, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareReposListAttestationsArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + perPage: ref perPage, + before: ref before, + after: ref after, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReposListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + perPage: perPage, + before: before, + after: after, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReposListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReposListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ReposListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs index b1ce84749b..cbd29f7205 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReposListCustomDeploymentRuleIntegrationsResponseContent( /// /// List custom deployment rule integrations available for an environment
- /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// Gets all custom deployment protection rule integrations that are available for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
/// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListForOrg.g.verified.cs index 87c464f97b..9223801078 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListForOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessReposListForOrgResponseContent( /// /// List organization repositories
/// Lists repositories for the specified organization.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs index bc41f14f18..64b4fc5976 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs @@ -25,7 +25,9 @@ partial void ProcessReposListTagProtectionResponseContent( ref string content); /// - /// List tag protection states for a repository
+ /// Deprecated - List tag protection states for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
/// This returns the tag protection states of a repository.
/// This information is only available to repository administrators. ///
@@ -33,6 +35,7 @@ partial void ProcessReposListTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs index aff556f093..48f4872513 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposRemoveAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposRemoveAppAccessRestrictionsRequest request); partial void PrepareReposRemoveAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposRemoveAppAccessRestrictionsRequest request); partial void ProcessReposRemoveAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposRemoveAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposRemoveAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposRemoveAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs index 8e17f26562..6bfb26658c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs @@ -40,7 +40,8 @@ partial void ProcessReposRemoveCollaboratorResponseContent( /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
/// - If the user had their own fork of the repository, the fork will be deleted.
/// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
- /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// > [!NOTE]
+ /// > A user can still have access to the repository through organization permissions like base repository permissions.
/// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
/// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs index 592b945918..b153f76833 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposRemoveUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposRemoveUserAccessRestrictionsRequest request); partial void PrepareReposRemoveUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposRemoveUserAccessRestrictionsRequest request); partial void ProcessReposRemoveUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposRemoveUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposRemoveUserAccessRestrictionsRequest { + Users = users, }; return await ReposRemoveUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs index 6be81d4c58..1610de44fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposRenameBranchResponseContent( /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
@@ -124,7 +125,8 @@ partial void ProcessReposRenameBranchResponseContent( /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs index f787c3289e..77888c1907 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposSetAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposSetAppAccessRestrictionsRequest request); partial void PrepareReposSetAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposSetAppAccessRestrictionsRequest request); partial void ProcessReposSetAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposSetAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposSetAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposSetAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs index 97571c0ec5..440ff79749 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposSetUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposSetUserAccessRestrictionsRequest request); partial void PrepareReposSetUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposSetUserAccessRestrictionsRequest request); partial void ProcessReposSetUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposSetUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposSetUserAccessRestrictionsRequest { + Users = users, }; return await ReposSetUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs index 513aa0ec02..71ad29a786 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessReposTestPushWebhookResponseContent( /// /// Test the push repository webhook
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
- /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + /// > [!NOTE]
+ /// > Previously `/repos/:owner/:repo/hooks/:hook_id/test` ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdate.g.verified.cs index 24a607de7a..9b00deb7a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdate.g.verified.cs @@ -186,6 +186,7 @@ partial void ProcessReposUpdateResponseContent( /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -197,6 +198,7 @@ partial void ProcessReposUpdateResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs index d076fc44f6..70ea4f3d72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -32,8 +32,10 @@ partial void ProcessReposUpdateBranchProtectionResponseContent( /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// @@ -125,8 +127,10 @@ partial void ProcessReposUpdateBranchProtectionResponseContent( /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs index c22dbab8b5..4c5c2f2143 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReposUpdateCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.ReposUpdateCommitCommentRequest request); partial void PrepareReposUpdateCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request); partial void ProcessReposUpdateCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessReposUpdateCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessReposUpdateCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs index 4ffd9afc19..7d19a8a722 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -122,8 +122,7 @@ partial void ProcessReposUpdateOrgRulesetResponseContent( /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -132,7 +131,9 @@ partial void ProcessReposUpdateOrgRulesetResponseContent( /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs index bb102d6745..edf7f1ec01 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReposUpdatePullRequestReviewProtectionResponseContent( /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// @@ -124,7 +125,8 @@ partial void ProcessReposUpdatePullRequestReviewProtectionResponseContent( /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs index 5611f4cdf1..212bd46103 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -129,8 +129,7 @@ partial void ProcessReposUpdateRepoRulesetResponseContent( /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs index d73c4b5f03..d3fde7b7db 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -38,7 +38,8 @@ partial void ProcessSearchIssuesAndPullRequestsResponseContent( /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
/// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
/// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
- /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + /// > [!NOTE]
+ /// > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs new file mode 100644 index 0000000000..f5af11e91e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.cs + +#nullable enable + +namespace G +{ + public partial class SecretScanningClient + { + partial void PrepareSecretScanningCreatePushProtectionBypassArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request); + partial void PrepareSecretScanningCreatePushProtectionBypassRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request); + partial void ProcessSecretScanningCreatePushProtectionBypassResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSecretScanningCreatePushProtectionBypassResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSecretScanningCreatePushProtectionBypassArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSecretScanningCreatePushProtectionBypassRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSecretScanningCreatePushProtectionBypassResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSecretScanningCreatePushProtectionBypassResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.SecretScanningPushProtectionBypass.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The reason for bypassing push protection. + /// + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningPushProtectionBypassReason reason, + string placeholderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SecretScanningCreatePushProtectionBypassRequest + { + Reason = reason, + PlaceholderId = placeholderId, + }; + + return await SecretScanningCreatePushProtectionBypassAsync( + owner: owner, + repo: repo, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs index c9c2f02f27..005ba2d581 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessSecurityAdvisoriesCreateForkResponseContent( /// /// Create a temporary private fork
/// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
- /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + /// > [!NOTE]
+ /// > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs index fc34c15372..3b493a6983 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -19,6 +19,8 @@ partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesArguments( ref string? published, ref string? updated, ref string? modified, + ref string? epssPercentage, + ref string? epssPercentile, ref string? before, ref string? after, ref global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, @@ -38,6 +40,8 @@ partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesRequest( string? published, string? updated, string? modified, + string? epssPercentage, + string? epssPercentile, string? before, string? after, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, @@ -72,6 +76,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( /// /// /// + /// + /// /// /// /// @@ -97,6 +103,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( string? published = default, string? updated = default, string? modified = default, + string? epssPercentage = default, + string? epssPercentile = default, string? before = default, string? after = default, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, @@ -119,6 +127,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( published: ref published, updated: ref updated, modified: ref modified, + epssPercentage: ref epssPercentage, + epssPercentile: ref epssPercentile, before: ref before, after: ref after, direction: ref direction, @@ -168,6 +178,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( { global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.Updated => "updated", global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.Published => "published", + global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentage => "epss_percentage", + global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentile => "epss_percentile", _ => throw new global::System.NotImplementedException("Enum value not implemented."), }; var __pathBuilder = new PathBuilder( @@ -185,6 +197,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( .AddOptionalParameter("published", published) .AddOptionalParameter("updated", updated) .AddOptionalParameter("modified", modified) + .AddOptionalParameter("epss_percentage", epssPercentage) + .AddOptionalParameter("epss_percentile", epssPercentile) .AddOptionalParameter("before", before) .AddOptionalParameter("after", after) .AddOptionalParameter("direction", directionValue?.ToString()) @@ -213,6 +227,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( published: published, updated: updated, modified: modified, + epssPercentage: epssPercentage, + epssPercentile: epssPercentile, before: before, after: after, direction: direction, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs index 7af9c0dba1..1d0097b1ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsAddMemberLegacyResponseContent( /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs index d1b1db5c5e..235d556461 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -32,10 +32,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserInOrgResponseContent( /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// @@ -127,10 +129,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserInOrgResponseContent( /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs index abfd5146e3..9ef069a668 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -28,10 +28,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserLegacyResponseContent( /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
@@ -120,10 +122,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserLegacyResponseContent( /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs index 6147d87f44..eff55edf85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsInOrgResponseContent( /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// @@ -122,7 +123,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsInOrgResponseContent( /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs index 80b0b02af8..e334e9ba01 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsLegacyResponseContent( /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// @@ -116,7 +117,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsLegacyResponseContent( /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs index e96eb3e58a..3202cb479b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -101,7 +102,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -109,8 +111,7 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. /// /// The token to cancel the operation with /// @@ -119,7 +120,7 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( string teamSlug, string owner, string repo, - string? permission = "push", + string? permission = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs index 21d55a3720..f284c76d1c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsLegacyResponseContent( /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
@@ -123,7 +124,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsLegacyResponseContent( /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs index 403f1c1fe1..34453533c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsCheckPermissionsForProjectInOrgResponseContent( /// /// Check team permissions for a project
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs index fca354e93e..362bd17db8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsCheckPermissionsForProjectLegacyResponseContent( /// /// Check team permissions for a project (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs index f415a71853..66379b294b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -31,10 +31,11 @@ partial void ProcessTeamsCheckPermissionsForRepoInOrgResponseContent( /// /// Check team permissions for a repository
/// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.
/// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
/// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs index 03df9c171b..e0170ae471 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -28,9 +28,11 @@ partial void ProcessTeamsCheckPermissionsForRepoLegacyResponseContent( /// /// Check team permissions for a repository (Legacy)
- /// **Note**: Repositories inherited through a parent team will also be checked.
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// > [!NOTE]
+ /// > Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs index 0f76f1eb18..08d844af70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -31,8 +31,9 @@ partial void ProcessTeamsCreateDiscussionCommentInOrgResponseContent( /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -124,8 +125,9 @@ partial void ProcessTeamsCreateDiscussionCommentInOrgResponseContent( /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs index 69148effd9..27767af7b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -28,9 +28,10 @@ partial void ProcessTeamsCreateDiscussionCommentLegacyResponseContent( /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -118,9 +119,10 @@ partial void ProcessTeamsCreateDiscussionCommentLegacyResponseContent( /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs index 73b1679d54..7f985165a9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -29,8 +29,9 @@ partial void ProcessTeamsCreateDiscussionInOrgResponseContent( /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -118,8 +119,9 @@ partial void ProcessTeamsCreateDiscussionInOrgResponseContent( /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs index b1f8e88a6f..de1adc3af0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -26,9 +26,10 @@ partial void ProcessTeamsCreateDiscussionLegacyResponseContent( /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -112,9 +113,10 @@ partial void ProcessTeamsCreateDiscussionLegacyResponseContent( /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs index 4b678a3d38..fca99a6eca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsDeleteDiscussionCommentInOrgResponse( /// /// Delete a discussion comment
/// Deletes a comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs index dedbdd5770..fd34641290 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsDeleteDiscussionCommentLegacyResponse( /// /// Delete a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
/// Deletes a comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs index 2be44c9b8b..4f0b19c047 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsDeleteDiscussionInOrgResponse( /// /// Delete a discussion
/// Delete a discussion from a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs index 12a549d0ad..6614d525c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -21,7 +21,8 @@ partial void ProcessTeamsDeleteDiscussionLegacyResponse( /// /// Delete a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
/// Delete a discussion from a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs index f9bee08497..b02f5e291b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsDeleteInOrgResponse( /// Delete a team
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs index 5fb1077144..fa43cc7caf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsDeleteLegacyResponseContent( /// /// Delete a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs index b3444ad9c7..21c565357d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessTeamsGetByNameResponseContent( /// /// Get a team by name
/// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs index 36b940f904..cbaa00eb34 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsGetDiscussionCommentInOrgResponseContent( /// /// Get a discussion comment
/// Get a specific comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs index e39c5e080a..3ff4811208 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsGetDiscussionCommentLegacyResponseContent( /// /// Get a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
/// Get a specific comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs index 197fc6c70a..03b8c8d10f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsGetDiscussionInOrgResponseContent( /// /// Get a discussion
/// Get a specific discussion on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs index a2782fbe09..1f1a6258a9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsGetDiscussionLegacyResponseContent( /// /// Get a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
/// Get a specific discussion on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs index 6e7ce1c078..2271ac9a20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsGetLegacyResponseContent( /// /// Get a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs index 2fc4384c90..a93eb1b842 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -30,9 +30,10 @@ partial void ProcessTeamsGetMembershipForUserInOrgResponseContent( /// Get team membership for a user
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
- /// **Note:**
- /// The response contains the `state` of the membership and the member's `role`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// > [!NOTE]
+ /// > The response contains the `state` of the membership and the member's `role`.
/// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs index a0085a19c0..6eb9c327c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsGetMembershipForUserLegacyResponseContent( /// /// Get team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
/// **Note:**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs index 8be177adf3..61855da510 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListChildInOrgResponseContent( /// /// List child teams
/// Lists the child teams of the team specified by `{team_slug}`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs index 57c1023874..d6cf236a5e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListChildLegacyResponseContent( /// /// List child teams (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs index f4ef3c7a84..806b3502ce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessTeamsListDiscussionCommentsInOrgResponseContent( /// /// List discussion comments
/// List all comments on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs index b9edb27933..1cd8dfb7a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessTeamsListDiscussionCommentsLegacyResponseContent( /// /// List discussion comments (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
/// List all comments on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs index 6c559c97e3..e364a49e7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessTeamsListDiscussionsInOrgResponseContent( /// /// List discussions
/// List all discussions on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs index a98115a3f8..6936dc7d91 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsListDiscussionsLegacyResponseContent( /// /// List discussions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
/// List all discussions on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs index 2f52eb2e27..2433922f6d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsListMembersLegacyResponseContent( /// /// List team members (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
/// Team members will include the members of child teams. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs index be5d9d7bd6..d946326a4b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListPendingInvitationsInOrgResponseContent( /// /// List pending team invitations
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs index 6e6a04b493..3a36da6dea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListPendingInvitationsLegacyResponseContent( /// /// List pending team invitations (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs index 6ee6ddfc1e..fe1f3514b3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListProjectsInOrgResponseContent( /// /// List team projects
/// Lists the organization projects for a team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs index 2f8896449d..b4c5f4c995 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListProjectsLegacyResponseContent( /// /// List team projects (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
/// Lists the organization projects for a team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs index 1b6873e2a6..78143ef040 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListReposInOrgResponseContent( /// /// List team repositories
/// Lists a team's repositories visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs index 266645620b..4bbf8f1482 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListReposLegacyResponseContent( /// /// List team repositories (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs index 45ceb10efb..00920a4ec2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessTeamsRemoveMemberLegacyResponse( /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs index 9871be5076..720bb0e910 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -25,8 +25,10 @@ partial void ProcessTeamsRemoveMembershipForUserInOrgResponse( /// Remove team membership for a user
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs index 028f066506..12acd695f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -21,10 +21,12 @@ partial void ProcessTeamsRemoveMembershipForUserLegacyResponse( /// /// Remove team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs index 02c440fb22..77511b0398 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsRemoveProjectInOrgResponse( /// /// Remove a project from a team
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs index 9b6effd5c5..a66dd39d29 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsRemoveProjectLegacyResponseContent( /// /// Remove a project from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs index 1a3e5078eb..9bbc31acba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsRemoveRepoInOrgResponse( /// /// Remove a repository from a team
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs index ab1afb1525..eddf3eab99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsRemoveRepoLegacyResponse( /// /// Remove a repository from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs index 9597540750..c5f88fdca7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessTeamsUpdateDiscussionCommentInOrgResponseContent( /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -129,7 +130,8 @@ partial void ProcessTeamsUpdateDiscussionCommentInOrgResponseContent( /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs index e34ce696ac..9570415359 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsUpdateDiscussionCommentLegacyResponseContent( /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -123,7 +124,8 @@ partial void ProcessTeamsUpdateDiscussionCommentLegacyResponseContent( /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs index 4f9de71c82..565b83ed67 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsUpdateDiscussionInOrgResponseContent( /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -123,7 +124,8 @@ partial void ProcessTeamsUpdateDiscussionInOrgResponseContent( /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs index a2bd8a76ba..df60c6fa8b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsUpdateDiscussionLegacyResponseContent( /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -117,7 +118,8 @@ partial void ProcessTeamsUpdateDiscussionLegacyResponseContent( /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs index ea6ee04569..7fe7cf034d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsUpdateInOrgResponseContent( /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// @@ -116,7 +117,8 @@ partial void ProcessTeamsUpdateInOrgResponseContent( /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs index e6daa9c0c1..0b50077796 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -26,9 +26,11 @@ partial void ProcessTeamsUpdateLegacyResponseContent( /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// @@ -111,9 +113,11 @@ partial void ProcessTeamsUpdateLegacyResponseContent( /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersGetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersGetById.g.verified.cs new file mode 100644 index 0000000000..39430dd3a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersGetById.g.verified.cs @@ -0,0 +1,97 @@ +//HintName: G.UsersClient.UsersGetById.g.cs + +#nullable enable + +namespace G +{ + public partial class UsersClient + { + partial void PrepareUsersGetByIdArguments( + global::System.Net.Http.HttpClient httpClient, + ref int accountId); + partial void PrepareUsersGetByIdRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int accountId); + partial void ProcessUsersGetByIdResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUsersGetByIdResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a user using their ID
+ /// 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> UsersGetByIdAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareUsersGetByIdArguments( + httpClient: _httpClient, + accountId: ref accountId); + + var __pathBuilder = new PathBuilder( + path: $"/user/{accountId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUsersGetByIdRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + accountId: accountId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUsersGetByIdResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUsersGetByIdResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.OneOf.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersListAttestations.g.verified.cs new file mode 100644 index 0000000000..c1fb837bfe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.UsersListAttestations.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.UsersClient.UsersListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class UsersClient + { + partial void PrepareUsersListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? perPage, + ref string? before, + ref string? after, + ref string username, + ref string subjectDigest); + partial void PrepareUsersListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? perPage, + string? before, + string? after, + string username, + string subjectDigest); + partial void ProcessUsersListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUsersListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UsersListAttestationsAsync( + string username, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareUsersListAttestationsArguments( + httpClient: _httpClient, + perPage: ref perPage, + before: ref before, + after: ref after, + username: ref username, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/users/{username}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUsersListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + perPage: perPage, + before: before, + after: after, + username: username, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUsersListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUsersListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.UsersListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..0c23f8d280 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int repositoryId); + partial void PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int repositoryId); + partial void ProcessActionsAddRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Add repository access to a self-hosted runner group in an organization
+ /// Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + repositoryId: ref repositoryId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories/{repositoryId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + repositoryId: repositoryId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsAddRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..40beac3a5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsAddSelfHostedRunnerToGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int runnerId); + partial void PrepareActionsAddSelfHostedRunnerToGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int runnerId); + partial void ProcessActionsAddSelfHostedRunnerToGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Add a self-hosted runner to a group for an organization
+ /// Adds a self-hosted runner to a runner group configured in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsAddSelfHostedRunnerToGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsAddSelfHostedRunnerToGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + runnerId: ref runnerId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners/{runnerId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsAddSelfHostedRunnerToGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + runnerId: runnerId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsAddSelfHostedRunnerToGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..72ee8bae9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,170 @@ +//HintName: G.ActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsCreateSelfHostedRunnerGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request); + partial void PrepareActionsCreateSelfHostedRunnerGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request); + partial void ProcessActionsCreateSelfHostedRunnerGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsCreateSelfHostedRunnerGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsCreateSelfHostedRunnerGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsCreateSelfHostedRunnerGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsCreateSelfHostedRunnerGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsCreateSelfHostedRunnerGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + string name, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Collections.Generic.IList? runners = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest + { + Name = name, + Visibility = visibility, + SelectedRepositoryIds = selectedRepositoryIds, + Runners = runners, + AllowsPublicRepositories = allowsPublicRepositories, + RestrictedToWorkflows = restrictedToWorkflows, + SelectedWorkflows = selectedWorkflows, + }; + + return await ActionsCreateSelfHostedRunnerGroupForOrgAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs new file mode 100644 index 0000000000..a8934e1eb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.ActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsDeleteSelfHostedRunnerGroupFromOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId); + partial void PrepareActionsDeleteSelfHostedRunnerGroupFromOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId); + partial void ProcessActionsDeleteSelfHostedRunnerGroupFromOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Delete a self-hosted runner group from an organization
+ /// Deletes a self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerGroupFromOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsDeleteSelfHostedRunnerGroupFromOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsDeleteSelfHostedRunnerGroupFromOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsDeleteSelfHostedRunnerGroupFromOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..bcf4cc1c89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,102 @@ +//HintName: G.ActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsGetSelfHostedRunnerGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId); + partial void PrepareActionsGetSelfHostedRunnerGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId); + partial void ProcessActionsGetSelfHostedRunnerGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsGetSelfHostedRunnerGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a self-hosted runner group for an organization
+ /// Gets a specific self-hosted runner group for an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsGetSelfHostedRunnerGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsGetSelfHostedRunnerGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsGetSelfHostedRunnerGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsGetSelfHostedRunnerGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..477ad3c6e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,122 @@ +//HintName: G.ActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int? page, + ref int? perPage); + partial void PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int? page, + int? perPage); + partial void ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List repository access to a self-hosted runner group in an organization
+ /// Lists the repositories with access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int? page = 1, + int? perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs new file mode 100644 index 0000000000..c6093724e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs @@ -0,0 +1,123 @@ +//HintName: G.ActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListSelfHostedRunnerGroupsForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int? perPage, + ref int? page, + ref string? visibleToRepository); + partial void PrepareActionsListSelfHostedRunnerGroupsForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int? perPage, + int? page, + string? visibleToRepository); + partial void ProcessActionsListSelfHostedRunnerGroupsForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListSelfHostedRunnerGroupsForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List self-hosted runner groups for an organization
+ /// Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnerGroupsForOrgAsync( + string org, + int? perPage = 30, + int? page = 1, + string? visibleToRepository = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListSelfHostedRunnerGroupsForOrgArguments( + httpClient: _httpClient, + org: ref org, + perPage: ref perPage, + page: ref page, + visibleToRepository: ref visibleToRepository); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("visible_to_repository", visibleToRepository) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListSelfHostedRunnerGroupsForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + perPage: perPage, + page: page, + visibleToRepository: visibleToRepository); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListSelfHostedRunnerGroupsForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListSelfHostedRunnerGroupsForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..c820a9d93e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,122 @@ +//HintName: G.ActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsListSelfHostedRunnersInGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int? perPage, + ref int? page); + partial void PrepareActionsListSelfHostedRunnersInGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int? perPage, + int? page); + partial void ProcessActionsListSelfHostedRunnersInGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessActionsListSelfHostedRunnersInGroupForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List self-hosted runners in a group for an organization
+ /// Lists self-hosted runners that are in a specific organization group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + int? perPage = 30, + int? page = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsListSelfHostedRunnersInGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + perPage: ref perPage, + page: ref page); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("page", page?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsListSelfHostedRunnersInGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + perPage: perPage, + page: page); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsListSelfHostedRunnersInGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessActionsListSelfHostedRunnersInGroupForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..7c74d37d97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + ref int repositoryId); + partial void PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + int repositoryId); + partial void ProcessActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Remove repository access to a self-hosted runner group in an organization
+ /// Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + repositoryId: ref repositoryId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories/{repositoryId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + repositoryId: repositoryId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs similarity index 60% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs index 1c8226cd74..3285efe878 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs @@ -1,50 +1,52 @@ -//HintName: G.OrgsClient.OrgsDeleteCustomOrganizationRole.g.cs +//HintName: G.ActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class ActionsClient { - partial void PrepareOrgsDeleteCustomOrganizationRoleArguments( + partial void PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref int roleId); - partial void PrepareOrgsDeleteCustomOrganizationRoleRequest( + ref int runnerGroupId, + ref int runnerId); + partial void PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - int roleId); - partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( + int runnerGroupId, + int runnerId); + partial void ProcessActionsRemoveSelfHostedRunnerFromGroupForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); /// - /// Delete a custom organization role.
- /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Remove a self-hosted runner from a group for an organization
+ /// Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// + /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsRemoveSelfHostedRunnerFromGroupForOrgAsync( string org, - int roleId, + int runnerGroupId, + int runnerId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareOrgsDeleteCustomOrganizationRoleArguments( + PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgArguments( httpClient: _httpClient, org: ref org, - roleId: ref roleId); + runnerGroupId: ref runnerGroupId, + runnerId: ref runnerId); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles/{roleId}", + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners/{runnerId}", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -54,11 +56,12 @@ partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsDeleteCustomOrganizationRoleRequest( + PrepareActionsRemoveSelfHostedRunnerFromGroupForOrgRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, - roleId: roleId); + runnerGroupId: runnerGroupId, + runnerId: runnerId); using var response = await _httpClient.SendAsync( request: httpRequest, @@ -68,7 +71,7 @@ partial void ProcessOrgsDeleteCustomOrganizationRoleResponse( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsDeleteCustomOrganizationRoleResponse( + ProcessActionsRemoveSelfHostedRunnerFromGroupForOrgResponse( httpClient: _httpClient, httpResponseMessage: response); response.EnsureSuccessStatusCode(); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs index 8e752d4e35..9eb506a852 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -26,8 +26,8 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// @@ -94,8 +94,8 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs index ad88aeef44..e9eeae97dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -93,7 +93,8 @@ partial void ProcessActionsSetAllowedActionsOrganizationResponse( /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs index 345015d76b..1c660b1499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -100,7 +100,8 @@ partial void ProcessActionsSetAllowedActionsRepositoryResponse( /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..f7394389b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,118 @@ +//HintName: G.ActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request); + partial void PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request); + partial void ProcessActionsSetRepoAccessToSelfHostedRunnerGroupInOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/repositories", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsSetRepoAccessToSelfHostedRunnerGroupInOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest + { + SelectedRepositoryIds = selectedRepositoryIds, + }; + + await ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + org: org, + runnerGroupId: runnerGroupId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..e2c715142d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,118 @@ +//HintName: G.ActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class ActionsClient + { + partial void PrepareActionsSetSelfHostedRunnersInGroupForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request); + partial void PrepareActionsSetSelfHostedRunnersInGroupForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request); + partial void ProcessActionsSetSelfHostedRunnersInGroupForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareActionsSetSelfHostedRunnersInGroupForOrgArguments( + httpClient: _httpClient, + org: ref org, + runnerGroupId: ref runnerGroupId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}/runners", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareActionsSetSelfHostedRunnersInGroupForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + runnerGroupId: runnerGroupId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessActionsSetSelfHostedRunnersInGroupForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList runners, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest + { + Runners = runners, + }; + + await ActionsSetSelfHostedRunnersInGroupForOrgAsync( + org: org, + runnerGroupId: runnerGroupId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs similarity index 57% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs index 08dd8593e3..09a02c897d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -1,62 +1,59 @@ -//HintName: G.OrgsClient.OrgsPatchCustomOrganizationRole.g.cs +//HintName: G.ActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class ActionsClient { - partial void PrepareOrgsPatchCustomOrganizationRoleArguments( + partial void PrepareActionsUpdateSelfHostedRunnerGroupForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request); - partial void PrepareOrgsPatchCustomOrganizationRoleRequest( + ref int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request); + partial void PrepareActionsUpdateSelfHostedRunnerGroupForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request); - partial void ProcessOrgsPatchCustomOrganizationRoleResponse( + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request); + partial void ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( + partial void ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request, + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); PrepareArguments( client: _httpClient); - PrepareOrgsPatchCustomOrganizationRoleArguments( + PrepareActionsUpdateSelfHostedRunnerGroupForOrgArguments( httpClient: _httpClient, org: ref org, - roleId: ref roleId, + runnerGroupId: ref runnerGroupId, request: request); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles/{roleId}", + path: $"/orgs/{org}/actions/runner-groups/{runnerGroupId}", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -72,11 +69,11 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsPatchCustomOrganizationRoleRequest( + PrepareActionsUpdateSelfHostedRunnerGroupForOrgRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, - roleId: roleId, + runnerGroupId: runnerGroupId, request: request); using var response = await _httpClient.SendAsync( @@ -87,7 +84,7 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsPatchCustomOrganizationRoleResponse( + ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -97,7 +94,7 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsPatchCustomOrganizationRoleResponseContent( + ProcessActionsUpdateSelfHostedRunnerGroupForOrgResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -112,49 +109,58 @@ partial void ProcessOrgsPatchCustomOrganizationRoleResponseContent( } return - global::G.OrganizationRole.FromJson(__content, JsonSerializerOptions) ?? + global::G.RunnerGroupsOrg.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
/// - /// + /// /// - /// The name of the custom role. + /// Name of the runner group. /// - /// - /// A short description about the intended usage of this role or what permissions it grants. + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. /// - /// - /// A list of additional permissions included in this role. + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( string org, - int roleId, - string? name = default, - string? description = default, - global::System.Collections.Generic.IList? permissions = default, + int runnerGroupId, + string name, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OrgsPatchCustomOrganizationRoleRequest + var request = new global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest { Name = name, - Description = description, - Permissions = permissions, + Visibility = visibility, + AllowsPublicRepositories = allowsPublicRepositories, + RestrictedToWorkflows = restrictedToWorkflows, + SelectedWorkflows = selectedWorkflows, }; - return await OrgsPatchCustomOrganizationRoleAsync( + return await ActionsUpdateSelfHostedRunnerGroupForOrgAsync( org: org, - roleId: roleId, + runnerGroupId: runnerGroupId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs index ea7f1d2a19..414a7551b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityGetFeeds.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessActivityGetFeedsResponseContent( /// * **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. + /// > [!NOTE]
+ /// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs index adfacd5b55..242a27db52 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -28,7 +28,9 @@ partial void ProcessActivityListEventsForAuthenticatedUserResponseContent( /// /// List events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs index 805d7ccad7..82823be49d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -30,7 +30,9 @@ partial void ProcessActivityListOrgEventsForAuthenticatedUserResponseContent( /// /// List organization events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs index 3558b99684..3d3dbd5c7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEvents.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessActivityListPublicEventsResponseContent( /// /// List public events
- /// 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. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs index 5c0a674bb9..7b3eed6c80 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -29,7 +29,9 @@ partial void ProcessActivityListPublicEventsForRepoNetworkResponseContent( ref string content); /// - /// List public events for a network of repositories + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs index 324085b07e..0e8bc79078 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListPublicEventsForUserResponseContent( ref string content); /// - /// List public events for a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs index 3655cc71f2..cc111146ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListPublicOrgEventsResponseContent( ref string content); /// - /// List public organization events + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs index fa2046715e..212b451b23 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -28,7 +28,10 @@ partial void ProcessActivityListReceivedEventsForUserResponseContent( /// /// List events received by the authenticated user
- /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + /// These are events that you've received by watching repositories and following users. If you are authenticated as the
+ /// given user, you will see 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs index 363b5fd440..3200949fb8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessActivityListReceivedPublicEventsForUserResponseContent( ref string content); /// - /// List public events received by a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs index f4ca864340..e0b4e8763a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.ActivityListRepoEvents.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessActivityListRepoEventsResponseContent( /// /// List repository 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. + /// > [!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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs index 4701a22cee..007e30f0c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs @@ -152,6 +152,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.ClassroomAssignmentTypeNullableJsonConverter(), new global::G.JsonConverters.SimpleClassroomAssignmentTypeJsonConverter(), new global::G.JsonConverters.SimpleClassroomAssignmentTypeNullableJsonConverter(), + new global::G.JsonConverters.CopilotSeatDetailsPlanTypeJsonConverter(), + new global::G.JsonConverters.CopilotSeatDetailsPlanTypeNullableJsonConverter(), new global::G.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityJsonConverter(), new global::G.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityNullableJsonConverter(), new global::G.JsonConverters.DependabotAlertSecurityAdvisorySeverityJsonConverter(), @@ -186,6 +188,10 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.SecurityAndAnalysisSecretScanningStatusNullableJsonConverter(), new global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusJsonConverter(), new global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusNullableJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter(), + new global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter(), new global::G.JsonConverters.EnabledRepositoriesJsonConverter(), new global::G.JsonConverters.EnabledRepositoriesNullableJsonConverter(), new global::G.JsonConverters.AllowedActionsJsonConverter(), @@ -214,6 +220,36 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CodeScanningAlertRuleSummarySecuritySeverityLevelNullableJsonConverter(), new global::G.JsonConverters.CodeScanningAlertClassificationJsonConverter(), new global::G.JsonConverters.CodeScanningAlertClassificationNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationTargetTypeJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationTargetTypeNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationAdvancedSecurityJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependabotAlertsJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependabotAlertsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationEnforcementJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationEnforcementNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposJsonConverter(), + new global::G.JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationRepositoriesStatusJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullableJsonConverter(), new global::G.JsonConverters.NullableCodespaceMachinePrebuildAvailabilityJsonConverter(), new global::G.JsonConverters.NullableCodespaceMachinePrebuildAvailabilityNullableJsonConverter(), new global::G.JsonConverters.CodespaceStateJsonConverter(), @@ -232,6 +268,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CopilotOrganizationDetailsCliNullableJsonConverter(), new global::G.JsonConverters.CopilotOrganizationDetailsSeatManagementSettingJsonConverter(), new global::G.JsonConverters.CopilotOrganizationDetailsSeatManagementSettingNullableJsonConverter(), + new global::G.JsonConverters.CopilotOrganizationDetailsPlanTypeJsonConverter(), + new global::G.JsonConverters.CopilotOrganizationDetailsPlanTypeNullableJsonConverter(), new global::G.JsonConverters.OrganizationDependabotSecretVisibilityJsonConverter(), new global::G.JsonConverters.OrganizationDependabotSecretVisibilityNullableJsonConverter(), new global::G.JsonConverters.PackagePackageTypeJsonConverter(), @@ -254,10 +292,10 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OrganizationProgrammaticAccessGrantRepositorySelectionNullableJsonConverter(), new global::G.JsonConverters.ProjectOrganizationPermissionJsonConverter(), new global::G.JsonConverters.ProjectOrganizationPermissionNullableJsonConverter(), - new global::G.JsonConverters.OrgCustomPropertyValueTypeJsonConverter(), - new global::G.JsonConverters.OrgCustomPropertyValueTypeNullableJsonConverter(), - new global::G.JsonConverters.OrgCustomPropertyValuesEditableByJsonConverter(), - new global::G.JsonConverters.OrgCustomPropertyValuesEditableByNullableJsonConverter(), + new global::G.JsonConverters.CustomPropertyValueTypeJsonConverter(), + new global::G.JsonConverters.CustomPropertyValueTypeNullableJsonConverter(), + new global::G.JsonConverters.CustomPropertyValuesEditableByJsonConverter(), + new global::G.JsonConverters.CustomPropertyValuesEditableByNullableJsonConverter(), new global::G.JsonConverters.NullableRepositorySquashMergeCommitTitleJsonConverter(), new global::G.JsonConverters.NullableRepositorySquashMergeCommitTitleNullableJsonConverter(), new global::G.JsonConverters.NullableRepositorySquashMergeCommitMessageJsonConverter(), @@ -280,6 +318,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.RepositoryRulesetBypassActorActorTypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRulesetBypassActorBypassModeJsonConverter(), new global::G.JsonConverters.RepositoryRulesetBypassActorBypassModeNullableJsonConverter(), + new global::G.JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceJsonConverter(), + new global::G.JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleCreationTypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleCreationTypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleUpdateTypeJsonConverter(), @@ -288,6 +328,12 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.RepositoryRuleDeletionTypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeNullableJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueTypeJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueTypeNullableJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullableJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodJsonConverter(), + new global::G.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleRequiredDeploymentsTypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleRequiredDeploymentsTypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleRequiredSignaturesTypeJsonConverter(), @@ -326,14 +372,14 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.RepositoryRuleParamsCodeScanningToolSecurityAlertsThresholdNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleCodeScanningTypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleCodeScanningTypeNullableJsonConverter(), - new global::G.JsonConverters.RepositoryRuleVariant15TypeJsonConverter(), - new global::G.JsonConverters.RepositoryRuleVariant15TypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant16TypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant16TypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant17TypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant17TypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant18TypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleVariant18TypeNullableJsonConverter(), + new global::G.JsonConverters.RepositoryRuleVariant19TypeJsonConverter(), + new global::G.JsonConverters.RepositoryRuleVariant19TypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRuleDiscriminatorTypeJsonConverter(), new global::G.JsonConverters.RepositoryRuleDiscriminatorTypeNullableJsonConverter(), new global::G.JsonConverters.RepositoryRulesetTargetJsonConverter(), @@ -430,6 +476,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullableJsonConverter(), new global::G.JsonConverters.CodeScanningSarifsStatusProcessingStatusJsonConverter(), new global::G.JsonConverters.CodeScanningSarifsStatusProcessingStatusNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationForRepositoryStatusJsonConverter(), + new global::G.JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullableJsonConverter(), new global::G.JsonConverters.CodespaceMachinePrebuildAvailabilityJsonConverter(), new global::G.JsonConverters.CodespaceMachinePrebuildAvailabilityNullableJsonConverter(), new global::G.JsonConverters.RepositoryInvitationPermissionsJsonConverter(), @@ -504,6 +552,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.SecretScanningAlertValidityNullableJsonConverter(), new global::G.JsonConverters.SecretScanningLocationTypeJsonConverter(), new global::G.JsonConverters.SecretScanningLocationTypeNullableJsonConverter(), + new global::G.JsonConverters.SecretScanningPushProtectionBypassReasonJsonConverter(), + new global::G.JsonConverters.SecretScanningPushProtectionBypassReasonNullableJsonConverter(), new global::G.JsonConverters.RepositoryAdvisoryCreateSeverityJsonConverter(), new global::G.JsonConverters.RepositoryAdvisoryCreateSeverityNullableJsonConverter(), new global::G.JsonConverters.PrivateVulnerabilityReportCreateSeverityJsonConverter(), @@ -540,6 +590,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhooksRuleAllowForcePushesEnforcementLevelNullableJsonConverter(), new global::G.JsonConverters.WebhooksRuleLinearHistoryRequirementEnforcementLevelJsonConverter(), new global::G.JsonConverters.WebhooksRuleLinearHistoryRequirementEnforcementLevelNullableJsonConverter(), + new global::G.JsonConverters.WebhooksRuleLockBranchEnforcementLevelJsonConverter(), + new global::G.JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullableJsonConverter(), new global::G.JsonConverters.WebhooksRuleMergeQueueEnforcementLevelJsonConverter(), new global::G.JsonConverters.WebhooksRuleMergeQueueEnforcementLevelNullableJsonConverter(), new global::G.JsonConverters.WebhooksRulePullRequestReviewsEnforcementLevelJsonConverter(), @@ -820,6 +872,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhooksProjectStateNullableJsonConverter(), new global::G.JsonConverters.ProjectsV2ItemContentTypeJsonConverter(), new global::G.JsonConverters.ProjectsV2ItemContentTypeNullableJsonConverter(), + new global::G.JsonConverters.ProjectsV2StatusUpdateStatusJsonConverter(), + new global::G.JsonConverters.ProjectsV2StatusUpdateStatusNullableJsonConverter(), new global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitMessageJsonConverter(), new global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitMessageNullableJsonConverter(), new global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitTitleJsonConverter(), @@ -946,6 +1000,10 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookBranchProtectionRuleEditedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromJsonConverter(), new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromNullableJsonConverter(), + new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromJsonConverter(), + new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullableJsonConverter(), + new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromJsonConverter(), + new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullableJsonConverter(), new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromJsonConverter(), new global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromNullableJsonConverter(), new global::G.JsonConverters.WebhookCheckRunCompletedActionJsonConverter(), @@ -3218,6 +3276,16 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookProjectsV2ItemRestoredActionNullableJsonConverter(), new global::G.JsonConverters.WebhookProjectsV2ProjectReopenedActionJsonConverter(), new global::G.JsonConverters.WebhookProjectsV2ProjectReopenedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullableJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToJsonConverter(), + new global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullableJsonConverter(), new global::G.JsonConverters.WebhookPullRequestAssignedActionJsonConverter(), new global::G.JsonConverters.WebhookPullRequestAssignedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonJsonConverter(), @@ -3472,6 +3540,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestStateNullableJsonConverter(), new global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeJsonConverter(), new global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeNullableJsonConverter(), + new global::G.JsonConverters.WebhookPullRequestDequeuedReasonJsonConverter(), + new global::G.JsonConverters.WebhookPullRequestDequeuedReasonNullableJsonConverter(), new global::G.JsonConverters.WebhookPullRequestEditedActionJsonConverter(), new global::G.JsonConverters.WebhookPullRequestEditedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookPullRequestEnqueuedActionJsonConverter(), @@ -4728,8 +4798,6 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookSecretScanningAlertReopenedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookSecretScanningAlertResolvedActionJsonConverter(), new global::G.JsonConverters.WebhookSecretScanningAlertResolvedActionNullableJsonConverter(), - new global::G.JsonConverters.WebhookSecretScanningAlertRevokedActionJsonConverter(), - new global::G.JsonConverters.WebhookSecretScanningAlertRevokedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookSecretScanningAlertValidatedActionJsonConverter(), new global::G.JsonConverters.WebhookSecretScanningAlertValidatedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookSecurityAdvisoryPublishedActionJsonConverter(), @@ -4762,6 +4830,14 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookStatusCommitCommitterTypeNullableJsonConverter(), new global::G.JsonConverters.WebhookStatusStateJsonConverter(), new global::G.JsonConverters.WebhookStatusStateNullableJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesParentIssueAddedActionJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesParentIssueAddedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesParentIssueRemovedActionJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesSubIssueAddedActionJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesSubIssueAddedActionNullableJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesSubIssueRemovedActionJsonConverter(), + new global::G.JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullableJsonConverter(), new global::G.JsonConverters.WebhookTeamAddedToRepositoryActionJsonConverter(), new global::G.JsonConverters.WebhookTeamAddedToRepositoryActionNullableJsonConverter(), new global::G.JsonConverters.WebhookTeamAddedToRepositoryRepositoryOwnerTypeJsonConverter(), @@ -4886,12 +4962,68 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OrgsUpdateRequestDefaultRepositoryPermissionNullableJsonConverter(), new global::G.JsonConverters.OrgsUpdateRequestMembersAllowedRepositoryCreationTypeJsonConverter(), new global::G.JsonConverters.OrgsUpdateRequestMembersAllowedRepositoryCreationTypeNullableJsonConverter(), + new global::G.JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter(), + new global::G.JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter(), + new global::G.JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter(), + new global::G.JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter(), new global::G.JsonConverters.ActionsCreateOrUpdateOrgSecretRequestVisibilityJsonConverter(), new global::G.JsonConverters.ActionsCreateOrUpdateOrgSecretRequestVisibilityNullableJsonConverter(), new global::G.JsonConverters.ActionsCreateOrgVariableRequestVisibilityJsonConverter(), new global::G.JsonConverters.ActionsCreateOrgVariableRequestVisibilityNullableJsonConverter(), new global::G.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityJsonConverter(), new global::G.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementJsonConverter(), + new global::G.JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementJsonConverter(), + new global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityAttachConfigurationRequestScopeJsonConverter(), + new global::G.JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullableJsonConverter(), + new global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposJsonConverter(), + new global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullableJsonConverter(), new global::G.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityJsonConverter(), new global::G.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityNullableJsonConverter(), new global::G.JsonConverters.CodespacesCreateOrUpdateOrgSecretRequestVisibilityJsonConverter(), @@ -5140,6 +5272,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CodeScanningListAlertsForOrgDirectionNullableJsonConverter(), new global::G.JsonConverters.CodeScanningListAlertsForOrgSortJsonConverter(), new global::G.JsonConverters.CodeScanningListAlertsForOrgSortNullableJsonConverter(), + new global::G.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeJsonConverter(), + new global::G.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullableJsonConverter(), new global::G.JsonConverters.DependabotListAlertsForOrgScopeJsonConverter(), new global::G.JsonConverters.DependabotListAlertsForOrgScopeNullableJsonConverter(), new global::G.JsonConverters.DependabotListAlertsForOrgSortJsonConverter(), @@ -5452,6 +5586,10 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.ActivityListReposStarredByUserSortNullableJsonConverter(), new global::G.JsonConverters.ActivityListReposStarredByUserDirectionJsonConverter(), new global::G.JsonConverters.ActivityListReposStarredByUserDirectionNullableJsonConverter(), + new global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter(), + new global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullableJsonConverter(), + new global::G.JsonConverters.ReposGetContentResponseDiscriminatorTypeJsonConverter(), + new global::G.JsonConverters.ReposGetContentResponseDiscriminatorTypeNullableJsonConverter(), new global::G.JsonConverters.WebhookConfigInsecureSslJsonConverter(), new global::G.JsonConverters.OneOfJsonConverterFactory3(), new global::G.JsonConverters.AnyOfJsonConverterFactory2(), @@ -5469,6 +5607,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.WebhookPullRequestReviewRequestRemovedJsonConverter(), new global::G.JsonConverters.WebhookPullRequestReviewRequestedJsonConverter(), new global::G.JsonConverters.OneOfJsonConverterFactory5(), + new global::G.JsonConverters.ReposGetContentResponseJsonConverter(), } }; @@ -5777,6 +5916,14 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable JsonSerializerOptions = JsonSerializerOptions, }; + /// + /// Endpoints to manage Code security using the REST API. + /// + public CodeSecurityClient CodeSecurity => new CodeSecurityClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + /// /// Creates a new instance of the Api. /// If no httpClient is provided, a new one will be created. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs index 440b5b3e65..79a966f4f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessAppsAddRepoToInstallationForAuthenticatedUserResponseContent /// /// Add a repository to an app installation
- /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + /// Add a single repository to an installation. The authenticated user must have admin access to the repository.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsCheckToken.g.verified.cs index 8a61de98aa..a4fb22a593 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsCheckToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsCheckToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsCheckTokenResponseContent( /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsCheckTokenResponseContent( /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs index 9b7d420ecc..380c95fc93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteAuthorization.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsDeleteAuthorizationResponseContent( /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// @@ -109,7 +109,7 @@ partial void ProcessAppsDeleteAuthorizationResponseContent( /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs index 6a623b552c..f3da5563b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsDeleteToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsDeleteTokenResponseContent( /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsDeleteTokenResponseContent( /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs index bc73eaa014..cf03422fbf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetBySlug.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessAppsGetBySlugResponseContent( /// /// Get an app
- /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + /// > [!NOTE]
+ /// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs index 23e2326692..6528f2d283 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -25,7 +25,7 @@ partial void ProcessAppsGetSubscriptionPlanForAccountResponseContent( /// /// Get a subscription plan for an account
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs index 2250eb2432..a9145ab55c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -25,7 +25,7 @@ partial void ProcessAppsGetSubscriptionPlanForAccountStubbedResponseContent( /// /// Get a subscription plan for an account (stubbed)
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs index 50be43153c..5972f18326 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlan.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessAppsListAccountsForPlanResponseContent( /// /// List accounts for a plan
/// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs index fe152701c0..6108a0a5fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessAppsListAccountsForPlanStubbedResponseContent( /// /// List accounts for a plan (stubbed)
/// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlans.g.verified.cs index ae80b7358b..50cb330851 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlans.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlans.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessAppsListPlansResponseContent( /// /// List plans
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs index 37903be7a1..1a49f659f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsListPlansStubbed.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessAppsListPlansStubbedResponseContent( /// /// List plans (stubbed)
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs index 1fa07018fe..2098c6fd3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessAppsRemoveRepoFromInstallationForAuthenticatedUserResponseCo /// /// Remove a repository from an app installation
- /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsResetToken.g.verified.cs index 5fe5f2cf2e..8cea437b2c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsResetToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsResetToken.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessAppsResetTokenResponseContent( /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -108,7 +108,7 @@ partial void ProcessAppsResetTokenResponseContent( /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsScopeToken.g.verified.cs index 69db62c127..a3e887e55a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsScopeToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.AppsScopeToken.g.verified.cs @@ -29,10 +29,7 @@ partial void ProcessAppsScopeTokenResponseContent( /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -117,10 +114,7 @@ partial void ProcessAppsScopeTokenResponseContent( /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreate.g.verified.cs index 6d5a95a9b3..f6b596b3b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreate.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessChecksCreateResponseContent( /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// @@ -120,7 +121,8 @@ partial void ProcessChecksCreateResponseContent( /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs index dbdc03766c..43ed410b0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksCreateSuite.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksCreateSuiteResponseContent( /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -117,7 +118,8 @@ partial void ProcessChecksCreateSuiteResponseContent( /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGet.g.verified.cs index d1bb3427b5..77d5eede2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGet.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksGetResponseContent( /// /// Get a check run
/// Gets a single check run using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs index 606ba2db0e..f60e5d7875 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksGetSuite.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessChecksGetSuiteResponseContent( /// /// Get a check suite
/// Gets a single check suite using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs index 9f112a9253..9d3c76cef7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForRef.g.verified.cs @@ -41,7 +41,8 @@ partial void ProcessChecksListForRefResponseContent( /// /// List check runs for a Git reference
/// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs index 3f1f3d9a45..9e17f29dad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListForSuite.g.verified.cs @@ -39,7 +39,8 @@ partial void ProcessChecksListForSuiteResponseContent( /// /// List check runs in a check suite
/// Lists check runs for a check suite using its `id`.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs index 5eb1ae17e4..4b8f8d2891 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -37,7 +37,8 @@ partial void ProcessChecksListSuitesForRefResponseContent( /// /// List check suites for a Git reference
/// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs index 0eabf4bfa8..a8c437853e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.ChecksUpdate.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessChecksUpdateResponseContent( /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -123,7 +124,8 @@ partial void ProcessChecksUpdateResponseContent( /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs similarity index 84% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs index 1f167660f1..07f9c797fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +//HintName: G.ClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class ClassroomClient { - partial void PrepareClassroomListAcceptedAssigmentsForAnAssignmentArguments( + partial void PrepareClassroomListAcceptedAssignmentsForAnAssignmentArguments( global::System.Net.Http.HttpClient httpClient, ref int assignmentId, ref int? page, ref int? perPage); - partial void PrepareClassroomListAcceptedAssigmentsForAnAssignmentRequest( + partial void PrepareClassroomListAcceptedAssignmentsForAnAssignmentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int assignmentId, int? page, int? perPage); - partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponse( + partial void ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseContent( + partial void ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -39,7 +39,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + public async global::System.Threading.Tasks.Task> ClassroomListAcceptedAssignmentsForAnAssignmentAsync( int assignmentId, int? page = 1, int? perPage = 30, @@ -47,7 +47,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten { PrepareArguments( client: _httpClient); - PrepareClassroomListAcceptedAssigmentsForAnAssignmentArguments( + PrepareClassroomListAcceptedAssignmentsForAnAssignmentArguments( httpClient: _httpClient, assignmentId: ref assignmentId, page: ref page, @@ -68,7 +68,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten PrepareRequest( client: _httpClient, request: httpRequest); - PrepareClassroomListAcceptedAssigmentsForAnAssignmentRequest( + PrepareClassroomListAcceptedAssignmentsForAnAssignmentRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, assignmentId: assignmentId, @@ -83,7 +83,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten ProcessResponse( client: _httpClient, response: response); - ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponse( + ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -93,7 +93,7 @@ partial void ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseConten client: _httpClient, response: response, content: ref __content); - ProcessClassroomListAcceptedAssigmentsForAnAssignmentResponseContent( + ProcessClassroomListAcceptedAssignmentsForAnAssignmentResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs index 5edd52445a..6ad7d7c58e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessCodeScanningGetCodeqlDatabaseResponseContent( /// Gets a CodeQL database for a language in a repository.
/// By default this endpoint returns JSON metadata about the CodeQL database. To
/// download the CodeQL database binary content, set the `Accept` header of the request
- /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure
/// your HTTP client is configured to follow redirects or use the `Location` header
/// to make a second request to get the redirect URL.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs index 29ce9bb115..8b047c7e48 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -13,7 +13,8 @@ partial void PrepareCodeScanningListAlertInstancesArguments( ref int alertNumber, ref int? page, ref int? perPage, - ref string? @ref); + ref string? @ref, + ref int? pr); partial void PrepareCodeScanningListAlertInstancesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -22,7 +23,8 @@ partial void PrepareCodeScanningListAlertInstancesRequest( int alertNumber, int? page, int? perPage, - string? @ref); + string? @ref, + int? pr); partial void ProcessCodeScanningListAlertInstancesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -53,6 +55,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( @@ -62,6 +65,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -73,7 +77,8 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( alertNumber: ref alertNumber, page: ref page, perPage: ref perPage, - @ref: ref @ref); + @ref: ref @ref, + pr: ref pr); var __pathBuilder = new PathBuilder( path: $"/repos/{owner}/{repo}/code-scanning/alerts/{alertNumber}/instances", @@ -82,6 +87,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("ref", @ref) + .AddOptionalParameter("pr", pr?.ToString()) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -99,7 +105,8 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( alertNumber: alertNumber, page: page, perPage: perPage, - @ref: @ref); + @ref: @ref, + pr: pr); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs index 019ae14466..330d05478b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -15,7 +15,10 @@ partial void PrepareCodeScanningListAlertsForRepoArguments( ref int? page, ref int? perPage, ref string? @ref, + ref int? pr, ref global::G.CodeScanningListAlertsForRepoDirection? direction, + ref string? before, + ref string? after, ref global::G.CodeScanningListAlertsForRepoSort? sort, ref global::G.CodeScanningAlertStateQuery? state, ref global::G.CodeScanningAlertSeverity? severity); @@ -29,7 +32,10 @@ partial void PrepareCodeScanningListAlertsForRepoRequest( int? page, int? perPage, string? @ref, + int? pr, global::G.CodeScanningListAlertsForRepoDirection? direction, + string? before, + string? after, global::G.CodeScanningListAlertsForRepoSort? sort, global::G.CodeScanningAlertStateQuery? state, global::G.CodeScanningAlertSeverity? severity); @@ -68,9 +74,12 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// /// Default Value: desc /// + /// + /// /// /// Default Value: created /// @@ -90,7 +99,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + string? before = default, + string? after = default, global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, global::G.CodeScanningAlertStateQuery? state = default, global::G.CodeScanningAlertSeverity? severity = default, @@ -107,7 +119,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( page: ref page, perPage: ref perPage, @ref: ref @ref, + pr: ref pr, direction: ref direction, + before: ref before, + after: ref after, sort: ref sort, state: ref state, severity: ref severity); @@ -121,7 +136,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("ref", @ref) + .AddOptionalParameter("pr", pr?.ToString()) .AddOptionalParameter("direction", direction?.ToValueString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) .AddOptionalParameter("sort", sort?.ToValueString()) .AddOptionalParameter("state", state?.ToValueString()) .AddOptionalParameter("severity", severity?.ToValueString()) @@ -144,7 +162,10 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( page: page, perPage: perPage, @ref: @ref, + pr: pr, direction: direction, + before: before, + after: after, sort: sort, state: state, severity: severity); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs index ddc125113c..cd5705a330 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -14,6 +14,7 @@ partial void PrepareCodeScanningListRecentAnalysesArguments( ref string? toolGuid, ref int? page, ref int? perPage, + ref int? pr, ref string? @ref, ref string? sarifId, ref global::G.CodeScanningListRecentAnalysesDirection? direction, @@ -27,6 +28,7 @@ partial void PrepareCodeScanningListRecentAnalysesRequest( string? toolGuid, int? page, int? perPage, + int? pr, string? @ref, string? sarifId, global::G.CodeScanningListRecentAnalysesDirection? direction, @@ -51,8 +53,8 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( /// that were run in the analysis.
/// For very old analyses this data is not available,
/// and `0` is returned in this field.
- /// **Deprecation notice**:
- /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. ///
/// @@ -69,6 +71,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( /// /// Default Value: 30 /// + /// /// /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. @@ -92,6 +95,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( string? toolGuid = default, int? page = 1, int? perPage = 30, + int? pr = default, string? @ref = default, string? sarifId = default, global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, @@ -108,6 +112,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( toolGuid: ref toolGuid, page: ref page, perPage: ref perPage, + pr: ref pr, @ref: ref @ref, sarifId: ref sarifId, direction: ref direction, @@ -121,6 +126,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( .AddOptionalParameter("tool_guid", toolGuid) .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("pr", pr?.ToString()) .AddOptionalParameter("ref", @ref) .AddOptionalParameter("sarif_id", sarifId) .AddOptionalParameter("direction", direction?.ToValueString()) @@ -143,6 +149,7 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( toolGuid: toolGuid, page: page, perPage: perPage, + pr: pr, @ref: @ref, sarifId: sarifId, direction: direction, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs new file mode 100644 index 0000000000..4605a70675 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityAttachConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request); + partial void PrepareCodeSecurityAttachConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request); + partial void ProcessCodeSecurityAttachConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityAttachConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityAttachConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}/attach", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityAttachConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityAttachConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityAttachConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return __content; + } + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequestScope scope, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityAttachConfigurationRequest + { + Scope = scope, + SelectedRepositoryIds = selectedRepositoryIds, + }; + + return await CodeSecurityAttachConfigurationAsync( + org: org, + configurationId: configurationId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs new file mode 100644 index 0000000000..5798b2674f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs @@ -0,0 +1,221 @@ +//HintName: G.CodeSecurityClient.CodeSecurityCreateConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityCreateConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.CodeSecurityCreateConfigurationRequest request); + partial void PrepareCodeSecurityCreateConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityCreateConfigurationRequest request); + partial void ProcessCodeSecurityCreateConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityCreateConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + global::G.CodeSecurityCreateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityCreateConfigurationArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityCreateConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityCreateConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityCreateConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + /// + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + /// + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + /// + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + /// + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + string name, + string description, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? advancedSecurity = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? dependencyGraph = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? dependabotAlerts = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning? secretScanning = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + global::G.CodeSecurityCreateConfigurationRequestEnforcement? enforcement = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityCreateConfigurationRequest + { + Name = name, + Description = description, + AdvancedSecurity = advancedSecurity, + DependencyGraph = dependencyGraph, + DependencyGraphAutosubmitAction = dependencyGraphAutosubmitAction, + DependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions, + DependabotAlerts = dependabotAlerts, + DependabotSecurityUpdates = dependabotSecurityUpdates, + CodeScanningDefaultSetup = codeScanningDefaultSetup, + SecretScanning = secretScanning, + SecretScanningPushProtection = secretScanningPushProtection, + SecretScanningValidityChecks = secretScanningValidityChecks, + SecretScanningNonProviderPatterns = secretScanningNonProviderPatterns, + PrivateVulnerabilityReporting = privateVulnerabilityReporting, + Enforcement = enforcement, + }; + + return await CodeSecurityCreateConfigurationAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs new file mode 100644 index 0000000000..bc9a2634d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.CodeSecurityClient.CodeSecurityDeleteConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityDeleteConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId); + partial void PrepareCodeSecurityDeleteConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId); + partial void ProcessCodeSecurityDeleteConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityDeleteConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete a code security configuration
+ /// Deletes the desired code security configuration from an organization.
+ /// Repositories attached to the configuration will retain their settings but will no longer be associated with
+ /// the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDeleteConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityDeleteConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityDeleteConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityDeleteConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityDeleteConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.BasicError.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs new file mode 100644 index 0000000000..14e4ea592a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs @@ -0,0 +1,141 @@ +//HintName: G.CodeSecurityClient.CodeSecurityDetachConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityDetachConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + global::G.CodeSecurityDetachConfigurationRequest request); + partial void PrepareCodeSecurityDetachConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityDetachConfigurationRequest request); + partial void ProcessCodeSecurityDetachConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityDetachConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::G.CodeSecurityDetachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityDetachConfigurationArguments( + httpClient: _httpClient, + org: ref org, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/detach", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityDetachConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityDetachConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityDetachConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.BasicError.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository IDs to detach from configurations. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityDetachConfigurationRequest + { + SelectedRepositoryIds = selectedRepositoryIds, + }; + + return await CodeSecurityDetachConfigurationAsync( + org: org, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs new file mode 100644 index 0000000000..9c61e70e51 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId); + partial void PrepareCodeSecurityGetConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId); + partial void ProcessCodeSecurityGetConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a code security configuration
+ /// Gets a code security configuration available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityGetConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..fc6fc47d59 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs @@ -0,0 +1,103 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationForRepositoryArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo); + partial void PrepareCodeSecurityGetConfigurationForRepositoryRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo); + partial void ProcessCodeSecurityGetConfigurationForRepositoryResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationForRepositoryResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get the code security configuration associated with a repository
+ /// Get the code security configuration that manages a repository's code security settings.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityGetConfigurationForRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationForRepositoryArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/code-security-configuration", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationForRepositoryRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationForRepositoryResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationForRepositoryResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfigurationForRepository.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs new file mode 100644 index 0000000000..2026066836 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs @@ -0,0 +1,131 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetConfigurationsForOrgArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType, + ref int? perPage, + ref string? before, + ref string? after); + partial void PrepareCodeSecurityGetConfigurationsForOrgRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType, + int? perPage, + string? before, + string? after); + partial void ProcessCodeSecurityGetConfigurationsForOrgResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetConfigurationsForOrgResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get code security configurations for an organization
+ /// Lists all code security configurations available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CodeSecurityGetConfigurationsForOrgAsync( + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType = global::G.CodeSecurityGetConfigurationsForOrgTargetType.All, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetConfigurationsForOrgArguments( + httpClient: _httpClient, + org: ref org, + targetType: ref targetType, + perPage: ref perPage, + before: ref before, + after: ref after); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("target_type", targetType?.ToValueString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetConfigurationsForOrgRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + targetType: targetType, + perPage: perPage, + before: before, + after: after); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetConfigurationsForOrgResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetConfigurationsForOrgResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs similarity index 60% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs index 6ab81bc808..5ecb0cd28a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs @@ -1,51 +1,48 @@ -//HintName: G.OrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs +//HintName: G.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class CodeSecurityClient { - partial void PrepareOrgsListOrganizationFineGrainedPermissionsArguments( + partial void PrepareCodeSecurityGetDefaultConfigurationsArguments( global::System.Net.Http.HttpClient httpClient, ref string org); - partial void PrepareOrgsListOrganizationFineGrainedPermissionsRequest( + partial void PrepareCodeSecurityGetDefaultConfigurationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org); - partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponse( + partial void ProcessCodeSecurityGetDefaultConfigurationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( + partial void ProcessCodeSecurityGetDefaultConfigurationsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// List organization fine-grained permissions for an organization
- /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Get default code security configurations
+ /// Lists the default code security configurations for an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( + public async global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareOrgsListOrganizationFineGrainedPermissionsArguments( + PrepareCodeSecurityGetDefaultConfigurationsArguments( httpClient: _httpClient, org: ref org); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-fine-grained-permissions", + path: $"/orgs/{org}/code-security/configurations/defaults", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -55,7 +52,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsListOrganizationFineGrainedPermissionsRequest( + PrepareCodeSecurityGetDefaultConfigurationsRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org); @@ -68,7 +65,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsListOrganizationFineGrainedPermissionsResponse( + ProcessCodeSecurityGetDefaultConfigurationsResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -78,7 +75,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( + ProcessCodeSecurityGetDefaultConfigurationsResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -93,7 +90,7 @@ partial void ProcessOrgsListOrganizationFineGrainedPermissionsResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs new file mode 100644 index 0000000000..0f03492f00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs @@ -0,0 +1,137 @@ +//HintName: G.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityGetRepositoriesForConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + ref int? perPage, + ref string? before, + ref string? after, + ref string? status); + partial void PrepareCodeSecurityGetRepositoriesForConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + int? perPage, + string? before, + string? after, + string? status); + partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get repositories associated with a code security configuration
+ /// Lists the repositories associated with a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CodeSecurityGetRepositoriesForConfigurationAsync( + string org, + int configurationId, + int? perPage = 30, + string? before = default, + string? after = default, + string? status = "all", + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityGetRepositoriesForConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + perPage: ref perPage, + before: ref before, + after: ref after, + status: ref status); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}/repositories", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + .AddOptionalParameter("status", status) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityGetRepositoriesForConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + perPage: perPage, + before: before, + after: after, + status: status); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityGetRepositoriesForConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityGetRepositoriesForConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs similarity index 55% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs index 333181593c..64a796a6b5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs @@ -1,61 +1,65 @@ -//HintName: G.OrgsClient.OrgsCreateCustomOrganizationRole.g.cs +//HintName: G.CodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.cs #nullable enable namespace G { - public partial class OrgsClient + public partial class CodeSecurityClient { - partial void PrepareOrgsCreateCustomOrganizationRoleArguments( + partial void PrepareCodeSecuritySetConfigurationAsDefaultArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request); - partial void PrepareOrgsCreateCustomOrganizationRoleRequest( + ref int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request); + partial void PrepareCodeSecuritySetConfigurationAsDefaultRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request); - partial void ProcessOrgsCreateCustomOrganizationRoleResponse( + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request); + partial void ProcessCodeSecuritySetConfigurationAsDefaultResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( + partial void ProcessCodeSecuritySetConfigurationAsDefaultResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// + /// /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); PrepareArguments( client: _httpClient); - PrepareOrgsCreateCustomOrganizationRoleArguments( + PrepareCodeSecuritySetConfigurationAsDefaultArguments( httpClient: _httpClient, org: ref org, + configurationId: ref configurationId, request: request); var __pathBuilder = new PathBuilder( - path: $"/orgs/{org}/organization-roles", + path: $"/orgs/{org}/code-security/configurations/{configurationId}/defaults", baseUri: _httpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( @@ -67,10 +71,11 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareOrgsCreateCustomOrganizationRoleRequest( + PrepareCodeSecuritySetConfigurationAsDefaultRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, + configurationId: configurationId, request: request); using var response = await _httpClient.SendAsync( @@ -81,7 +86,7 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessOrgsCreateCustomOrganizationRoleResponse( + ProcessCodeSecuritySetConfigurationAsDefaultResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -91,7 +96,7 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessOrgsCreateCustomOrganizationRoleResponseContent( + ProcessCodeSecuritySetConfigurationAsDefaultResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -106,46 +111,38 @@ partial void ProcessOrgsCreateCustomOrganizationRoleResponseContent( } return - global::G.OrganizationRole.FromJson(__content, JsonSerializerOptions) ?? + global::G.CodeSecuritySetConfigurationAsDefaultResponse.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. ///
/// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. + /// + /// + /// Specify which types of repository this security configuration should be applied to by default. /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + public async global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( string org, - string name, - global::System.Collections.Generic.IList permissions, - string? description = default, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? defaultForNewRepos = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OrgsCreateCustomOrganizationRoleRequest + var request = new global::G.CodeSecuritySetConfigurationAsDefaultRequest { - Name = name, - Description = description, - Permissions = permissions, + DefaultForNewRepos = defaultForNewRepos, }; - return await OrgsCreateCustomOrganizationRoleAsync( + return await CodeSecuritySetConfigurationAsDefaultAsync( org: org, + configurationId: configurationId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs new file mode 100644 index 0000000000..bb0bedf6eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs @@ -0,0 +1,218 @@ +//HintName: G.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs + +#nullable enable + +namespace G +{ + public partial class CodeSecurityClient + { + partial void PrepareCodeSecurityUpdateConfigurationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request); + partial void PrepareCodeSecurityUpdateConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request); + partial void ProcessCodeSecurityUpdateConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCodeSecurityUpdateConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCodeSecurityUpdateConfigurationArguments( + httpClient: _httpClient, + org: ref org, + configurationId: ref configurationId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/code-security/configurations/{configurationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCodeSecurityUpdateConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + configurationId: configurationId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCodeSecurityUpdateConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCodeSecurityUpdateConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CodeSecurityConfiguration.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security + /// + /// + /// The enablement status of Dependency Graph + /// + /// + /// The enablement status of Automatic dependency submission + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts + /// + /// + /// The enablement status of Dependabot security updates + /// + /// + /// The enablement status of code scanning default setup + /// + /// + /// The enablement status of secret scanning + /// + /// + /// The enablement status of secret scanning push protection + /// + /// + /// The enablement status of secret scanning validity checks + /// + /// + /// The enablement status of secret scanning non-provider patterns + /// + /// + /// The enablement status of private vulnerability reporting + /// + /// + /// The enforcement status for a security configuration + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + string? name = default, + string? description = default, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? advancedSecurity = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? dependencyGraph = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? dependabotAlerts = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = default, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? secretScanning = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = default, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = default, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement? enforcement = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CodeSecurityUpdateConfigurationRequest + { + Name = name, + Description = description, + AdvancedSecurity = advancedSecurity, + DependencyGraph = dependencyGraph, + DependencyGraphAutosubmitAction = dependencyGraphAutosubmitAction, + DependencyGraphAutosubmitActionOptions = dependencyGraphAutosubmitActionOptions, + DependabotAlerts = dependabotAlerts, + DependabotSecurityUpdates = dependabotSecurityUpdates, + CodeScanningDefaultSetup = codeScanningDefaultSetup, + SecretScanning = secretScanning, + SecretScanningPushProtection = secretScanningPushProtection, + SecretScanningValidityChecks = secretScanningValidityChecks, + SecretScanningNonProviderPatterns = secretScanningNonProviderPatterns, + PrivateVulnerabilityReporting = privateVulnerabilityReporting, + Enforcement = enforcement, + }; + + return await CodeSecurityUpdateConfigurationAsync( + org: org, + configurationId: configurationId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.g.verified.cs new file mode 100644 index 0000000000..daa2dbd4be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeSecurityClient.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.CodeSecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Code security using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class CodeSecurityClient : global::G.ICodeSecurityClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } = new global::System.Text.Json.JsonSerializerOptions(); + + + /// + /// Creates a new instance of the CodeSecurityClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public CodeSecurityClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs index 8682cb0411..2044479424 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -28,7 +28,6 @@ partial void ProcessCodespacesGetRepoPublicKeyResponseContent( /// Get a repository public key
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
- /// Anyone with read access to the repository can use this endpoint.
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs index a8a2e67eba..ae146de686 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -26,14 +26,16 @@ partial void ProcessCopilotAddCopilotSeatsForTeamsResponseContent( /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -115,14 +117,16 @@ partial void ProcessCopilotAddCopilotSeatsForTeamsResponseContent( /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs index 9f64f5e63b..6377521817 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -26,14 +26,16 @@ partial void ProcessCopilotAddCopilotSeatsForUsersResponseContent( /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -115,14 +117,16 @@ partial void ProcessCopilotAddCopilotSeatsForUsersResponseContent( /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs index 97fd44d2d0..0599248b4a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -26,13 +26,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForTeamsResponseContent( /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -114,13 +115,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForTeamsResponseContent( /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs index 4f70f8b0ef..7d71510f61 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -26,13 +26,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForUsersResponseContent( /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -114,13 +115,14 @@ partial void ProcessCopilotCancelCopilotSeatAssignmentForUsersResponseContent( /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs index c226940bf0..47c98a8c08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -24,12 +24,13 @@ partial void ProcessCopilotGetCopilotOrganizationDetailsResponseContent( /// /// Get Copilot seat information and settings for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets information about an organization's Copilot subscription, including seat breakdown
- /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// and feature policies. To configure these settings, go to your organization's settings on GitHub.com.
/// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
- /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs index 7bd17dd3ad..29ae9cf8f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -26,10 +26,11 @@ partial void ProcessCopilotGetCopilotSeatDetailsForUserResponseContent( /// /// Get Copilot seat assignment details for a user
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
- /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view Copilot seat assignment details for members of their organization.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs index 1decd84028..ce0cf8c88c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -28,10 +28,11 @@ partial void ProcessCopilotListCopilotSeatsResponseContent( /// /// List all Copilot seat assignments for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
- /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
- /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.
+ /// Only organization owners can view assigned seats.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..c61eb3a962 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs @@ -0,0 +1,121 @@ +//HintName: G.CopilotClient.CopilotListCopilotSeatsForEnterprise.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotListCopilotSeatsForEnterpriseArguments( + global::System.Net.Http.HttpClient httpClient, + ref string enterprise, + ref int? page, + ref int? perPage); + partial void PrepareCopilotListCopilotSeatsForEnterpriseRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string enterprise, + int? page, + int? perPage); + partial void ProcessCopilotListCopilotSeatsForEnterpriseResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotListCopilotSeatsForEnterpriseResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List all Copilot seat assignments for an enterprise
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.
+ /// Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.
+ /// For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.
+ /// Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.
+ /// Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CopilotListCopilotSeatsForEnterpriseAsync( + string enterprise, + int? page = 1, + int? perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotListCopilotSeatsForEnterpriseArguments( + httpClient: _httpClient, + enterprise: ref enterprise, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/enterprises/{enterprise}/copilot/billing/seats", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotListCopilotSeatsForEnterpriseRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + enterprise: enterprise, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotListCopilotSeatsForEnterpriseResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotListCopilotSeatsForEnterpriseResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.CopilotListCopilotSeatsForEnterpriseResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs index e5b30a8b99..acdae11fce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -32,16 +32,16 @@ partial void ProcessCopilotUsageMetricsForEnterpriseResponseContent( /// /// Get a summary of Copilot usage for enterprise members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
/// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
- /// metrics for the enterprise.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Only owners and billing managers can view Copilot usage metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..ae7975fece --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotUsageMetricsForEnterpriseTeamArguments( + global::System.Net.Http.HttpClient httpClient, + ref string enterprise, + ref string teamSlug, + ref string? since, + ref string? until, + ref int? page, + ref int? perPage); + partial void PrepareCopilotUsageMetricsForEnterpriseTeamRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string enterprise, + string teamSlug, + string? since, + string? until, + int? page, + int? perPage); + partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a summary of Copilot usage for an enterprise team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseTeamAsync( + string enterprise, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotUsageMetricsForEnterpriseTeamArguments( + httpClient: _httpClient, + enterprise: ref enterprise, + teamSlug: ref teamSlug, + since: ref since, + until: ref until, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/enterprises/{enterprise}/team/{teamSlug}/copilot/usage", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("since", since) + .AddOptionalParameter("until", until) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotUsageMetricsForEnterpriseTeamRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + enterprise: enterprise, + teamSlug: teamSlug, + since: since, + until: until, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotUsageMetricsForEnterpriseTeamResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotUsageMetricsForEnterpriseTeamResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs index 7e33639bbb..1d3d6e5b18 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -32,16 +32,16 @@ partial void ProcessCopilotUsageMetricsForOrgResponseContent( /// /// Get a summary of Copilot usage for organization members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
/// See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
- /// Copilot usage metrics.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs new file mode 100644 index 0000000000..38bdb70d4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.CopilotUsageMetricsForTeam.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.CopilotClient.CopilotUsageMetricsForTeam.g.cs + +#nullable enable + +namespace G +{ + public partial class CopilotClient + { + partial void PrepareCopilotUsageMetricsForTeamArguments( + global::System.Net.Http.HttpClient httpClient, + ref string org, + ref string teamSlug, + ref string? since, + ref string? until, + ref int? page, + ref int? perPage); + partial void PrepareCopilotUsageMetricsForTeamRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string org, + string teamSlug, + string? since, + string? until, + int? page, + int? perPage); + partial void ProcessCopilotUsageMetricsForTeamResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCopilotUsageMetricsForTeamResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a summary of Copilot usage for a team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForTeamAsync( + string org, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCopilotUsageMetricsForTeamArguments( + httpClient: _httpClient, + org: ref org, + teamSlug: ref teamSlug, + since: ref since, + until: ref until, + page: ref page, + perPage: ref perPage); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/team/{teamSlug}/copilot/usage", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("since", since) + .AddOptionalParameter("until", until) + .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("per_page", perPage?.ToString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCopilotUsageMetricsForTeamRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + org: org, + teamSlug: teamSlug, + since: since, + until: until, + page: page, + perPage: perPage); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCopilotUsageMetricsForTeamResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCopilotUsageMetricsForTeamResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsCreate.g.verified.cs index c7732200af..c9d4e6cad5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsCreate.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessGistsCreateResponseContent( /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// The token to cancel the operation with @@ -104,7 +105,8 @@ partial void ProcessGistsCreateResponseContent( /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// Description of the gist
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs index aff8a86fc1..b93a59ac58 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsDeleteComment.g.verified.cs @@ -9,12 +9,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); @@ -33,7 +33,7 @@ partial void ProcessGistsDeleteCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsDeleteCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsGetComment.g.verified.cs index e2f4b29932..62f0e91717 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsGetComment.g.verified.cs @@ -9,12 +9,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); @@ -37,7 +37,7 @@ partial void ProcessGistsGetCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsGetCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs index 664289793b..d9a6d3b7bd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.GistsUpdateComment.g.verified.cs @@ -9,13 +9,13 @@ public partial class GistsClient partial void PrepareGistsUpdateCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string gistId, - ref int commentId, + ref long commentId, global::G.GistsUpdateCommentRequest request); partial void PrepareGistsUpdateCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request); partial void ProcessGistsUpdateCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -40,7 +40,7 @@ partial void ProcessGistsUpdateCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -132,7 +132,7 @@ partial void ProcessGistsUpdateCommentResponseContent( /// public async global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitCreateCommit.g.verified.cs index 328f09cf8a..b507a21839 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitCreateCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitCreateCommit.g.verified.cs @@ -173,7 +173,7 @@ partial void ProcessGitCreateCommitResponseContent( /// The SHA of the tree object this commit points to /// /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// /// /// Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetRef.g.verified.cs index 87fdbd5115..b40f104fd6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetRef.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessGitGetRefResponseContent( /// /// Get a reference
/// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetTree.g.verified.cs index 5aaf1d8642..bad6e29e25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitGetTree.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessGitGetTreeResponseContent( /// Get a tree
/// Returns a single tree using the SHA1 value or ref name for that tree.
/// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
- /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + /// > [!NOTE]
+ /// > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs index c9bf626712..c51f835b7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.GitListMatchingRefs.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessGitListMatchingRefsResponseContent( /// List matching references
/// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
/// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
/// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..2b75bb63eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add repository access to a self-hosted runner group in an organization
+ /// Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..9fa902191a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsAddSelfHostedRunnerToGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add a self-hosted runner to a group for an organization
+ /// Adds a self-hosted runner to a runner group configured in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelfHostedRunnerToGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..9bb61db6cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: G.IActionsClient.ActionsCreateSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a self-hosted runner group for an organization
+ /// Creates a new self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateSelfHostedRunnerGroupForOrgAsync( + string org, + string name, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Collections.Generic.IList? runners = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs new file mode 100644 index 0000000000..54700f388c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerGroupFromOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner group from an organization
+ /// Deletes a self-hosted runner group for an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerGroupFromOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..d352e4378b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner group for an organization
+ /// Gets a specific self-hosted runner group for an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..21b8a2d819 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository access to a self-hosted runner group in an organization
+ /// Lists the repositories with access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int? page = 1, + int? perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs new file mode 100644 index 0000000000..ec07542490 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnerGroupsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runner groups for an organization
+ /// Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnerGroupsForOrgAsync( + string org, + int? perPage = 30, + int? page = 1, + string? visibleToRepository = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..3391fdd047 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersInGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners in a group for an organization
+ /// Lists self-hosted runners that are in a specific organization group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + int? perPage = 30, + int? page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..bc1706d0bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove repository access to a self-hosted runner group in an organization
+ /// Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..df02acac33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveSelfHostedRunnerFromGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a self-hosted runner from a group for an organization
+ /// Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelfHostedRunnerFromGroupForOrgAsync( + string org, + int runnerGroupId, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs index ed909fc187..dddfe0493a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IActionsClient /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// @@ -28,8 +28,8 @@ public partial interface IActionsClient /// /// Review custom deployment protection rules for a workflow run
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
- /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
- /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// > [!NOTE]
+ /// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs index 334b00343e..ee8df954d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -33,7 +33,8 @@ public partial interface IActionsClient /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs index 7de412d780..b4b79888da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -36,7 +36,8 @@ public partial interface IActionsClient /// /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. /// /// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs new file mode 100644 index 0000000000..3c3353f1ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set repository access for a self-hosted runner group in an organization
+ /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of repository IDs that can access the runner group. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..8f6b8dd49e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetSelfHostedRunnersInGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set self-hosted runners in a group for an organization
+ /// Replaces the list of self-hosted runners that are part of an organization runner group.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// List of runner IDs to add to the runner group. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelfHostedRunnersInGroupForOrgAsync( + string org, + int runnerGroupId, + global::System.Collections.Generic.IList runners, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs new file mode 100644 index 0000000000..09be8d1c1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IActionsClient.ActionsUpdateSelfHostedRunnerGroupForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a self-hosted runner group for an organization
+ /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Name of the runner group. + /// + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + /// + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + /// + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateSelfHostedRunnerGroupForOrgAsync( + string org, + int runnerGroupId, + string name, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? visibility = default, + bool? allowsPublicRepositories = false, + bool? restrictedToWorkflows = false, + global::System.Collections.Generic.IList? selectedWorkflows = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs index 7f0a29758b..f112747967 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs @@ -16,7 +16,8 @@ public partial interface IActivityClient /// * **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. + /// > [!NOTE]
+ /// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs index 6cfa25a998..61155f3896 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IActivityClient { /// /// List events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs index aa06ac1c9c..92d37a0d09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IActivityClient { /// /// List organization events for the authenticated user
- /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs index 5a7dd3c82e..b9ad3c06d3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IActivityClient { /// /// List public events
- /// 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. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs index db10df6be3..b27db8bddc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events for a network of repositories + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs index 7fa6ff589d..7417efad89 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events for a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs index fd0c9691e3..0db3ead4e2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public organization events + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs index fd0c983eaa..a68533ee9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -7,7 +7,10 @@ public partial interface IActivityClient { /// /// List events received by the authenticated user
- /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + /// These are events that you've received by watching repositories and following users. If you are authenticated as the
+ /// given user, you will see 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs index 22c17380cc..6df409c819 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IActivityClient { /// - /// List public events received by a user + /// 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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs index c16ce0bfd1..2725163c99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IActivityClient { /// /// List repository 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. + /// > [!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. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs index 41b97f88e6..57f6b1681c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs @@ -207,5 +207,10 @@ public partial interface IApi : global::System.IDisposable ///
public EnterpriseTeamsClient EnterpriseTeams { get; } + /// + /// Endpoints to manage Code security using the REST API. + /// + public CodeSecurityClient CodeSecurity { get; } + } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs index b9e9641f0e..ac08f7020d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Add a repository to an app installation
- /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + /// Add a single repository to an installation. The authenticated user must have admin access to the repository.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs index d4d671df0e..92e9b604f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Check a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs index ce116757b7..0021b10f56 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// @@ -21,7 +21,7 @@ public partial interface IAppsClient /// /// Delete an app authorization
- /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
/// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs index 05c7048ded..ebccf8913b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Delete an app token
- /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs index 57d56ac9af..dba41fab28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Get an app
- /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + /// > [!NOTE]
+ /// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs index 989742138a..f14a873a8c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// Get a subscription plan for an account
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs index 84822cb219..a668b90365 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// Get a subscription plan for an account (stubbed)
/// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs index deeff9c749..2cdabf071c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List accounts for a plan
/// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs index 1c7959c99a..f5e2e56861 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List accounts for a plan (stubbed)
/// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs index 0429399e15..7d09ea0f9d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List plans
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs index 7ef9ee7344..3d26461013 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IAppsClient /// /// List plans (stubbed)
/// Lists all plans that are part of your GitHub Marketplace listing.
- /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. ///
/// /// Default Value: 30 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs index db45142b53..2d7908a6f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IAppsClient { /// /// Remove a repository from an app installation
- /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.
+ /// This endpoint only works for PATs (classic) with the `repo` scope. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs index 50e90da1e5..733ffa04cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IAppsClient { /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -20,7 +20,7 @@ public partial interface IAppsClient /// /// Reset a token
- /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs index 8357859f6e..4068af6220 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs @@ -10,10 +10,7 @@ public partial interface IAppsClient /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// @@ -29,10 +26,7 @@ public partial interface IAppsClient /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
/// which repositories the token can access and which permissions are granted to the
/// token.
- /// Invalid tokens will return `404 NOT FOUND`.
- /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
- /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
- /// as the username and password. + /// Invalid tokens will return `404 NOT FOUND`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs index 7a6c5a5c49..e63396230f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IChecksClient /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// @@ -28,7 +29,8 @@ public partial interface IChecksClient /// Creates a new check run for a specific commit in a repository.
/// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
/// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs index 06db3816df..a809f93853 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -25,7 +26,8 @@ public partial interface IChecksClient /// /// Create a check suite
/// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs index 0e6b3cbd3e..1af55033e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Get a check run
/// Gets a single check run using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs index 413c0ba6fc..967dd36bb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Get a check suite
/// Gets a single check suite using its `id`.
- /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs index 27bf201177..c8ec7e14de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check runs for a Git reference
/// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs index f8432c6eea..6c0ffbf13a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check runs in a check suite
/// Lists check runs for a check suite using its `id`.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs index d675074ff3..69a41abd66 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// List check suites for a Git reference
/// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs index 4736487fa4..1a24d8d7f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IChecksClient /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// @@ -27,7 +28,8 @@ public partial interface IChecksClient /// /// Update a check run
/// Updates a check run for a specific commit in a repository.
- /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// > [!NOTE]
+ /// > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
/// OAuth apps and personal access tokens (classic) cannot use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs similarity index 89% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs index ed4c2fd2ea..91ef912ebe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +//HintName: G.IClassroomClient.ClassroomListAcceptedAssignmentsForAnAssignment.g.cs #nullable enable namespace G @@ -18,7 +18,7 @@ public partial interface IClassroomClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + global::System.Threading.Tasks.Task> ClassroomListAcceptedAssignmentsForAnAssignmentAsync( int assignmentId, int? page = 1, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs index 5d5acb2ac3..cc97dcb947 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -10,7 +10,7 @@ public partial interface ICodeScanningClient /// Gets a CodeQL database for a language in a repository.
/// By default this endpoint returns JSON metadata about the CodeQL database. To
/// download the CodeQL database binary content, set the `Accept` header of the request
- /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure
/// your HTTP client is configured to follow redirects or use the `Location` header
/// to make a second request to get the redirect URL.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs index 515b2bbd78..b22e292cf6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -26,6 +26,7 @@ public partial interface ICodeScanningClient /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( @@ -35,6 +36,7 @@ public partial interface ICodeScanningClient int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs index 942902651c..181090bc9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -31,9 +31,12 @@ public partial interface ICodeScanningClient /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. /// + /// /// /// Default Value: desc /// + /// + /// /// /// Default Value: created /// @@ -53,7 +56,10 @@ public partial interface ICodeScanningClient int? page = 1, int? perPage = 30, string? @ref = default, + int? pr = default, global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + string? before = default, + string? after = default, global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, global::G.CodeScanningAlertStateQuery? state = default, global::G.CodeScanningAlertSeverity? severity = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs index 5c6ed20804..e8032f3864 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -16,8 +16,8 @@ public partial interface ICodeScanningClient /// that were run in the analysis.
/// For very old analyses this data is not available,
/// and `0` is returned in this field.
- /// **Deprecation notice**:
- /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. ///
/// @@ -34,6 +34,7 @@ public partial interface ICodeScanningClient /// /// Default Value: 30 /// + /// /// /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
/// `refs/heads/<branch name>` or simply `<branch name>`. @@ -57,6 +58,7 @@ public partial interface ICodeScanningClient string? toolGuid = default, int? page = 1, int? perPage = 30, + int? pr = default, string? @ref = default, string? sarifId = default, global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs new file mode 100644 index 0000000000..ffe9a3b8ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityAttachConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Attach a configuration to repositories
+ /// Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.
+ /// If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityAttachConfigurationRequestScope scope, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs new file mode 100644 index 0000000000..01f04d500c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityCreateConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + global::G.CodeSecurityCreateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a code security configuration
+ /// Creates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + /// + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + /// + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + /// + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + /// + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + /// + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + /// + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityCreateConfigurationAsync( + string org, + string name, + string description, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? advancedSecurity = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? dependencyGraph = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? dependabotAlerts = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning? secretScanning = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + global::G.CodeSecurityCreateConfigurationRequestEnforcement? enforcement = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs new file mode 100644 index 0000000000..ff7faf5773 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityDeleteConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Delete a code security configuration
+ /// Deletes the desired code security configuration from an organization.
+ /// Repositories attached to the configuration will retain their settings but will no longer be associated with
+ /// the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDeleteConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs new file mode 100644 index 0000000000..c3be379bd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityDetachConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::G.CodeSecurityDetachConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Detach configurations from repositories
+ /// Detach code security configuration(s) from a set of repositories.
+ /// Repositories will retain their settings but will no longer be associated with the configuration.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository IDs to detach from configurations. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityDetachConfigurationAsync( + string org, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs new file mode 100644 index 0000000000..cb672683b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get a code security configuration
+ /// Gets a code security configuration available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityGetConfigurationAsync( + string org, + int configurationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..afcbf338d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfigurationForRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get the code security configuration associated with a repository
+ /// Get the code security configuration that manages a repository's code security settings.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityGetConfigurationForRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs new file mode 100644 index 0000000000..2de32c0915 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get code security configurations for an organization
+ /// Lists all code security configurations available in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetConfigurationsForOrgAsync( + string org, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? targetType = global::G.CodeSecurityGetConfigurationsForOrgTargetType.All, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs new file mode 100644 index 0000000000..866543f510 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get default code security configurations
+ /// Lists the default code security configurations for an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs new file mode 100644 index 0000000000..15406321a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Get repositories associated with a code security configuration
+ /// Lists the repositories associated with a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeSecurityGetRepositoriesForConfigurationAsync( + string org, + int configurationId, + int? perPage = 30, + string? before = default, + string? after = default, + string? status = "all", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs new file mode 100644 index 0000000000..6249f443f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ICodeSecurityClient.CodeSecuritySetConfigurationAsDefault.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( + string org, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a code security configuration as a default for an organization
+ /// Sets a code security configuration as a default to be applied to new repositories in your organization.
+ /// This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecuritySetConfigurationAsDefaultAsync( + string org, + int configurationId, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? defaultForNewRepos = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs new file mode 100644 index 0000000000..9b08675410 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.ICodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeSecurityClient + { + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + global::G.CodeSecurityUpdateConfigurationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code security configuration
+ /// Updates a code security configuration in an organization.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + /// + /// A description of the code security configuration + /// + /// + /// The enablement status of GitHub Advanced Security + /// + /// + /// The enablement status of Dependency Graph + /// + /// + /// The enablement status of Automatic dependency submission + /// + /// + /// Feature options for Automatic dependency submission + /// + /// + /// The enablement status of Dependabot alerts + /// + /// + /// The enablement status of Dependabot security updates + /// + /// + /// The enablement status of code scanning default setup + /// + /// + /// The enablement status of secret scanning + /// + /// + /// The enablement status of secret scanning push protection + /// + /// + /// The enablement status of secret scanning validity checks + /// + /// + /// The enablement status of secret scanning non-provider patterns + /// + /// + /// The enablement status of private vulnerability reporting + /// + /// + /// The enforcement status for a security configuration + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeSecurityUpdateConfigurationAsync( + string org, + int configurationId, + string? name = default, + string? description = default, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? advancedSecurity = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? dependencyGraph = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? dependencyGraphAutosubmitAction = default, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? dependencyGraphAutosubmitActionOptions = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? dependabotAlerts = default, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? dependabotSecurityUpdates = default, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? codeScanningDefaultSetup = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? secretScanning = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? secretScanningPushProtection = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? secretScanningValidityChecks = default, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? secretScanningNonProviderPatterns = default, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? privateVulnerabilityReporting = default, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement? enforcement = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.g.verified.cs new file mode 100644 index 0000000000..9935ecab44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeSecurityClient.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodeSecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Code security using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodeSecurityClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs index ce8d255286..535560af93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -9,7 +9,6 @@ public partial interface ICodespacesClient /// Get a repository public key
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
- /// Anyone with read access to the repository can use this endpoint.
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs index f192581ef3..fee9bbc7c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -7,14 +7,16 @@ public partial interface ICopilotClient { /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -27,14 +29,16 @@ public partial interface ICopilotClient /// /// Add teams to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for all users within each specified team.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs index c5f89c67f1..4e7f56f624 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -7,14 +7,16 @@ public partial interface ICopilotClient { /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -27,14 +29,16 @@ public partial interface ICopilotClient /// /// Add users to the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Purchases a GitHub Copilot seat for each user specified.
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
- /// Only organization owners can configure GitHub Copilot in their organization.
+ /// Only organization owners can add Copilot seats for their organization members.
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// The response will contain the total number of new seats that were created and existing seats that were refreshed.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs index 0186d5213c..00a03237c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -7,13 +7,14 @@ public partial interface ICopilotClient { /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -26,13 +27,14 @@ public partial interface ICopilotClient /// /// Remove teams from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for all members of each team specified.
/// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs index c81a0627d3..7aa718b21a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -7,13 +7,14 @@ public partial interface ICopilotClient { /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// @@ -26,13 +27,14 @@ public partial interface ICopilotClient /// /// Remove users from the Copilot subscription for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Cancels the Copilot seat assignment for each user specified.
/// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
/// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
- /// Only organization owners can configure GitHub Copilot in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can cancel Copilot seats for their organization members.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs index 75198024f5..28dc0b96fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -7,12 +7,13 @@ public partial interface ICopilotClient { /// /// Get Copilot seat information and settings for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets information about an organization's Copilot subscription, including seat breakdown
- /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// and feature policies. To configure these settings, go to your organization's settings on GitHub.com.
/// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
- /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs index c7bc5cc889..4fae4746dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -7,10 +7,11 @@ public partial interface ICopilotClient { /// /// Get Copilot seat assignment details for a user
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
- /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// Only organization owners can view Copilot seat assignment details for members of their organization.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs index 8f7815b301..a2a32379c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -7,10 +7,11 @@ public partial interface ICopilotClient { /// /// List all Copilot seat assignments for an organization
- /// **Note**: This endpoint is in beta and is subject to change.
- /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
- /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
- /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.
+ /// Only organization owners can view assigned seats.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..0f05ce1b69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ICopilotClient.CopilotListCopilotSeatsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// List all Copilot seat assignments for an enterprise
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.
+ /// Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.
+ /// For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.
+ /// Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.
+ /// Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotListCopilotSeatsForEnterpriseAsync( + string enterprise, + int? page = 1, + int? perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs index d48e4b8b29..a7ae8e70b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -7,16 +7,16 @@ public partial interface ICopilotClient { /// /// Get a summary of Copilot usage for enterprise members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
/// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
- /// metrics for the enterprise.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Only owners and billing managers can view Copilot usage metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..c09706c178 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for an enterprise team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseTeamAsync( + string enterprise, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs index f48da13f86..76993a248e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -7,16 +7,16 @@ public partial interface ICopilotClient { /// /// Get a summary of Copilot usage for organization members
- /// **Note**: This endpoint is in beta and is subject to change.
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
/// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
/// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
/// See the response schema tab for detailed metrics definitions.
- /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
/// they must have telemetry enabled in their IDE.
- /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
- /// Copilot usage metrics.
- /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + /// Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs new file mode 100644 index 0000000000..156a45d4b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForTeam.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for a team
+ /// > [!NOTE]
+ /// > This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// > [!NOTE]
+ /// > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
+ /// Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
+ /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForTeamAsync( + string org, + string teamSlug, + string? since = default, + string? until = default, + int? page = 1, + int? perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs index e2c38d59a8..844273f70c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IGistsClient /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// The token to cancel the operation with @@ -20,7 +21,8 @@ public partial interface IGistsClient /// /// Create a gist
/// Allows you to add a new gist with one or more files.
- /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + /// > [!NOTE]
+ /// > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. ///
/// /// Description of the gist
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs index 01ceba6268..395c8d219c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs @@ -14,7 +14,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsDeleteCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs index 2f441b2870..8044b3c20b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsGetCommentAsync( string gistId, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs index 23f9d85970..5dd016f181 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs @@ -19,7 +19,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, global::G.GistsUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -40,7 +40,7 @@ public partial interface IGistsClient /// global::System.Threading.Tasks.Task GistsUpdateCommentAsync( string gistId, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs index a27839e750..5a53fe84aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs @@ -81,7 +81,7 @@ public partial interface IGitClient /// The SHA of the tree object this commit points to /// /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// /// /// Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs index 6dc9d542f4..7af2e42431 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IGitClient /// /// Get a reference
/// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs index e8b18d43b9..2957a18350 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IGitClient /// Get a tree
/// Returns a single tree using the SHA1 value or ref name for that tree.
/// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
- /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + /// > [!NOTE]
+ /// > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs index 172432a823..500ffa0fca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IGitClient /// List matching references
/// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
/// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
- /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// > [!NOTE]
+ /// > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
/// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs index 00c46db217..8d8fdc8d8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IIssuesClient /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -30,7 +30,7 @@ public partial interface IIssuesClient /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs index d8ca90e0ff..fe22fcec3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs @@ -10,7 +10,7 @@ public partial interface IIssuesClient /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -36,7 +36,7 @@ public partial interface IIssuesClient /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs index 900127261d..ee670bf0f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesDeleteCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs index 9da584afee..10d4cc1028 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs @@ -13,10 +13,8 @@ public partial interface IIssuesClient /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
/// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
/// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs index 3d84210e80..e9178af6be 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesGetCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs index 559f327575..7b94972ca8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs @@ -10,10 +10,8 @@ public partial interface IIssuesClient /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
/// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
/// necessarily assigned to you.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs index f0a3b0a35d..e7e84f9dc6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List user account issues assigned to the authenticated user
/// List issues across owned and member repositories assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs index 4b120a4e7d..b6a3a37be0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List organization issues assigned to the authenticated user
/// List issues in an organization assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs index ceaf54f785..6dfd6c2b2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs @@ -8,10 +8,8 @@ public partial interface IIssuesClient /// /// List repository issues
/// List issues in a repository. Only open issues will be listed.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs index c389cad572..59af9a2f04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IIssuesClient { /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -29,7 +29,7 @@ public partial interface IIssuesClient /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs index d6779891e9..d325db581e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.IssuesUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IIssuesClient global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs index d8f9536f78..1b65a6d2c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMetaClient /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
/// The API's response also includes a list of GitHub's domain names.
/// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
- /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + /// > [!NOTE]
+ /// > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs index c95db2100e..e678142bb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 103def59d3..05663c8911 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs index 5eb3cebe21..7e26f741c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 879bffef5a..647214b9a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IMigrationsClient /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 08c055fcfb..97d0954061 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 6816e0daad..eb0d7704e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -31,7 +32,8 @@ public partial interface IMigrationsClient /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs index 06d4649a91..eaa9de25bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -29,7 +30,8 @@ public partial interface IMigrationsClient /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs index 96fcf17ef2..881bcdfd20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -33,7 +34,8 @@ public partial interface IMigrationsClient /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs index 4a291714d3..d37546fd42 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Assign an organization role to a team
- /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs index 25f9c75cec..82ff97c36d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Assign an organization role to a user
- /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs deleted file mode 100644 index 2417fd9e95..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,52 +0,0 @@ -//HintName: G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( - string org, - global::G.OrgsCreateCustomOrganizationRoleRequest request, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Create a custom organization role
- /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( - string org, - string name, - global::System.Collections.Generic.IList permissions, - string? description = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs index cf2b41fd0e..d876b13435 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IOrgsClient /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// @@ -23,7 +23,7 @@ public partial interface IOrgsClient /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs index 6761ca281e..a4e72003c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -34,9 +34,9 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, - global::System.Collections.Generic.IList properties, + global::System.Collections.Generic.IList properties, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs index 7876482e15..2294a1de3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequest request, @@ -51,7 +51,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs deleted file mode 100644 index da48da95a3..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,25 +0,0 @@ -//HintName: G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Delete a custom organization role.
- /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( - string org, - int roleId, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs index 9da08a4632..828e993595 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -7,9 +7,11 @@ public partial interface IOrgsClient { /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -17,6 +19,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, @@ -26,9 +29,11 @@ public partial interface IOrgsClient /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -39,6 +44,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs index 6782bce131..c86f32a21a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs @@ -10,14 +10,6 @@ public partial interface IOrgsClient /// Gets information about an organization.
/// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
/// To see the full details about an organization, the authenticated user must be an organization owner.
- /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
/// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs index 037f306c6b..c28cb77a8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -13,7 +13,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( string org, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs index a19338abe7..c742f98f63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -14,7 +14,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( string org, string customPropertyName, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs index 092643e63e..722fa7f452 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Get an organization role
- /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs index 6cf40fdf9f..1072e52f25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IOrgsClient /// /// List organizations
/// Lists all organizations, in the order that they were created.
- /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + /// > [!NOTE]
+ /// > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs new file mode 100644 index 0000000000..8128c176ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAttestations.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListAttestationsAsync( + string org, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs index 75f5ec33a4..c09b37801c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// List teams that are assigned to an organization role
- /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -21,7 +21,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( string org, int roleId, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs index 24ffc6133a..cf096c291b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// List users that are assigned to an organization role
- /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -21,7 +21,7 @@ public partial interface IOrgsClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( string org, int roleId, int? perPage = 30, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs index 1c6e50745a..21b33a698f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Get all organization roles for an organization
- /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs deleted file mode 100644 index 5e9922a0bd..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs +++ /dev/null @@ -1,24 +0,0 @@ -//HintName: G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// List organization fine-grained permissions for an organization
- /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( - string org, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs index a900a3bf16..05cd533341 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -7,7 +7,10 @@ public partial interface IOrgsClient { /// /// List pending organization invitations
- /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + /// The return hash contains a `role` field which refers to the Organization
+ /// Invitation role and will be one of the following values: `direct_member`, `admin`,
+ /// `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub
+ /// member, the `login` field in the return hash will be `null`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs deleted file mode 100644 index dc7c71abb3..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs +++ /dev/null @@ -1,56 +0,0 @@ -//HintName: G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.cs -#nullable enable - -namespace G -{ - public partial interface IOrgsClient - { - /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( - string org, - int roleId, - global::G.OrgsPatchCustomOrganizationRoleRequest request, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Update a custom organization role
- /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
- /// To use this endpoint, the authenticated user must be one of:
- /// - An administrator for the organization.
- /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
- /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - ///
- /// - /// - /// - /// The name of the custom role. - /// - /// - /// A short description about the intended usage of this role or what permissions it grants. - /// - /// - /// A list of additional permissions included in this role. - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( - string org, - int roleId, - string? name = default, - string? description = default, - global::System.Collections.Generic.IList? permissions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs index 6ed54c0ca1..aca686d973 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove all organization roles for a team
- /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs index af2045d784..e38d6e2122 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove all organization roles for a user
- /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs index 69d8d5a7b4..c1e8786986 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove an organization role from a team
- /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs index 0b5fd936d9..e8a5141922 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IOrgsClient { /// /// Remove an organization role from a user
- /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs index 09788934bd..323f34974d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -12,7 +12,7 @@ public partial interface IOrgsClient ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// @@ -32,7 +32,7 @@ public partial interface IOrgsClient ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs index 8c780990da..b7efcc5847 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs @@ -7,16 +7,11 @@ public partial interface IOrgsClient { /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -31,16 +26,11 @@ public partial interface IOrgsClient /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -116,36 +106,6 @@ public partial interface IOrgsClient /// /// Example: "http://github.blog" /// - /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether dependency graph is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// /// /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. /// @@ -177,12 +137,6 @@ public partial interface IOrgsClient bool? membersCanForkPrivateRepositories = false, bool? webCommitSignoffRequired = false, string? blog = default, - bool? advancedSecurityEnabledForNewRepositories = default, - bool? dependabotAlertsEnabledForNewRepositories = default, - bool? dependabotSecurityUpdatesEnabledForNewRepositories = default, - bool? dependencyGraphEnabledForNewRepositories = default, - bool? secretScanningEnabledForNewRepositories = default, - bool? secretScanningPushProtectionEnabledForNewRepositories = default, bool? secretScanningPushProtectionCustomLinkEnabled = default, string? secretScanningPushProtectionCustomLink = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs index 0dffc1948b..f8871ac575 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs @@ -9,7 +9,7 @@ public partial interface IPullsClient /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -31,7 +31,7 @@ public partial interface IPullsClient /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs index c094236fa1..6446901131 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -27,14 +27,14 @@ public partial interface IPullsClient string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -55,7 +55,7 @@ public partial interface IPullsClient string owner, string repo, int pullNumber, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs index ada3c8b2ac..dab92edfba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs @@ -8,9 +8,10 @@ public partial interface IPullsClient /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -34,9 +35,10 @@ public partial interface IPullsClient /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs index 4d6004099d..ec51266d92 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs @@ -10,7 +10,7 @@ public partial interface IPullsClient /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -36,7 +36,7 @@ public partial interface IPullsClient /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs index 0a1c72d519..18819fe3cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs index c506829726..c4e788bc60 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs @@ -8,9 +8,8 @@ public partial interface IPullsClient /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -35,9 +34,8 @@ public partial interface IPullsClient /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs index 3363e91a43..97f908f89b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs @@ -15,7 +15,7 @@ public partial interface IPullsClient /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
/// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
/// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
- /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs index 17582d9862..943d450854 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs index 1cc162a814..91057dc36c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IPullsClient /// /// List pull requests files
/// Lists the files in a specified pull request.
- /// **Note:** Responses include a maximum of 3000 files. The paginated response
- /// returns 30 files per page by default.
+ /// > [!NOTE]
+ /// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs index 1742165974..0c4dfbf88c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -26,7 +26,7 @@ public partial interface IPullsClient /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs index a3f1ab5357..18063a1a83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IPullsClient /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -26,7 +26,7 @@ public partial interface IPullsClient /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs index 959fc422bd..847f4e057e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IPullsClient { /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// @@ -24,7 +25,8 @@ public partial interface IPullsClient /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs index ed0a7e7e84..16a9ebb552 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.PullsUpdateReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IPullsClient global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs index 1263c0e00b..b50348fcb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IRateLimitClient { /// /// Get rate limit status for the authenticated user
- /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// > [!NOTE]
+ /// > Accessing this endpoint does not count against your REST API rate limit.
/// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
/// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
/// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
@@ -17,8 +18,9 @@ public partial interface IRateLimitClient /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
- /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
- /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
+ /// > [!NOTE]
+ /// > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs index 76b1e64c18..83e9d4a3c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs index 2244d7ab13..aba2ca1c0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs index 6c5fae853d..e0dc3ad83c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -18,7 +18,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -37,7 +37,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs index 978db47f43..61a4788e02 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -31,7 +32,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs index 8836ed7ff0..f49f02706f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -28,7 +29,8 @@ public partial interface IReactionsClient /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs index 5fbde8f372..7e31015bc5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -29,7 +30,8 @@ public partial interface IReactionsClient /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs index d12eab2451..a00d81b47d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -26,7 +27,8 @@ public partial interface IReactionsClient /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs index 4d6b4d0a06..89193ab84e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a commit comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs index 40b47ab59b..bff5f46950 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete an issue reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
/// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs index e8d43337c5..c09aad85ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete an issue comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs index 8d0c9e235f..9762bc0b4c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a pull request comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
/// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). ///
/// @@ -19,7 +20,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs index 43c87f2069..19f4809758 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete a release reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
/// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs index 6d44cd477d..99ee933c25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete team discussion reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs index 365ca9b987..db50343d73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// Delete team discussion comment reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs index 31dc5ef9fd..174004aee9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs index 581f58e7e3..6387da99d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs index 5f22fe2019..96d9340c0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -24,7 +24,7 @@ public partial interface IReactionsClient global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs index d73dbbc2c8..3c238e1b81 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReactionsClient /// /// List reactions for a team discussion comment
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs index 90b45742d7..2b6b16dbc0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// List reactions for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs index 6ac65e497f..864fd63659 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReactionsClient /// /// List reactions for a team discussion
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs index 66a5330c95..d9f74afe35 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReactionsClient { /// /// List reactions for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs index a859f98d50..e2a3b3ff6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs index ba53c56628..ff9cd61184 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IReposClient { /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
@@ -35,7 +35,7 @@ public partial interface IReposClient /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs index 5520bd6c4d..be27eac31c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs index 764b23bc71..4d525f58ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IReposClient /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
/// **Working with large comparisons**
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
- /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
/// **Signature verification object**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs new file mode 100644 index 0000000000..a8b960af0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAttestation.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IReposClient.ReposCreateAttestation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequestBundle bundle, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs index c272a0fffc..9cca01152e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IReposClient /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -31,7 +31,7 @@ public partial interface IReposClient /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs index 972f52da99..921bbcebeb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -35,7 +35,9 @@ public partial interface IReposClient /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. /// /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. /// /// /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs index bf33d65e39..5fba1d448d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -97,6 +97,7 @@ public partial interface IReposClient /// Example: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -108,6 +109,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs index 5aadc89506..9719689783 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs @@ -8,8 +8,10 @@ public partial interface IReposClient /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// @@ -25,8 +27,10 @@ public partial interface IReposClient /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs index 466cd7770c..672d8f5ebc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs @@ -96,6 +96,7 @@ public partial interface IReposClient /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -107,6 +108,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs index cd9694ac01..8e1764c3f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -8,8 +8,10 @@ public partial interface IReposClient /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// @@ -28,8 +30,10 @@ public partial interface IReposClient /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs index 8cd28e7e55..a60f240823 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// @@ -27,7 +28,8 @@ public partial interface IReposClient /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs index 0a944b42b4..3bdf03a314 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -28,7 +28,7 @@ public partial interface IReposClient /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -37,7 +37,9 @@ public partial interface IReposClient /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. @@ -48,7 +50,7 @@ public partial interface IReposClient string org, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::G.ReposCreateOrgRulesetRequestTarget? target = global::G.ReposCreateOrgRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.OrgRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs index bfda763444..a88757a884 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs @@ -8,7 +8,7 @@ public partial interface IReposClient /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -24,7 +24,7 @@ public partial interface IReposClient /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs index 5f8a4fd82d..414c582f86 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -31,7 +31,7 @@ public partial interface IReposClient /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -52,7 +52,7 @@ public partial interface IReposClient string repo, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::G.ReposCreateRepoRulesetRequestTarget? target = global::G.ReposCreateRepoRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.RepositoryRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs index 174d198b4e..42ba868777 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -15,6 +17,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, @@ -22,7 +25,9 @@ public partial interface IReposClient global::System.Threading.CancellationToken cancellationToken = default); /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -33,6 +38,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs index 79175448d6..997d2b6e2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs @@ -16,7 +16,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs index 91379c6f14..692af2d535 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs @@ -11,7 +11,8 @@ public partial interface IReposClient /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// @@ -32,7 +33,8 @@ public partial interface IReposClient /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs index f50aa423a3..fcaae2b91e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// Delete a tag protection state for a repository
+ /// Deprecated - Delete a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.
/// This deletes a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -15,6 +17,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs index d432cc7190..67478b3b7d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IReposClient /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs index 3a02c266fc..b8c0323ed4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -10,7 +10,8 @@ public partial interface IReposClient /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs index de8ebdc2ca..eef3819c6f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Get a repository
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs index 013acb0c8e..af33a76bc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Get access restrictions
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Lists who has access to this protected branch.
- /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + /// > [!NOTE]
+ /// > Users, apps, and teams `restrictions` are only available for organization-owned repositories. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs index dcf0efab07..6ae73970b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -8,8 +8,8 @@ public partial interface IReposClient /// /// Get the weekly commit activity
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
- /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
- /// 10,000 or more commits, a 422 status code will be returned. + /// > [!NOTE]
+ /// > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs index da3ebb50df..7f2625a7d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Get a commit
/// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
- /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// > [!NOTE]
+ /// > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
/// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
/// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs index 33a74567d4..1fc30ee037 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs @@ -22,7 +22,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs index 4615423312..a680896a25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Get commit signature protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
- /// **Note**: You must enable branch protection to require signed commits. + /// > [!NOTE]
+ /// > You must enable branch protection to require signed commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs index a7a3716461..eb13aad388 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs @@ -12,7 +12,8 @@ public partial interface IReposClient /// * `a` - Number of additions
/// * `d` - Number of deletions
/// * `c` - Number of commits
- /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + /// > [!NOTE]
+ /// > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs index b1889487a8..32b3ca9081 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReposClient { /// /// Get an environment
- /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// > [!NOTE]
+ /// > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
/// Anyone with read access to the repository can use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs index 6f5eda8451..b7f0a89809 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -11,6 +11,7 @@ public partial interface IReposClient /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." ///
/// + /// /// /// /// Default Value: day @@ -29,6 +30,7 @@ public partial interface IReposClient /// global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( string org, + string? @ref = default, int? repositoryName = default, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, string? actorName = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs index 2b5c87d207..b4596e6c64 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IReposClient { /// /// Get an organization repository ruleset
- /// Get a repository ruleset for an organization. + /// Get a repository ruleset for an organization.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs index 846e8e7cca..b3ab25848a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs @@ -16,12 +16,16 @@ public partial interface IReposClient /// /// Default Value: 1 /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( string org, int? perPage = 30, int? page = 1, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs index 3af5403edf..b2d9488607 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs @@ -8,9 +8,8 @@ public partial interface IReposClient /// /// Get a release
/// Gets a public release with the specified release ID.
- /// **Note:** This returns an `upload_url` key corresponding to the endpoint
- /// for uploading release assets. This key is a hypermedia resource. For more information, see
- /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + /// > [!NOTE]
+ /// > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs index b39a0b900e..3b82e06ac7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs @@ -7,7 +7,7 @@ public partial interface IReposClient { /// /// Get a release asset
- /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs index 349ed263b8..19e8296691 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs @@ -7,7 +7,9 @@ public partial interface IReposClient { /// /// Get a repository ruleset
- /// Get a ruleset for a repository. + /// Get a ruleset for a repository.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs index 366553eb0a..da5921db53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs @@ -20,6 +20,9 @@ public partial interface IReposClient /// /// Default Value: true /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( @@ -28,6 +31,7 @@ public partial interface IReposClient int? perPage = 30, int? page = 1, bool? includesParents = true, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAttestations.g.verified.cs new file mode 100644 index 0000000000..620138df77 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAttestations.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with a repository.
+ /// The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListAttestationsAsync( + string owner, + string repo, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs index b60e62109d..b5d3b3d092 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -7,7 +7,8 @@ public partial interface IReposClient { /// /// List custom deployment rule integrations available for an environment
- /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// Gets all custom deployment protection rule integrations that are available for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
/// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs index 9ef45e7544..7e200a0fa4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// List organization repositories
/// Lists repositories for the specified organization.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs index 5864887f7a..55d1e1a1dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs @@ -6,7 +6,9 @@ namespace G public partial interface IReposClient { /// - /// List tag protection states for a repository
+ /// Deprecated - List tag protection states for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
/// This returns the tag protection states of a repository.
/// This information is only available to repository administrators. ///
@@ -14,6 +16,7 @@ public partial interface IReposClient /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs index 2ef60e87d3..d14ab4d646 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs index 2ab4b1772f..9cdf17d40f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs @@ -19,7 +19,8 @@ public partial interface IReposClient /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
/// - If the user had their own fork of the repository, the fork will be deleted.
/// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
- /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// > [!NOTE]
+ /// > A user can still have access to the repository through organization permissions like base repository permissions.
/// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
/// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs index 1a621e4eed..4db78d5049 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs index 78849135af..dd17f49eb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
@@ -28,7 +29,8 @@ public partial interface IReposClient /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs index 6bf2aed116..683286614b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,12 +31,16 @@ public partial interface IReposClient /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs index d2ba9680a0..89b01b2b70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,12 +37,16 @@ public partial interface IReposClient /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs index 03f7f590db..eb91a66395 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs @@ -8,7 +8,8 @@ public partial interface IReposClient /// /// Test the push repository webhook
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
- /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + /// > [!NOTE]
+ /// > Previously `/repos/:owner/:repo/hooks/:hook_id/test` ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs index fbee8f8e52..8687b83634 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs @@ -94,6 +94,7 @@ public partial interface IReposClient /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -105,6 +106,7 @@ public partial interface IReposClient /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs index a092d560bd..af21c655c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -9,8 +9,10 @@ public partial interface IReposClient /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// @@ -29,8 +31,10 @@ public partial interface IReposClient /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs index 1ae43c0942..1ae0287453 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs @@ -23,7 +23,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,7 +47,7 @@ public partial interface IReposClient global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs index 2ccad29953..ce1561ed90 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -30,8 +30,7 @@ public partial interface IReposClient /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -40,7 +39,9 @@ public partial interface IReposClient /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs index 978a5c147d..853b1b1cb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -9,7 +9,8 @@ public partial interface IReposClient /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// @@ -28,7 +29,8 @@ public partial interface IReposClient /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs index 316babf0c1..22cab216e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -33,8 +33,7 @@ public partial interface IReposClient /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs index a04f0d0712..7374153476 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -13,7 +13,8 @@ public partial interface ISearchClient /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
/// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
/// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
- /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + /// > [!NOTE]
+ /// > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs new file mode 100644 index 0000000000..8910587714 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ISecretScanningClient.SecretScanningCreatePushProtectionBypass.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The reason for bypassing push protection. + /// + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningPushProtectionBypassReason reason, + string placeholderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs index 0c88b67fe9..5ded9e0840 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ISecurityAdvisoriesClient /// /// Create a temporary private fork
/// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
- /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + /// > [!NOTE]
+ /// > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs index 0b3b36637c..3082f09cb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -25,6 +25,8 @@ public partial interface ISecurityAdvisoriesClient /// /// /// + /// + /// /// /// /// @@ -50,6 +52,8 @@ public partial interface ISecurityAdvisoriesClient string? published = default, string? updated = default, string? modified = default, + string? epssPercentage = default, + string? epssPercentile = default, string? before = default, string? after = default, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs index 84e34d72e4..ea55dc1890 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -11,7 +11,8 @@ public partial interface ITeamsClient /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs index ee76ea474b..1bb6585fb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -9,10 +9,12 @@ public partial interface ITeamsClient /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// @@ -31,10 +33,12 @@ public partial interface ITeamsClient /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs index 62aab488fc..5778d828b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -7,10 +7,12 @@ public partial interface ITeamsClient { /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
@@ -28,10 +30,12 @@ public partial interface ITeamsClient /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs index e882e993e6..144ee15847 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// @@ -26,7 +27,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs index 24d9c3572a..8ab16e5ad7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// @@ -24,7 +25,8 @@ public partial interface ITeamsClient /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs index 7463f41bdb..07ec537cc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -29,7 +30,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -37,8 +39,7 @@ public partial interface ITeamsClient /// /// /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. /// /// The token to cancel the operation with /// @@ -47,7 +48,7 @@ public partial interface ITeamsClient string teamSlug, string owner, string repo, - string? permission = "push", + string? permission = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs index c206085110..30db75f230 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
@@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs index f33dc8473c..027806433a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Check team permissions for a project
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs index ed646f750f..427324df68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Check team permissions for a project (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs index 4a66ab3e24..8a0b70e92a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -8,10 +8,11 @@ public partial interface ITeamsClient /// /// Check team permissions for a repository
/// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.
/// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
/// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs index e7ae7960a6..914c1e61fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -7,9 +7,11 @@ public partial interface ITeamsClient { /// /// Check team permissions for a repository (Legacy)
- /// **Note**: Repositories inherited through a parent team will also be checked.
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// > [!NOTE]
+ /// > Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs index 7c0ecdb006..319e986c78 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -8,8 +8,9 @@ public partial interface ITeamsClient /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -28,8 +29,9 @@ public partial interface ITeamsClient /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs index 48ec498cd7..60e9d64674 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -7,9 +7,10 @@ public partial interface ITeamsClient { /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -26,9 +27,10 @@ public partial interface ITeamsClient /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs index 78ee04b90c..d24ce47468 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -8,8 +8,9 @@ public partial interface ITeamsClient /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -26,8 +27,9 @@ public partial interface ITeamsClient /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs index b121388bba..595040fff0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -7,9 +7,10 @@ public partial interface ITeamsClient { /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -24,9 +25,10 @@ public partial interface ITeamsClient /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs index 14e13b9b95..e24ecbd8fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Delete a discussion comment
/// Deletes a comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs index 7bb37326c9..40aa3cd583 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
/// Deletes a comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs index 90bb4590da..1b29d69249 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Delete a discussion
/// Delete a discussion from a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs index 6a017e587b..38f5c0975a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
/// Delete a discussion from a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs index 8d95286d1e..18dff41ff5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -9,7 +9,8 @@ public partial interface ITeamsClient /// Delete a team
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs index a33c80460e..c43592c773 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Delete a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs index b7d789f1de..8a209ba69b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a team by name
/// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs index 0cf9028f38..6cd6f17d59 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a discussion comment
/// Get a specific comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs index 916c6a2f7f..c2eff1a472 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
/// Get a specific comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs index a795b09bd9..6d050e6fc4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Get a discussion
/// Get a specific discussion on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs index 5d60bd79a7..71b1ce96dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
/// Get a specific discussion on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs index 2aed319c4b..cc95690973 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs index 3b1a67a953..b19c9610b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -9,9 +9,10 @@ public partial interface ITeamsClient /// Get team membership for a user
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
- /// **Note:**
- /// The response contains the `state` of the membership and the member's `role`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// > [!NOTE]
+ /// > The response contains the `state` of the membership and the member's `role`.
/// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs index a983ca07ce..e0dc261ea3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Get team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
/// **Note:**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs index 0b755c540d..43feaa8357 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List child teams
/// Lists the child teams of the team specified by `{team_slug}`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs index 25e59ca36a..88157f18d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List child teams (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs index 8b1a2eaa69..0a03c3ad30 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List discussion comments
/// List all comments on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs index a8987c666e..9f2adf4b64 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List discussion comments (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
/// List all comments on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs index efd4fb77d2..33cde8454d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List discussions
/// List all discussions on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs index 5cc5d06844..30a6e1d75d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List discussions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
/// List all discussions on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs index 4c13b52494..bcaebf0722 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team members (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
/// Team members will include the members of child teams. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs index ec8d0daecc..9f4f8e0c04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List pending team invitations
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs index 64f4f5eb02..2210a53fb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List pending team invitations (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs index 2b32c10e64..7ef93cf499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List team projects
/// Lists the organization projects for a team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs index 9915f43289..75a44d0aa0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team projects (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
/// Lists the organization projects for a team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs index a032a61ab0..fbe7b97d84 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// List team repositories
/// Lists a team's repositories visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs index cc3dbae666..d5e81b16fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// List team repositories (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs index 7758e5ca21..f700d8016f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -11,7 +11,8 @@ public partial interface ITeamsClient /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs index a9481f8292..75e65886f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -9,8 +9,10 @@ public partial interface ITeamsClient /// Remove team membership for a user
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs index 5f8159fc5c..1a1b8cabac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -7,10 +7,12 @@ public partial interface ITeamsClient { /// /// Remove team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs index 18e49c1828..7b2a626782 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Remove a project from a team
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs index 411dcb028e..15b7c06794 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Remove a project from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs index 60d1a6fa40..e2976ed407 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Remove a repository from a team
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs index 80d2cc4ec6..83c1eed638 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Remove a repository from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs index 07de1fc091..588c4be8f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -29,7 +30,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs index 9d1440d143..475974546d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs index 9f187e4c18..efaf2019b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -27,7 +28,8 @@ public partial interface ITeamsClient /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs index dea4e1e51c..25ae5143b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -7,7 +7,8 @@ public partial interface ITeamsClient { /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -25,7 +26,8 @@ public partial interface ITeamsClient /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs index a2154551c6..62e092ef3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -8,7 +8,8 @@ public partial interface ITeamsClient /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// @@ -24,7 +25,8 @@ public partial interface ITeamsClient /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs index b0270bbc99..247d1135fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -7,9 +7,11 @@ public partial interface ITeamsClient { /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// @@ -23,9 +25,11 @@ public partial interface ITeamsClient /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetById.g.verified.cs new file mode 100644 index 0000000000..6372710722 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetById.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UsersGetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a user using their ID
+ /// 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetByIdAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs new file mode 100644 index 0000000000..e3b005da23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListAttestations.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IUsersClient.UsersListAttestations.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersListAttestationsAsync( + string username, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreate.g.verified.cs index 29cc39dad5..8e0d5c5880 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreate.g.verified.cs @@ -29,7 +29,7 @@ partial void ProcessIssuesCreateResponseContent( /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -122,7 +122,7 @@ partial void ProcessIssuesCreateResponseContent( /// /// Create an issue
/// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs index 3c236ce453..72d7a1ab71 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesCreateComment.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessIssuesCreateCommentResponseContent( /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -132,7 +132,7 @@ partial void ProcessIssuesCreateCommentResponseContent( /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
/// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
/// Creating content too quickly using this endpoint may result in secondary rate limiting.
- /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs index fe008deb83..4fcdd38bdc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesDeleteComment.g.verified.cs @@ -10,13 +10,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); @@ -33,7 +33,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( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGet.g.verified.cs index 1a6280ab10..2f2f991f38 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGet.g.verified.cs @@ -34,10 +34,8 @@ partial void ProcessIssuesGetResponseContent( /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
/// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
/// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs index fbc34edd0c..0bc29e6653 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesGetComment.g.verified.cs @@ -10,13 +10,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); @@ -43,7 +43,7 @@ partial void ProcessIssuesGetCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesGetCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesList.g.verified.cs index aa0e9176f2..04ad081c72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesList.g.verified.cs @@ -49,10 +49,8 @@ partial void ProcessIssuesListResponseContent( /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
/// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
/// necessarily assigned to you.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs index 223d93a6b8..39d3d97997 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -39,10 +39,8 @@ partial void ProcessIssuesListForAuthenticatedUserResponseContent( /// /// List user account issues assigned to the authenticated user
/// List issues across owned and member repositories assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs index 446f3e65a0..04c3ad9ed3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForOrg.g.verified.cs @@ -41,10 +41,8 @@ partial void ProcessIssuesListForOrgResponseContent( /// /// List organization issues assigned to the authenticated user
/// List issues in an organization assigned to the authenticated user.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs index d5e9d2b230..b184e446cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesListForRepo.g.verified.cs @@ -49,10 +49,8 @@ partial void ProcessIssuesListForRepoResponseContent( /// /// List repository issues
/// List issues in a repository. Only open issues will be listed.
- /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
- /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
- /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
- /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// > [!NOTE]
+ /// > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs index 55435dbd76..80a17db4c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdate.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessIssuesUpdateResponseContent( /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -125,7 +125,7 @@ partial void ProcessIssuesUpdateResponseContent( /// /// Update an issue
- /// Issue owners and users with push access can edit an issue.
+ /// Issue owners and users with push access or Triage role can edit an issue.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs index 56dce6c20d..469f7e6556 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.IssuesUpdateComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareIssuesUpdateCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.IssuesUpdateCommentRequest request); partial void ProcessIssuesUpdateCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessIssuesUpdateCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.IssuesUpdateCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessIssuesUpdateCommentResponseContent( public async global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.MetaGet.g.verified.cs index 606f369aea..4ed497fd15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.MetaGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.MetaGet.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessMetaGetResponseContent( /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
/// The API's response also includes a list of GitHub's domain names.
/// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
- /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + /// > [!NOTE]
+ /// > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index 088088b7cf..da6baafbf1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsCancelImportResponseContent( /// /// Cancel an import
/// Stop an import for a repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index e21c17f027..15daa2730b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessMigrationsGetCommitAuthorsResponseContent( /// Get commit authors
/// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
/// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 3573044760..3e1bd62e4a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetImportStatusResponseContent( /// /// Get an import status
/// View the progress of an import.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
/// **Import status**
/// This section includes details about the possible values of the `status` field of the Import Progress response.
/// An import that does not have errors will progress through these steps:
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index 206f4413ff..c101e4b511 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessMigrationsGetLargeFilesResponseContent( /// /// Get large files
/// List files larger than 100MB found during the import
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 8062a865a0..2282995697 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( /// Map a commit author
/// Update an author's identity for the import. Your application can continue updating authors any time before you push
/// new commits to the repository.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index b190682b29..4103af417a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -123,7 +124,8 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( /// is powered by [Git LFS](https://git-lfs.com).
/// You can learn more about our LFS feature and working with large files [on our help
/// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 84d2a949a2..402066bbb7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -121,7 +122,8 @@ partial void ProcessMigrationsStartImportResponseContent( /// Start a source import to a GitHub repository using GitHub Importer.
/// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
/// return a status `422 Unprocessable Entity` response.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 5257e6ce07..6b21e67868 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// @@ -125,7 +126,8 @@ partial void ProcessMigrationsUpdateImportResponseContent( /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
/// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
/// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
- /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + /// > [!WARNING]
+ /// > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..6e027138b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.verified.cs @@ -0,0 +1,123 @@ +//HintName: G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsCreateSelfHostedRunnerGroupForOrgRequest + { + /// + /// Name of the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter))] + public global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? Visibility { get; set; } = global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All; + + /// + /// List of repository IDs that can access the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// List of runner IDs to add to the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runners")] + public global::System.Collections.Generic.IList? Runners { get; set; } + + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allows_public_repositories")] + public bool? AllowsPublicRepositories { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest), + jsonSerializerContext) as global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..bffed999fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs + +#nullable enable + +namespace G +{ + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
+ /// Default Value: all + ///
+ public enum ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility + { + /// + /// + /// + Selected, + /// + /// + /// + All, + /// + /// + /// + Private, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility value) + { + return value switch + { + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Selected => "selected", + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All => "all", + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Private => "private", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? ToEnum(string value) + { + return value switch + { + "selected" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Selected, + "all" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.All, + "private" => ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.Private, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs new file mode 100644 index 0000000000..7378322d5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Repositories { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse), + jsonSerializerContext) as global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs new file mode 100644 index 0000000000..db658bb302 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.ActionsListSelfHostedRunnerGroupsForOrgResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsListSelfHostedRunnerGroupsForOrgResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_groups")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList RunnerGroups { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse), + jsonSerializerContext) as global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs similarity index 81% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs index 4d5fae38c7..4e26697468 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFineGrainedPermission.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.verified.cs @@ -1,27 +1,27 @@ -//HintName: G.Models.OrganizationFineGrainedPermission.g.cs +//HintName: G.Models.ActionsListSelfHostedRunnersInGroupForOrgResponse.g.cs #nullable enable namespace G { /// - /// A fine-grained permission that protects organization resources. + /// /// - public sealed partial class OrganizationFineGrainedPermission + public sealed partial class ActionsListSelfHostedRunnersInGroupForOrgResponse { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } + public required double TotalCount { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonPropertyName("runners")] [global::System.Text.Json.Serialization.JsonRequired] - public required string Description { get; set; } + public required global::System.Collections.Generic.IList Runners { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -60,14 +60,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.OrganizationFineGrainedPermission? FromJson( + public static global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.OrganizationFineGrainedPermission), - jsonSerializerContext) as global::G.OrganizationFineGrainedPermission; + typeof(global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse), + jsonSerializerContext) as global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse; } /// @@ -77,11 +77,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrganizationFineGrainedPermission? FromJson( + public static global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs new file mode 100644 index 0000000000..d84dbc9dab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest + { + /// + /// List of repository IDs that can access the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList SelectedRepositoryIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest), + jsonSerializerContext) as global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..e666663c5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.ActionsSetSelfHostedRunnersInGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsSetSelfHostedRunnersInGroupForOrgRequest + { + /// + /// List of runner IDs to add to the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runners")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Runners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest), + jsonSerializerContext) as global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs new file mode 100644 index 0000000000..ae8f680d6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.verified.cs @@ -0,0 +1,110 @@ +//HintName: G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ActionsUpdateSelfHostedRunnerGroupForOrgRequest + { + /// + /// Name of the runner group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter))] + public global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? Visibility { get; set; } + + /// + /// Whether the runner group can be used by `public` repositories.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allows_public_repositories")] + public bool? AllowsPublicRepositories { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest), + jsonSerializerContext) as global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..84ee0bd731 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs + +#nullable enable + +namespace G +{ + /// + /// Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + /// + public enum ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility + { + /// + /// + /// + Selected, + /// + /// + /// + All, + /// + /// + /// + Private, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility value) + { + return value switch + { + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Selected => "selected", + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.All => "all", + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Private => "private", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? ToEnum(string value) + { + return value switch + { + "selected" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Selected, + "all" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.All, + "private" => ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.Private, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverview.g.verified.cs index 3c50d7d753..23e302c728 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverview.g.verified.cs @@ -88,12 +88,24 @@ public sealed partial class ApiOverview [global::System.Text.Json.Serialization.JsonPropertyName("actions_macos")] public global::System.Collections.Generic.IList? ActionsMacos { get; set; } + /// + /// Example: [192.0.2.1] + /// + [global::System.Text.Json.Serialization.JsonPropertyName("codespaces")] + public global::System.Collections.Generic.IList? Codespaces { get; set; } + /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("dependabot")] public global::System.Collections.Generic.IList? Dependabot { get; set; } + /// + /// Example: [192.0.2.1] + /// + [global::System.Text.Json.Serialization.JsonPropertyName("copilot")] + public global::System.Collections.Generic.IList? Copilot { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomains.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomains.g.verified.cs index c5103d79d0..b9ad0ef6d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomains.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomains.g.verified.cs @@ -39,6 +39,12 @@ public sealed partial class ApiOverviewDomains [global::System.Text.Json.Serialization.JsonPropertyName("actions")] public global::System.Collections.Generic.IList? Actions { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("artifact_attestations")] + public global::G.ApiOverviewDomainsArtifactAttestations? ArtifactAttestations { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs new file mode 100644 index 0000000000..7fcdc0d586 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ApiOverviewDomainsArtifactAttestations.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.ApiOverviewDomainsArtifactAttestations.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ApiOverviewDomainsArtifactAttestations + { + /// + /// Example: [example] + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trust_domain")] + public string? TrustDomain { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("services")] + public global::System.Collections.Generic.IList? Services { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ApiOverviewDomainsArtifactAttestations? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ApiOverviewDomainsArtifactAttestations), + jsonSerializerContext) as global::G.ApiOverviewDomainsArtifactAttestations; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ApiOverviewDomainsArtifactAttestations? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Authorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Authorization.g.verified.cs index 2a0de4f429..9b88e31759 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Authorization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Authorization.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class Authorization ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs index 721dfcd99a..02c4411403 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyApp.g.verified.cs @@ -39,6 +39,12 @@ public sealed partial class BranchRestrictionPolicyApp [global::System.Text.Json.Serialization.JsonPropertyName("name")] public string? Name { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs index 1dd6d266bb..43adc84fe3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.BranchRestrictionPolicyUser.g.verified.cs @@ -19,7 +19,7 @@ public sealed partial class BranchRestrictionPolicyUser /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CheckRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CheckRun.g.verified.cs index 55cf977451..6382ec60ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CheckRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CheckRun.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class CheckRun { /// /// The id of the check.
- /// Example: 21 + /// Example: 21L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// The SHA of the commit that is being checked.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs similarity index 82% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs index b4fed1ae4f..441411e493 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1CustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ChecksCreateRequestDiscriminator.g.verified.cs @@ -1,14 +1,19 @@ -//HintName: G.Models.WebhookForkForkeeVariant1CustomProperties.g.cs +//HintName: G.Models.ChecksCreateRequestDiscriminator.g.cs #nullable enable namespace G { /// - /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// /// - public sealed partial class WebhookForkForkeeVariant1CustomProperties + public sealed partial class ChecksCreateRequestDiscriminator { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -47,14 +52,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.WebhookForkForkeeVariant1CustomProperties? FromJson( + public static global::G.ChecksCreateRequestDiscriminator? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.WebhookForkForkeeVariant1CustomProperties), - jsonSerializerContext) as global::G.WebhookForkForkeeVariant1CustomProperties; + typeof(global::G.ChecksCreateRequestDiscriminator), + jsonSerializerContext) as global::G.ChecksCreateRequestDiscriminator; } /// @@ -64,11 +69,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.WebhookForkForkeeVariant1CustomProperties? FromJson( + public static global::G.ChecksCreateRequestDiscriminator? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRule.g.verified.cs index 71f650abb9..fe02859398 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRule.g.verified.cs @@ -42,7 +42,7 @@ public sealed partial class CodeScanningAlertRule public string? Description { get; set; } /// - /// description of the rule used to detect the alert. + /// A description of the rule used to detect the alert. /// [global::System.Text.Json.Serialization.JsonPropertyName("full_description")] public string? FullDescription { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs index e57663e548..d9f9f60722 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeScanningAlertRuleSummary.g.verified.cs @@ -21,12 +21,6 @@ public sealed partial class CodeScanningAlertRuleSummary [global::System.Text.Json.Serialization.JsonPropertyName("name")] public string? Name { get; set; } - /// - /// A set of tags applicable for the rule. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - /// /// The severity of the alert. /// @@ -47,6 +41,30 @@ public sealed partial class CodeScanningAlertRuleSummary [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } + /// + /// A description of the rule used to detect the alert. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_description")] + public string? FullDescription { get; set; } + + /// + /// A set of tags applicable for the rule. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Detailed documentation for the rule as GitHub Flavored Markdown. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("help")] + public string? Help { get; set; } + + /// + /// A link to the documentation for the rule used to detect the alert. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("help_uri")] + public string? HelpUri { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..8656c293af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequest.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityAttachConfigurationRequest + { + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityAttachConfigurationRequestScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.CodeSecurityAttachConfigurationRequestScope Scope { get; set; } + + /// + /// An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityAttachConfigurationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityAttachConfigurationRequest), + jsonSerializerContext) as global::G.CodeSecurityAttachConfigurationRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityAttachConfigurationRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs new file mode 100644 index 0000000000..5973811671 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationRequestScope.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationRequestScope.g.cs + +#nullable enable + +namespace G +{ + /// + /// The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + /// + public enum CodeSecurityAttachConfigurationRequestScope + { + /// + /// + /// + All, + /// + /// + /// + Public, + /// + /// + /// + PrivateOrInternal, + /// + /// + /// + Selected, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityAttachConfigurationRequestScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityAttachConfigurationRequestScope value) + { + return value switch + { + CodeSecurityAttachConfigurationRequestScope.All => "all", + CodeSecurityAttachConfigurationRequestScope.Public => "public", + CodeSecurityAttachConfigurationRequestScope.PrivateOrInternal => "private_or_internal", + CodeSecurityAttachConfigurationRequestScope.Selected => "selected", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityAttachConfigurationRequestScope? ToEnum(string value) + { + return value switch + { + "all" => CodeSecurityAttachConfigurationRequestScope.All, + "public" => CodeSecurityAttachConfigurationRequestScope.Public, + "private_or_internal" => CodeSecurityAttachConfigurationRequestScope.PrivateOrInternal, + "selected" => CodeSecurityAttachConfigurationRequestScope.Selected, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs new file mode 100644 index 0000000000..f18b9b2990 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityAttachConfigurationResponse.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.CodeSecurityAttachConfigurationResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityAttachConfigurationResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityAttachConfigurationResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityAttachConfigurationResponse), + jsonSerializerContext) as global::G.CodeSecurityAttachConfigurationResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityAttachConfigurationResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs new file mode 100644 index 0000000000..3b0ecf05fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfiguration.g.verified.cs @@ -0,0 +1,215 @@ +//HintName: G.Models.CodeSecurityConfiguration.g.cs + +#nullable enable + +namespace G +{ + /// + /// A code security configuration + /// + public sealed partial class CodeSecurityConfiguration + { + /// + /// The ID of the code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The type of the code security configuration. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("target_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationTargetTypeJsonConverter))] + public global::G.CodeSecurityConfigurationTargetType? TargetType { get; set; } + + /// + /// A description of the code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// The enablement status of GitHub Advanced Security + /// + [global::System.Text.Json.Serialization.JsonPropertyName("advanced_security")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationAdvancedSecurityJsonConverter))] + public global::G.CodeSecurityConfigurationAdvancedSecurity? AdvancedSecurity { get; set; } + + /// + /// The enablement status of Dependency Graph + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphJsonConverter))] + public global::G.CodeSecurityConfigurationDependencyGraph? DependencyGraph { get; set; } + + /// + /// The enablement status of Automatic dependency submission + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionJsonConverter))] + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } + + /// + /// Feature options for Automatic dependency submission + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotAlertsJsonConverter))] + public global::G.CodeSecurityConfigurationDependabotAlerts? DependabotAlerts { get; set; } + + /// + /// The enablement status of Dependabot security updates + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_security_updates")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesJsonConverter))] + public global::G.CodeSecurityConfigurationDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } + + /// + /// The enablement status of code scanning default setup + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_scanning_default_setup")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupJsonConverter))] + public global::G.CodeSecurityConfigurationCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } + + /// + /// The enablement status of secret scanning + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningJsonConverter))] + public global::G.CodeSecurityConfigurationSecretScanning? SecretScanning { get; set; } + + /// + /// The enablement status of secret scanning push protection + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionJsonConverter))] + public global::G.CodeSecurityConfigurationSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + + /// + /// The enablement status of secret scanning validity checks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_validity_checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksJsonConverter))] + public global::G.CodeSecurityConfigurationSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } + + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsJsonConverter))] + public global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// The enablement status of private vulnerability reporting + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private_vulnerability_reporting")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingJsonConverter))] + public global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } + + /// + /// The enforcement status for a security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enforcement")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationEnforcementJsonConverter))] + public global::G.CodeSecurityConfigurationEnforcement? Enforcement { get; set; } + + /// + /// The URL of the configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// The URL of the configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityConfiguration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityConfiguration), + jsonSerializerContext) as global::G.CodeSecurityConfiguration; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfiguration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..1b5b3e0e9a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityConfigurationAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security + /// + public enum CodeSecurityConfigurationAdvancedSecurity + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationAdvancedSecurity value) + { + return value switch + { + CodeSecurityConfigurationAdvancedSecurity.Enabled => "enabled", + CodeSecurityConfigurationAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationAdvancedSecurity.Enabled, + "disabled" => CodeSecurityConfigurationAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..9aad580d13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup + /// + public enum CodeSecurityConfigurationCodeScanningDefaultSetup + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityConfigurationCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityConfigurationCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityConfigurationCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityConfigurationCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityConfigurationCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..101eef237d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotAlerts.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts + /// + public enum CodeSecurityConfigurationDependabotAlerts + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependabotAlerts value) + { + return value switch + { + CodeSecurityConfigurationDependabotAlerts.Enabled => "enabled", + CodeSecurityConfigurationDependabotAlerts.Disabled => "disabled", + CodeSecurityConfigurationDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependabotAlerts.Enabled, + "disabled" => CodeSecurityConfigurationDependabotAlerts.Disabled, + "not_set" => CodeSecurityConfigurationDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..695bc8606c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates + /// + public enum CodeSecurityConfigurationDependabotSecurityUpdates + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityConfigurationDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityConfigurationDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityConfigurationDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityConfigurationDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityConfigurationDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..a05ff52634 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraph.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph + /// + public enum CodeSecurityConfigurationDependencyGraph + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependencyGraph value) + { + return value switch + { + CodeSecurityConfigurationDependencyGraph.Enabled => "enabled", + CodeSecurityConfigurationDependencyGraph.Disabled => "disabled", + CodeSecurityConfigurationDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependencyGraph.Enabled, + "disabled" => CodeSecurityConfigurationDependencyGraph.Disabled, + "not_set" => CodeSecurityConfigurationDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..2ba3c41143 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission + /// + public enum CodeSecurityConfigurationDependencyGraphAutosubmitAction + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityConfigurationDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityConfigurationDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityConfigurationDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityConfigurationDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..2fc1d21bd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labeled_runners")] + public bool? LabeledRunners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions), + jsonSerializerContext) as global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs new file mode 100644 index 0000000000..42815d394a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationEnforcement.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityConfigurationEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration + /// + public enum CodeSecurityConfigurationEnforcement + { + /// + /// + /// + Enforced, + /// + /// + /// + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationEnforcement value) + { + return value switch + { + CodeSecurityConfigurationEnforcement.Enforced => "enforced", + CodeSecurityConfigurationEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityConfigurationEnforcement.Enforced, + "unenforced" => CodeSecurityConfigurationEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs new file mode 100644 index 0000000000..262502f043 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepository.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.CodeSecurityConfigurationForRepository.g.cs + +#nullable enable + +namespace G +{ + /// + /// Code security configuration associated with a repository and attachment status + /// + public sealed partial class CodeSecurityConfigurationForRepository + { + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationForRepositoryStatusJsonConverter))] + public global::G.CodeSecurityConfigurationForRepositoryStatus? Status { get; set; } + + /// + /// A code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityConfigurationForRepository? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityConfigurationForRepository), + jsonSerializerContext) as global::G.CodeSecurityConfigurationForRepository; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationForRepository? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs new file mode 100644 index 0000000000..e2f83809a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.CodeSecurityConfigurationForRepositoryStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attachment status of the code security configuration on the repository. + /// + public enum CodeSecurityConfigurationForRepositoryStatus + { + /// + /// + /// + Attached, + /// + /// + /// + Attaching, + /// + /// + /// + Detached, + /// + /// + /// + Removed, + /// + /// + /// + Enforced, + /// + /// + /// + Failed, + /// + /// + /// + Updating, + /// + /// + /// + RemovedByEnterprise, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationForRepositoryStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationForRepositoryStatus value) + { + return value switch + { + CodeSecurityConfigurationForRepositoryStatus.Attached => "attached", + CodeSecurityConfigurationForRepositoryStatus.Attaching => "attaching", + CodeSecurityConfigurationForRepositoryStatus.Detached => "detached", + CodeSecurityConfigurationForRepositoryStatus.Removed => "removed", + CodeSecurityConfigurationForRepositoryStatus.Enforced => "enforced", + CodeSecurityConfigurationForRepositoryStatus.Failed => "failed", + CodeSecurityConfigurationForRepositoryStatus.Updating => "updating", + CodeSecurityConfigurationForRepositoryStatus.RemovedByEnterprise => "removed_by_enterprise", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationForRepositoryStatus? ToEnum(string value) + { + return value switch + { + "attached" => CodeSecurityConfigurationForRepositoryStatus.Attached, + "attaching" => CodeSecurityConfigurationForRepositoryStatus.Attaching, + "detached" => CodeSecurityConfigurationForRepositoryStatus.Detached, + "removed" => CodeSecurityConfigurationForRepositoryStatus.Removed, + "enforced" => CodeSecurityConfigurationForRepositoryStatus.Enforced, + "failed" => CodeSecurityConfigurationForRepositoryStatus.Failed, + "updating" => CodeSecurityConfigurationForRepositoryStatus.Updating, + "removed_by_enterprise" => CodeSecurityConfigurationForRepositoryStatus.RemovedByEnterprise, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..d3c2204fa4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting + /// + public enum CodeSecurityConfigurationPrivateVulnerabilityReporting + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityConfigurationPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityConfigurationPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityConfigurationPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityConfigurationPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityConfigurationPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs new file mode 100644 index 0000000000..8a7aaa87dc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositories.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.CodeSecurityConfigurationRepositories.g.cs + +#nullable enable + +namespace G +{ + /// + /// Repositories associated with a code security configuration and attachment status + /// + public sealed partial class CodeSecurityConfigurationRepositories + { + /// + /// The attachment status of the code security configuration on the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityConfigurationRepositoriesStatusJsonConverter))] + public global::G.CodeSecurityConfigurationRepositoriesStatus? Status { get; set; } + + /// + /// A GitHub repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + public global::G.SimpleRepository? Repository { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityConfigurationRepositories? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityConfigurationRepositories), + jsonSerializerContext) as global::G.CodeSecurityConfigurationRepositories; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityConfigurationRepositories? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs new file mode 100644 index 0000000000..2c76d70864 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.CodeSecurityConfigurationRepositoriesStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attachment status of the code security configuration on the repository. + /// + public enum CodeSecurityConfigurationRepositoriesStatus + { + /// + /// + /// + Attached, + /// + /// + /// + Attaching, + /// + /// + /// + Detached, + /// + /// + /// + Removed, + /// + /// + /// + Enforced, + /// + /// + /// + Failed, + /// + /// + /// + Updating, + /// + /// + /// + RemovedByEnterprise, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationRepositoriesStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationRepositoriesStatus value) + { + return value switch + { + CodeSecurityConfigurationRepositoriesStatus.Attached => "attached", + CodeSecurityConfigurationRepositoriesStatus.Attaching => "attaching", + CodeSecurityConfigurationRepositoriesStatus.Detached => "detached", + CodeSecurityConfigurationRepositoriesStatus.Removed => "removed", + CodeSecurityConfigurationRepositoriesStatus.Enforced => "enforced", + CodeSecurityConfigurationRepositoriesStatus.Failed => "failed", + CodeSecurityConfigurationRepositoriesStatus.Updating => "updating", + CodeSecurityConfigurationRepositoriesStatus.RemovedByEnterprise => "removed_by_enterprise", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationRepositoriesStatus? ToEnum(string value) + { + return value switch + { + "attached" => CodeSecurityConfigurationRepositoriesStatus.Attached, + "attaching" => CodeSecurityConfigurationRepositoriesStatus.Attaching, + "detached" => CodeSecurityConfigurationRepositoriesStatus.Detached, + "removed" => CodeSecurityConfigurationRepositoriesStatus.Removed, + "enforced" => CodeSecurityConfigurationRepositoriesStatus.Enforced, + "failed" => CodeSecurityConfigurationRepositoriesStatus.Failed, + "updating" => CodeSecurityConfigurationRepositoriesStatus.Updating, + "removed_by_enterprise" => CodeSecurityConfigurationRepositoriesStatus.RemovedByEnterprise, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs new file mode 100644 index 0000000000..a46292e769 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanning.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning + /// + public enum CodeSecurityConfigurationSecretScanning + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanning value) + { + return value switch + { + CodeSecurityConfigurationSecretScanning.Enabled => "enabled", + CodeSecurityConfigurationSecretScanning.Disabled => "disabled", + CodeSecurityConfigurationSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanning.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanning.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..3f966f5942 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non-provider patterns + /// + public enum CodeSecurityConfigurationSecretScanningNonProviderPatterns + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..04636f5589 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection + /// + public enum CodeSecurityConfigurationSecretScanningPushProtection + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..991134014c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityConfigurationSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks + /// + public enum CodeSecurityConfigurationSecretScanningValidityChecks + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityConfigurationSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityConfigurationSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityConfigurationSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityConfigurationSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityConfigurationSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityConfigurationSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityConfigurationSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityConfigurationSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityConfigurationSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs similarity index 50% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs index 241905bd47..343cb40f22 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValueType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityConfigurationTargetType.g.verified.cs @@ -1,51 +1,50 @@ -//HintName: G.Models.OrgCustomPropertyValueType.g.cs +//HintName: G.Models.CodeSecurityConfigurationTargetType.g.cs #nullable enable namespace G { /// - /// The type of the value for the property
- /// Example: single_select + /// The type of the code security configuration. ///
- public enum OrgCustomPropertyValueType + public enum CodeSecurityConfigurationTargetType { /// /// /// - String, + Global, /// /// /// - SingleSelect, + Organization, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class OrgCustomPropertyValueTypeExtensions + public static class CodeSecurityConfigurationTargetTypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this OrgCustomPropertyValueType value) + public static string ToValueString(this CodeSecurityConfigurationTargetType value) { return value switch { - OrgCustomPropertyValueType.String => "string", - OrgCustomPropertyValueType.SingleSelect => "single_select", + CodeSecurityConfigurationTargetType.Global => "global", + CodeSecurityConfigurationTargetType.Organization => "organization", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static OrgCustomPropertyValueType? ToEnum(string value) + public static CodeSecurityConfigurationTargetType? ToEnum(string value) { return value switch { - "string" => OrgCustomPropertyValueType.String, - "single_select" => OrgCustomPropertyValueType.SingleSelect, + "global" => CodeSecurityConfigurationTargetType.Global, + "organization" => CodeSecurityConfigurationTargetType.Organization, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..d729d82edc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequest.g.verified.cs @@ -0,0 +1,192 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityCreateConfigurationRequest + { + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// A description of the code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Description { get; set; } + + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("advanced_security")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? AdvancedSecurity { get; set; } = global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled; + + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? DependencyGraph { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled; + + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled; + + /// + /// Feature options for Automatic dependency submission + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? DependabotAlerts { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled; + + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_security_updates")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } = global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled; + + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code_scanning_default_setup")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } = global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled; + + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanning? SecretScanning { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanning.Disabled; + + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? SecretScanningPushProtection { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled; + + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_validity_checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled; + + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } = global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled; + + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("private_vulnerability_reporting")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } = global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled; + + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enforcement")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementJsonConverter))] + public global::G.CodeSecurityCreateConfigurationRequestEnforcement? Enforcement { get; set; } = global::G.CodeSecurityCreateConfigurationRequestEnforcement.Enforced; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityCreateConfigurationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityCreateConfigurationRequest), + jsonSerializerContext) as global::G.CodeSecurityCreateConfigurationRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityCreateConfigurationRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..3bb2623946 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestAdvancedSecurity + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestAdvancedSecurity value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestAdvancedSecurity.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestAdvancedSecurity.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..390b473e95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..d22c8a3274 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestDependabotAlerts + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependabotAlerts value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependabotAlerts.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependabotAlerts.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependabotAlerts.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..2d6cadef36 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..72684114ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph
+ /// Default Value: enabled + ///
+ public enum CodeSecurityCreateConfigurationRequestDependencyGraph + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependencyGraph value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependencyGraph.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependencyGraph.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependencyGraph.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..f345e96418 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..4e073674fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("labeled_runners")] + public bool? LabeledRunners { get; set; } = false; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions), + jsonSerializerContext) as global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..6df36aa507 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration
+ /// Default Value: enforced + ///
+ public enum CodeSecurityCreateConfigurationRequestEnforcement + { + /// + /// + /// + Enforced, + /// + /// + /// + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestEnforcement value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestEnforcement.Enforced => "enforced", + CodeSecurityCreateConfigurationRequestEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityCreateConfigurationRequestEnforcement.Enforced, + "unenforced" => CodeSecurityCreateConfigurationRequestEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..6f3939c80f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..e4a20cbcd7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestSecretScanning + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanning value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanning.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanning.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanning.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanning.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..58b16c9b9f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non provider patterns
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..2f2f6ea478 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestSecretScanningPushProtection + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..8f978634b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.Models.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks
+ /// Default Value: disabled + ///
+ public enum CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs new file mode 100644 index 0000000000..898bff5e8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfiguration.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.CodeSecurityDefaultConfiguration.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityDefaultConfiguration + { + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposJsonConverter))] + public global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// A code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityDefaultConfiguration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityDefaultConfiguration), + jsonSerializerContext) as global::G.CodeSecurityDefaultConfiguration; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityDefaultConfiguration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..a71a81c7a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + public enum CodeSecurityDefaultConfigurationDefaultForNewRepos + { + /// + /// + /// + Public, + /// + /// + /// + PrivateAndInternal, + /// + /// + /// + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityDefaultConfigurationDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityDefaultConfigurationDefaultForNewRepos value) + { + return value switch + { + CodeSecurityDefaultConfigurationDefaultForNewRepos.Public => "public", + CodeSecurityDefaultConfigurationDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecurityDefaultConfigurationDefaultForNewRepos.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityDefaultConfigurationDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "public" => CodeSecurityDefaultConfigurationDefaultForNewRepos.Public, + "private_and_internal" => CodeSecurityDefaultConfigurationDefaultForNewRepos.PrivateAndInternal, + "all" => CodeSecurityDefaultConfigurationDefaultForNewRepos.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..b3136ba1aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityDetachConfigurationRequest.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.CodeSecurityDetachConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityDetachConfigurationRequest + { + /// + /// An array of repository IDs to detach from configurations. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityDetachConfigurationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityDetachConfigurationRequest), + jsonSerializerContext) as global::G.CodeSecurityDetachConfigurationRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityDetachConfigurationRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs new file mode 100644 index 0000000000..ffed692668 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityGetConfigurationsForOrgTargetType.g.cs + +#nullable enable + +namespace G +{ + /// + /// Default Value: all + /// + public enum CodeSecurityGetConfigurationsForOrgTargetType + { + /// + /// + /// + Global, + /// + /// + /// + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityGetConfigurationsForOrgTargetTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityGetConfigurationsForOrgTargetType value) + { + return value switch + { + CodeSecurityGetConfigurationsForOrgTargetType.Global => "global", + CodeSecurityGetConfigurationsForOrgTargetType.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityGetConfigurationsForOrgTargetType? ToEnum(string value) + { + return value switch + { + "global" => CodeSecurityGetConfigurationsForOrgTargetType.Global, + "all" => CodeSecurityGetConfigurationsForOrgTargetType.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs new file mode 100644 index 0000000000..a5e3177585 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecuritySetConfigurationAsDefaultRequest + { + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposJsonConverter))] + public global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecuritySetConfigurationAsDefaultRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecuritySetConfigurationAsDefaultRequest), + jsonSerializerContext) as global::G.CodeSecuritySetConfigurationAsDefaultRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecuritySetConfigurationAsDefaultRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..87707aae65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// Specify which types of repository this security configuration should be applied to by default. + /// + public enum CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos + { + /// + /// + /// + All, + /// + /// + /// + None, + /// + /// + /// + PrivateAndInternal, + /// + /// + /// + Public, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos value) + { + return value switch + { + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.All => "all", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.None => "none", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.Public => "public", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "all" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.All, + "none" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.None, + "private_and_internal" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.PrivateAndInternal, + "public" => CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.Public, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs new file mode 100644 index 0000000000..d5c629b46c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecuritySetConfigurationAsDefaultResponse + { + /// + /// Specifies which types of repository this security configuration is applied to by default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter))] + public global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// A code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] + public global::G.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecuritySetConfigurationAsDefaultResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecuritySetConfigurationAsDefaultResponse), + jsonSerializerContext) as global::G.CodeSecuritySetConfigurationAsDefaultResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecuritySetConfigurationAsDefaultResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..46b6d1504f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.cs + +#nullable enable + +namespace G +{ + /// + /// Specifies which types of repository this security configuration is applied to by default. + /// + public enum CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos + { + /// + /// + /// + All, + /// + /// + /// + None, + /// + /// + /// + PrivateAndInternal, + /// + /// + /// + Public, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos value) + { + return value switch + { + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.All => "all", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.None => "none", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.PrivateAndInternal => "private_and_internal", + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.Public => "public", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? ToEnum(string value) + { + return value switch + { + "all" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.All, + "none" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.None, + "private_and_internal" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.PrivateAndInternal, + "public" => CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.Public, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs new file mode 100644 index 0000000000..e830f58058 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequest.g.verified.cs @@ -0,0 +1,178 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeSecurityUpdateConfigurationRequest + { + /// + /// The name of the code security configuration. Must be unique within the organization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// A description of the code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// The enablement status of GitHub Advanced Security + /// + [global::System.Text.Json.Serialization.JsonPropertyName("advanced_security")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? AdvancedSecurity { get; set; } + + /// + /// The enablement status of Dependency Graph + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? DependencyGraph { get; set; } + + /// + /// The enablement status of Automatic dependency submission + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? DependencyGraphAutosubmitAction { get; set; } + + /// + /// Feature options for Automatic dependency submission + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_autosubmit_action_options")] + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? DependencyGraphAutosubmitActionOptions { get; set; } + + /// + /// The enablement status of Dependabot alerts + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? DependabotAlerts { get; set; } + + /// + /// The enablement status of Dependabot security updates + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dependabot_security_updates")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? DependabotSecurityUpdates { get; set; } + + /// + /// The enablement status of code scanning default setup + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_scanning_default_setup")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? CodeScanningDefaultSetup { get; set; } + + /// + /// The enablement status of secret scanning + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? SecretScanning { get; set; } + + /// + /// The enablement status of secret scanning push protection + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + + /// + /// The enablement status of secret scanning validity checks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_validity_checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? SecretScanningValidityChecks { get; set; } + + /// + /// The enablement status of secret scanning non-provider patterns + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// The enablement status of private vulnerability reporting + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private_vulnerability_reporting")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } + + /// + /// The enforcement status for a security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enforcement")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementJsonConverter))] + public global::G.CodeSecurityUpdateConfigurationRequestEnforcement? Enforcement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityUpdateConfigurationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityUpdateConfigurationRequest), + jsonSerializerContext) as global::G.CodeSecurityUpdateConfigurationRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityUpdateConfigurationRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..1751ca10d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of GitHub Advanced Security + /// + public enum CodeSecurityUpdateConfigurationRequestAdvancedSecurity + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestAdvancedSecurity value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestAdvancedSecurity? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestAdvancedSecurity.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..9af6b96a45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of code scanning default setup + /// + public enum CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..87a6672d28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot alerts + /// + public enum CodeSecurityUpdateConfigurationRequestDependabotAlerts + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependabotAlerts value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependabotAlerts.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependabotAlerts.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependabotAlerts.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependabotAlerts? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependabotAlerts.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..bbeeb57579 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependabot security updates + /// + public enum CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..688be42d02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Dependency Graph + /// + public enum CodeSecurityUpdateConfigurationRequestDependencyGraph + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependencyGraph value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependencyGraph.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependencyGraph.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependencyGraph.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependencyGraph? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependencyGraph.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependencyGraph.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependencyGraph.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..f6a52e5227 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of Automatic dependency submission + /// + public enum CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs new file mode 100644 index 0000000000..5ab8cd8590 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions.g.cs + +#nullable enable + +namespace G +{ + /// + /// Feature options for Automatic dependency submission + /// + public sealed partial class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions + { + /// + /// Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labeled_runners")] + public bool? LabeledRunners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions), + jsonSerializerContext) as global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..895e9f5906 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestEnforcement.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement status for a security configuration + /// + public enum CodeSecurityUpdateConfigurationRequestEnforcement + { + /// + /// + /// + Enforced, + /// + /// + /// + Unenforced, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestEnforcement value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestEnforcement.Enforced => "enforced", + CodeSecurityUpdateConfigurationRequestEnforcement.Unenforced => "unenforced", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestEnforcement? ToEnum(string value) + { + return value switch + { + "enforced" => CodeSecurityUpdateConfigurationRequestEnforcement.Enforced, + "unenforced" => CodeSecurityUpdateConfigurationRequestEnforcement.Unenforced, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..9fc127034c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of private vulnerability reporting + /// + public enum CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..28d9a4e4a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning + /// + public enum CodeSecurityUpdateConfigurationRequestSecretScanning + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanning value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanning.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanning.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanning.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanning? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanning.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanning.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanning.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..c4f1913704 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning non-provider patterns + /// + public enum CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..f308ab7218 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning push protection + /// + public enum CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..b02c7e18d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enablement status of secret scanning validity checks + /// + public enum CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + /// + /// + /// + NotSet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks value) + { + return value switch + { + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Enabled => "enabled", + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Disabled => "disabled", + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.NotSet => "not_set", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? ToEnum(string value) + { + return value switch + { + "enabled" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Enabled, + "disabled" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.Disabled, + "not_set" => CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.NotSet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Codespace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Codespace.g.verified.cs index fa97fddfee..2cbca1a170 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Codespace.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Codespace.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class Codespace { /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Automatically generated name of this codespace.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs index adff4b7fa9..1d60dfd285 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CodespaceWithFullRepository.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class CodespaceWithFullRepository { /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Automatically generated name of this codespace.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Collaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Collaborator.g.verified.cs index 7189bb9a41..fb4f308398 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Collaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Collaborator.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class Collaborator public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Commit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Commit.g.verified.cs index f6c1b28479..46ea2d13d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Commit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Commit.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.Commit.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -52,18 +54,20 @@ public sealed partial class Commit public required global::G.CommitCommit1 Commit1 { get; set; } /// - /// A GitHub user. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("author")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.NullableSimpleUser? Author { get; set; } + public required global::G.OneOf? Author { get; set; } /// - /// A GitHub user. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("committer")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.NullableSimpleUser? Committer { get; set; } + public required global::G.OneOf? Committer { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTree.g.verified.cs index 5af9f12dee..b33e7e105e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTree.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTree.g.verified.cs @@ -44,6 +44,12 @@ public sealed partial class ContentTree [global::System.Text.Json.Serialization.JsonRequired] public required string Sha { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + public string? Content { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTreeEntrie.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTreeEntrie.g.verified.cs index be1c8c1303..f8f065d59c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTreeEntrie.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ContentTreeEntrie.g.verified.cs @@ -37,12 +37,6 @@ public sealed partial class ContentTreeEntrie [global::System.Text.Json.Serialization.JsonRequired] public required string Path { get; set; } - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content")] - public string? Content { get; set; } - /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs new file mode 100644 index 0000000000..f742a520b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.CopilotListCopilotSeatsForEnterpriseResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CopilotListCopilotSeatsForEnterpriseResponse + { + /// + /// The total number of Copilot seats the enterprise is being billed for. Users with access through multiple organizations or enterprise teams are only counted once. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_seats")] + public int? TotalSeats { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("seats")] + public global::System.Collections.Generic.IList? Seats { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CopilotListCopilotSeatsForEnterpriseResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CopilotListCopilotSeatsForEnterpriseResponse), + jsonSerializerContext) as global::G.CopilotListCopilotSeatsForEnterpriseResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CopilotListCopilotSeatsForEnterpriseResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs index f7de464ab1..6e920aa671 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetails.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + /// Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. /// public sealed partial class CopilotOrganizationDetails { @@ -53,6 +53,13 @@ public sealed partial class CopilotOrganizationDetails [global::System.Text.Json.Serialization.JsonRequired] public required global::G.CopilotOrganizationDetailsSeatManagementSetting SeatManagementSetting { get; set; } + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plan_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CopilotOrganizationDetailsPlanTypeJsonConverter))] + public global::G.CopilotOrganizationDetailsPlanType? PlanType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs new file mode 100644 index 0000000000..766119a9eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotOrganizationDetailsPlanType.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CopilotOrganizationDetailsPlanType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + public enum CopilotOrganizationDetailsPlanType + { + /// + /// + /// + Business, + /// + /// + /// + Enterprise, + /// + /// + /// + Unknown, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CopilotOrganizationDetailsPlanTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CopilotOrganizationDetailsPlanType value) + { + return value switch + { + CopilotOrganizationDetailsPlanType.Business => "business", + CopilotOrganizationDetailsPlanType.Enterprise => "enterprise", + CopilotOrganizationDetailsPlanType.Unknown => "unknown", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CopilotOrganizationDetailsPlanType? ToEnum(string value) + { + return value switch + { + "business" => CopilotOrganizationDetailsPlanType.Business, + "enterprise" => CopilotOrganizationDetailsPlanType.Enterprise, + "unknown" => CopilotOrganizationDetailsPlanType.Unknown, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetails.g.verified.cs index 4158e3194b..b7dfbb34d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetails.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetails.g.verified.cs @@ -12,18 +12,24 @@ namespace G public sealed partial class CopilotSeatDetails { /// - /// The assignee that has been granted access to GitHub Copilot. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory3))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OneOf Assignee { get; set; } + public required global::G.SimpleUser Assignee { get; set; } /// - /// The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually. + /// A GitHub organization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public global::G.NullableOrganizationSimple? Organization { get; set; } + + /// + /// The team through which the assignee is granted access to GitHub Copilot, if applicable. /// [global::System.Text.Json.Serialization.JsonPropertyName("assigning_team")] - public global::G.Team? AssigningTeam { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] + public global::G.OneOf? AssigningTeam { get; set; } /// /// The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle. @@ -56,6 +62,13 @@ public sealed partial class CopilotSeatDetails [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] public global::System.DateTime? UpdatedAt { get; set; } + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plan_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CopilotSeatDetailsPlanTypeJsonConverter))] + public global::G.CopilotSeatDetailsPlanType? PlanType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs new file mode 100644 index 0000000000..5562f054f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CopilotSeatDetailsPlanType.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.CopilotSeatDetailsPlanType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Copilot plan of the organization, or the parent enterprise, when applicable. + /// + public enum CopilotSeatDetailsPlanType + { + /// + /// + /// + Business, + /// + /// + /// + Enterprise, + /// + /// + /// + Unknown, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CopilotSeatDetailsPlanTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CopilotSeatDetailsPlanType value) + { + return value switch + { + CopilotSeatDetailsPlanType.Business => "business", + CopilotSeatDetailsPlanType.Enterprise => "enterprise", + CopilotSeatDetailsPlanType.Unknown => "unknown", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CopilotSeatDetailsPlanType? ToEnum(string value) + { + return value switch + { + "business" => CopilotSeatDetailsPlanType.Business, + "enterprise" => CopilotSeatDetailsPlanType.Enterprise, + "unknown" => CopilotSeatDetailsPlanType.Unknown, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomProperty.g.verified.cs similarity index 85% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomProperty.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomProperty.g.verified.cs index f5671fd564..40906f41f7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomProperty.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgCustomProperty.g.cs +//HintName: G.Models.CustomProperty.g.cs #pragma warning disable CS0618 // Type or member is obsolete @@ -9,7 +9,7 @@ namespace G /// /// Custom property defined on an organization /// - public sealed partial class OrgCustomProperty + public sealed partial class CustomProperty { /// /// The name of the property @@ -18,14 +18,20 @@ public sealed partial class OrgCustomProperty [global::System.Text.Json.Serialization.JsonRequired] public required string PropertyName { get; set; } + /// + /// The URL that can be used to fetch, update, or delete info about this property via the API. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + /// /// The type of the value for the property
/// Example: single_select ///
[global::System.Text.Json.Serialization.JsonPropertyName("value_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OrgCustomPropertyValueTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CustomPropertyValueTypeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrgCustomPropertyValueType ValueType { get; set; } + public required global::G.CustomPropertyValueType ValueType { get; set; } /// /// Whether the property is required. @@ -58,8 +64,8 @@ public sealed partial class OrgCustomProperty /// Example: org_actors /// [global::System.Text.Json.Serialization.JsonPropertyName("values_editable_by")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OrgCustomPropertyValuesEditableByJsonConverter))] - public global::G.OrgCustomPropertyValuesEditableBy? ValuesEditableBy { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.CustomPropertyValuesEditableByJsonConverter))] + public global::G.CustomPropertyValuesEditableBy? ValuesEditableBy { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -98,14 +104,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.OrgCustomProperty? FromJson( + public static global::G.CustomProperty? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.OrgCustomProperty), - jsonSerializerContext) as global::G.OrgCustomProperty; + typeof(global::G.CustomProperty), + jsonSerializerContext) as global::G.CustomProperty; } /// @@ -115,11 +121,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgCustomProperty? FromJson( + public static global::G.CustomProperty? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValueType.g.verified.cs new file mode 100644 index 0000000000..15fbc2429c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValueType.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: G.Models.CustomPropertyValueType.g.cs + +#nullable enable + +namespace G +{ + /// + /// The type of the value for the property
+ /// Example: single_select + ///
+ public enum CustomPropertyValueType + { + /// + /// + /// + String, + /// + /// + /// + SingleSelect, + /// + /// + /// + MultiSelect, + /// + /// + /// + TrueFalse, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CustomPropertyValueTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CustomPropertyValueType value) + { + return value switch + { + CustomPropertyValueType.String => "string", + CustomPropertyValueType.SingleSelect => "single_select", + CustomPropertyValueType.MultiSelect => "multi_select", + CustomPropertyValueType.TrueFalse => "true_false", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CustomPropertyValueType? ToEnum(string value) + { + return value switch + { + "string" => CustomPropertyValueType.String, + "single_select" => CustomPropertyValueType.SingleSelect, + "multi_select" => CustomPropertyValueType.MultiSelect, + "true_false" => CustomPropertyValueType.TrueFalse, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs similarity index 57% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs index 7e20ea1b4f..e758f629ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgCustomPropertyValuesEditableBy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CustomPropertyValuesEditableBy.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgCustomPropertyValuesEditableBy.g.cs +//HintName: G.Models.CustomPropertyValuesEditableBy.g.cs #nullable enable @@ -8,7 +8,7 @@ namespace G /// Who can edit the values of the property
/// Example: org_actors ///
- public enum OrgCustomPropertyValuesEditableBy + public enum CustomPropertyValuesEditableBy { /// /// @@ -23,29 +23,29 @@ public enum OrgCustomPropertyValuesEditableBy /// /// Enum extensions to do fast conversions without the reflection. /// - public static class OrgCustomPropertyValuesEditableByExtensions + public static class CustomPropertyValuesEditableByExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this OrgCustomPropertyValuesEditableBy value) + public static string ToValueString(this CustomPropertyValuesEditableBy value) { return value switch { - OrgCustomPropertyValuesEditableBy.OrgActors => "org_actors", - OrgCustomPropertyValuesEditableBy.OrgAndRepoActors => "org_and_repo_actors", + CustomPropertyValuesEditableBy.OrgActors => "org_actors", + CustomPropertyValuesEditableBy.OrgAndRepoActors => "org_and_repo_actors", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static OrgCustomPropertyValuesEditableBy? ToEnum(string value) + public static CustomPropertyValuesEditableBy? ToEnum(string value) { return value switch { - "org_actors" => OrgCustomPropertyValuesEditableBy.OrgActors, - "org_and_repo_actors" => OrgCustomPropertyValuesEditableBy.OrgAndRepoActors, + "org_actors" => CustomPropertyValuesEditableBy.OrgActors, + "org_and_repo_actors" => CustomPropertyValuesEditableBy.OrgAndRepoActors, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeverities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeverities.g.verified.cs new file mode 100644 index 0000000000..e8a6b22294 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeverities.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.CvssSeverities.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeverities + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_v3")] + public global::G.CvssSeveritiesCvssV3? CvssV3 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_v4")] + public global::G.CvssSeveritiesCvssV4? CvssV4 { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CvssSeverities? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CvssSeverities), + jsonSerializerContext) as global::G.CvssSeverities; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeverities? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs new file mode 100644 index 0000000000..51514c3428 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV3.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.CvssSeveritiesCvssV3.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeveritiesCvssV3 + { + /// + /// The CVSS 3 vector string. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vector_string")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? VectorString { get; set; } + + /// + /// The CVSS 3 score.
+ /// Included only in responses + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("score")] + public double? Score { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CvssSeveritiesCvssV3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CvssSeveritiesCvssV3), + jsonSerializerContext) as global::G.CvssSeveritiesCvssV3; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeveritiesCvssV3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs new file mode 100644 index 0000000000..ca36230c89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.CvssSeveritiesCvssV4.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.CvssSeveritiesCvssV4.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CvssSeveritiesCvssV4 + { + /// + /// The CVSS 4 vector string. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vector_string")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? VectorString { get; set; } + + /// + /// The CVSS 4 score.
+ /// Included only in responses + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("score")] + public double? Score { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.CvssSeveritiesCvssV4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.CvssSeveritiesCvssV4), + jsonSerializerContext) as global::G.CvssSeveritiesCvssV4; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.CvssSeveritiesCvssV4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs index 9325cc1bee..33567990b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependabotAlertSecurityAdvisory.g.verified.cs @@ -60,6 +60,12 @@ public sealed partial class DependabotAlertSecurityAdvisory [global::System.Text.Json.Serialization.JsonPropertyName("cvss")] public global::G.DependabotAlertSecurityAdvisoryCvss Cvss { get; set; } = default!; + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// Details for the advisory pertaining to Common Weakness Enumeration.
/// Included only in responses diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs index 9979955930..25abbca4c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DependencyGraphSpdxSbomSbomPackage.g.verified.cs @@ -69,6 +69,13 @@ public sealed partial class DependencyGraphSpdxSbomSbomPackage [global::System.Text.Json.Serialization.JsonPropertyName("supplier")] public string? Supplier { get; set; } + /// + /// The copyright holders of the package, and any dates present with those notices, if available.
+ /// Example: Copyright (c) 1985 GitHub.com + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("copyrightText")] + public string? CopyrightText { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Deployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Deployment.g.verified.cs index 62ba6ea8c1..86ad78724f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Deployment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Deployment.g.verified.cs @@ -20,11 +20,11 @@ public sealed partial class Deployment /// /// Unique identifier of the deployment
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOkRlcGxveW1lbnQx diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DeploymentStatus.g.verified.cs index 8c0c82ca17..f80a550d6e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DeploymentStatus.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class DeploymentStatus public required string Url { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDE2OkRlcGxveW1lbnRTdGF0dXMx diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Discussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Discussion.g.verified.cs index badb95163c..9fb4778fa4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Discussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Discussion.g.verified.cs @@ -167,6 +167,12 @@ public sealed partial class Discussion [global::System.Text.Json.Serialization.JsonRequired] public required global::G.DiscussionUser? User { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DiscussionUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DiscussionUser.g.verified.cs index c9421cfeb7..a4ccabd2da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DiscussionUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.DiscussionUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class DiscussionUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.EnterpriseTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.EnterpriseTeam.g.verified.cs new file mode 100644 index 0000000000..9931ed8848 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.EnterpriseTeam.g.verified.cs @@ -0,0 +1,145 @@ +//HintName: G.Models.EnterpriseTeam.g.cs + +#nullable enable + +namespace G +{ + /// + /// Group of enterprise owners and/or members + /// + public sealed partial class EnterpriseTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Example: disabled | all + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sync_to_organizations")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SyncToOrganizations { get; set; } + + /// + /// Example: 1 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group_id")] + public int? GroupId { get; set; } + + /// + /// Example: https://github.com/enterprises/dc/teams/justice-league + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.EnterpriseTeam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.EnterpriseTeam), + jsonSerializerContext) as global::G.EnterpriseTeam; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.EnterpriseTeam? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Environment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Environment.g.verified.cs index 2beac7adac..c106169db0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Environment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Environment.g.verified.cs @@ -13,11 +13,11 @@ public sealed partial class Environment { /// /// The id of the environment.
- /// Example: 56780428 + /// Example: 56780428L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.FullRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.FullRepository.g.verified.cs index e353036976..1ab4e2dc10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.FullRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.FullRepository.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class FullRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GitCreateCommitRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GitCreateCommitRequest.g.verified.cs index e4052fac0a..640f044d16 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GitCreateCommitRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GitCreateCommitRequest.g.verified.cs @@ -24,7 +24,7 @@ public sealed partial class GitCreateCommitRequest public required string Tree { get; set; } /// - /// The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. + /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. /// [global::System.Text.Json.Serialization.JsonPropertyName("parents")] public global::System.Collections.Generic.IList? Parents { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisory.g.verified.cs index c62c4463f1..42a23efe38 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisory.g.verified.cs @@ -144,6 +144,12 @@ public sealed partial class GlobalAdvisory [global::System.Text.Json.Serialization.JsonRequired] public required global::G.GlobalAdvisoryCvss? Cvss { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// @@ -151,6 +157,12 @@ public sealed partial class GlobalAdvisory [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList? Cwes { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("epss")] + public global::G.GlobalAdvisoryEpss? Epss { get; set; } + /// /// The users who contributed to the advisory.
/// Included only in responses diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs new file mode 100644 index 0000000000..487b0db17a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GlobalAdvisoryEpss.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.GlobalAdvisoryEpss.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class GlobalAdvisoryEpss + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("percentage")] + public double? Percentage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("percentile")] + public double? Percentile { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.GlobalAdvisoryEpss? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.GlobalAdvisoryEpss), + jsonSerializerContext) as global::G.GlobalAdvisoryEpss; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.GlobalAdvisoryEpss? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKey.g.verified.cs index 052aea68c7..41d40c941f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKey.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class GpgKey { /// - /// Example: 3 + /// Example: 3L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: Octocat's GPG Key diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKeySubkey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKeySubkey.g.verified.cs index 01f4456234..ad97cf0d24 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKeySubkey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.GpgKeySubkey.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class GpgKeySubkey /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDelivery.g.verified.cs index 4f3d1cdcad..0e4eb155aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDelivery.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDelivery.g.verified.cs @@ -96,6 +96,12 @@ public sealed partial class HookDelivery [global::System.Text.Json.Serialization.JsonRequired] public required int? RepositoryId { get; set; } + /// + /// Time when the webhook delivery was throttled. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("throttled_at")] + public global::System.DateTime? ThrottledAt { get; set; } + /// /// The URL target of the delivery.
/// Example: https://www.example.com diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDeliveryItem.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDeliveryItem.g.verified.cs index f08dfd0eba..2c747c4eb5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDeliveryItem.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.HookDeliveryItem.g.verified.cs @@ -96,6 +96,12 @@ public sealed partial class HookDeliveryItem [global::System.Text.Json.Serialization.JsonRequired] public required int? RepositoryId { get; set; } + /// + /// Time when the webhook delivery was throttled. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("throttled_at")] + public global::System.DateTime? ThrottledAt { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Integration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Integration.g.verified.cs index 5a18bca5c5..6d9b13dcfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Integration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Integration.g.verified.cs @@ -31,6 +31,12 @@ public sealed partial class Integration [global::System.Text.Json.Serialization.JsonRequired] public required string NodeId { get; set; } + /// + /// Example: "Iv1.25b5d1e65ffc4022" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// A GitHub user. /// @@ -103,12 +109,6 @@ public sealed partial class Integration [global::System.Text.Json.Serialization.JsonPropertyName("installations_count")] public int? InstallationsCount { get; set; } - /// - /// Example: "Iv1.25b5d1e65ffc4022" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] - public string? ClientId { get; set; } - /// /// Example: "1d4b2097ac622ba702d19de498f005747a8b21d3" /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Key.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Key.g.verified.cs index 29695dce5f..b159ee0202 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Key.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Key.g.verified.cs @@ -21,7 +21,7 @@ public sealed partial class Key ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Label.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Label.g.verified.cs index a34317d79c..6d40c2ceda 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Label.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Label.g.verified.cs @@ -10,6 +10,7 @@ namespace G public sealed partial class Label { /// + /// Unique identifier for the label.
/// Example: 208045946L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] @@ -40,6 +41,7 @@ public sealed partial class Label public required string Name { get; set; } /// + /// Optional description of the label, such as its purpose.
/// Example: Something isn't working ///
[global::System.Text.Json.Serialization.JsonPropertyName("description")] @@ -55,6 +57,7 @@ public sealed partial class Label public required string Color { get; set; } /// + /// Whether this label comes by default in a new repository.
/// Example: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("default")] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Migration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Migration.g.verified.cs index d27ec4332e..d7148217d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Migration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Migration.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class Migration { /// - /// Example: 79 + /// Example: 79L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// A GitHub user. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs index ad227058dc..71df13c3e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.MinimalRepository.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class MinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableCollaborator.g.verified.cs index 3cce99219c..07a600cf16 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableCollaborator.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class NullableCollaborator public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableIntegration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableIntegration.g.verified.cs index 3eaf33e21b..782674a112 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableIntegration.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableIntegration.g.verified.cs @@ -31,6 +31,12 @@ public sealed partial class NullableIntegration [global::System.Text.Json.Serialization.JsonRequired] public required string NodeId { get; set; } + /// + /// Example: "Iv1.25b5d1e65ffc4022" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// A GitHub user. /// @@ -103,12 +109,6 @@ public sealed partial class NullableIntegration [global::System.Text.Json.Serialization.JsonPropertyName("installations_count")] public int? InstallationsCount { get; set; } - /// - /// Example: "Iv1.25b5d1e65ffc4022" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] - public string? ClientId { get; set; } - /// /// Example: "1d4b2097ac622ba702d19de498f005747a8b21d3" /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableMinimalRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableMinimalRepository.g.verified.cs index 488cea1feb..1fab16c880 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableMinimalRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableMinimalRepository.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class NullableMinimalRepository { /// - /// Example: 1296269 + /// Example: 1296269L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Organization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableOrganizationSimple.g.verified.cs similarity index 54% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Organization.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableOrganizationSimple.g.verified.cs index d4c409dce9..f4376d1b3a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Organization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableOrganizationSimple.g.verified.cs @@ -1,217 +1,98 @@ -//HintName: G.Models.Organization.g.cs +//HintName: G.Models.NullableOrganizationSimple.g.cs #nullable enable namespace G { /// - /// GitHub account for managing multiple users, teams, and repositories + /// A GitHub organization. /// - public sealed partial class Organization + public sealed partial class NullableOrganizationSimple { /// - /// Unique login name of the organization
- /// Example: new-org + /// Example: github ///
[global::System.Text.Json.Serialization.JsonPropertyName("login")] [global::System.Text.Json.Serialization.JsonRequired] public required string Login { get; set; } /// - /// URL for the organization
- /// Example: https://api.github.com/orgs/github - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// + /// Example: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] public required int Id { get; set; } /// - /// + /// Example: MDEyOk9yZ2FuaXphdGlvbjE= /// [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] [global::System.Text.Json.Serialization.JsonRequired] public required string NodeId { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Example: https://api.github.com/orgs/github/repos /// [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string ReposUrl { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github/events /// [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string EventsUrl { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github/hooks /// [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string HooksUrl { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github/issues /// [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string IssuesUrl { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github/members{/member} /// [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string MembersUrl { get; set; } /// - /// + /// Example: https://api.github.com/orgs/github/public_members{/member} /// [global::System.Text.Json.Serialization.JsonPropertyName("public_members_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string PublicMembersUrl { get; set; } /// - /// + /// Example: https://github.com/images/error/octocat_happy.gif /// [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] [global::System.Text.Json.Serialization.JsonRequired] public required string AvatarUrl { get; set; } /// - /// + /// Example: A great organization /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] [global::System.Text.Json.Serialization.JsonRequired] public required string? Description { get; set; } - /// - /// Display blog url for the organization
- /// Example: blog.example-org.com - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("blog")] - public string? Blog { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Display name for the organization
- /// Example: New Org - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Display company name for the organization
- /// Example: Acme corporation - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("company")] - public string? Company { get; set; } - - /// - /// Display location for the organization
- /// Example: Berlin, Germany - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("location")] - public string? Location { get; set; } - - /// - /// Display email for the organization
- /// Example: org@example.com - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// Specifies if organization projects are enabled for this org - /// - [global::System.Text.Json.Serialization.JsonPropertyName("has_organization_projects")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasOrganizationProjects { get; set; } - - /// - /// Specifies if repository projects are enabled for repositories that belong to this org - /// - [global::System.Text.Json.Serialization.JsonPropertyName("has_repository_projects")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasRepositoryProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("is_verified")] - public bool? IsVerified { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("public_repos")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int PublicRepos { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("public_gists")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int PublicGists { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Followers { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Following { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("plan")] - public global::G.OrganizationPlan? Plan { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -249,14 +130,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.Organization? FromJson( + public static global::G.NullableOrganizationSimple? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.Organization), - jsonSerializerContext) as global::G.Organization; + typeof(global::G.NullableOrganizationSimple), + jsonSerializerContext) as global::G.NullableOrganizationSimple; } /// @@ -266,11 +147,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.Organization? FromJson( + public static global::G.NullableOrganizationSimple? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepository.g.verified.cs index 13855fa4bc..a240b1f727 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepository.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class NullableRepository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs index 2e5dd51f82..56382dd936 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableRepositoryWebhooks.g.verified.cs @@ -12,11 +12,11 @@ public sealed partial class NullableRepositoryWebhooks { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs index a6841435f6..05eee21926 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.NullableSimpleUser.g.verified.cs @@ -29,11 +29,11 @@ public sealed partial class NullableSimpleUser public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgRulesetConditions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgRulesetConditions.g.verified.cs index 7f258c19ce..6ebcda9d4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgRulesetConditions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgRulesetConditions.g.verified.cs @@ -7,7 +7,9 @@ namespace G { /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
public readonly partial struct OrgRulesetConditions : global::System.IEquatable { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFull.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFull.g.verified.cs index 1302a434e4..3241262fb1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFull.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationFull.g.verified.cs @@ -215,12 +215,6 @@ public sealed partial class OrganizationFull [global::System.Text.Json.Serialization.JsonPropertyName("disk_usage")] public int? DiskUsage { get; set; } - /// - /// Example: 8 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("collaborators")] - public int? Collaborators { get; set; } - /// /// Example: org@example.com /// @@ -306,56 +300,63 @@ public sealed partial class OrganizationFull public bool? WebCommitSignoffRequired { get; set; } /// + /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
/// Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("advanced_security_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AdvancedSecurityEnabledForNewRepositories { get; set; } /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to
- /// this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependabot_alerts_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotAlertsEnabledForNewRepositories { get; set; } /// - /// Whether dependabot security updates are automatically enabled for new repositories and repositories transferred
- /// to this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependabot_security_updates_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotSecurityUpdatesEnabledForNewRepositories { get; set; } /// - /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this
- /// organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependencyGraphEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this
- /// organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning push protection is automatically enabled for new repositories and repositories
- /// transferred to this organization.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.
/// This field is only visible to organization owners or members of a team with the security manager role.
/// Example: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningPushProtectionEnabledForNewRepositories { get; set; } /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationInvitation.g.verified.cs index 86c844c61a..9e62460c97 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationInvitation.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class OrganizationInvitation /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationRole.g.verified.cs index 0525c94896..143021c020 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationRole.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class OrganizationRole /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// The name of the role. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs index b107dce1e1..73ea4f1b28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationSecretScanningAlert.g.verified.cs @@ -84,7 +84,7 @@ public sealed partial class OrganizationSecretScanningAlert /// /// User-friendly name for the detected secret, matching the `secret_type`.
- /// For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_type_display_name")] public string? SecretTypeDisplayName { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs index 8f52ed9a3d..d7d714ac83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertiesRequest.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class OrgsCreateOrUpdateCustomPropertiesRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("properties")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Properties { get; set; } + public required global::System.Collections.Generic.IList Properties { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs index 816ddfc5fa..3670cbc508 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateOrUpdateCustomPropertyRequestValueType.g.verified.cs @@ -18,6 +18,14 @@ public enum OrgsCreateOrUpdateCustomPropertyRequestValueType /// /// SingleSelect, + /// + /// + /// + MultiSelect, + /// + /// + /// + TrueFalse, } /// @@ -34,6 +42,8 @@ public static string ToValueString(this OrgsCreateOrUpdateCustomPropertyRequestV { OrgsCreateOrUpdateCustomPropertyRequestValueType.String => "string", OrgsCreateOrUpdateCustomPropertyRequestValueType.SingleSelect => "single_select", + OrgsCreateOrUpdateCustomPropertyRequestValueType.MultiSelect => "multi_select", + OrgsCreateOrUpdateCustomPropertyRequestValueType.TrueFalse => "true_false", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -46,6 +56,8 @@ public static string ToValueString(this OrgsCreateOrUpdateCustomPropertyRequestV { "string" => OrgsCreateOrUpdateCustomPropertyRequestValueType.String, "single_select" => OrgsCreateOrUpdateCustomPropertyRequestValueType.SingleSelect, + "multi_select" => OrgsCreateOrUpdateCustomPropertyRequestValueType.MultiSelect, + "true_false" => OrgsCreateOrUpdateCustomPropertyRequestValueType.TrueFalse, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..473acd0957 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponse.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.OrgsListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.OrgsListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.OrgsListAttestationsResponse), + jsonSerializerContext) as global::G.OrgsListAttestationsResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..69d2096508 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::G.OrgsListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.OrgsListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.OrgsListAttestationsResponseAttestation), + jsonSerializerContext) as global::G.OrgsListAttestationsResponseAttestation; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs new file mode 100644 index 0000000000..bf0a6ad649 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundle.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class OrgsListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.OrgsListAttestationsResponseAttestationBundle? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.OrgsListAttestationsResponseAttestationBundle), + jsonSerializerContext) as global::G.OrgsListAttestationsResponseAttestationBundle; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundle? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..9205fa16b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.OrgsListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.OrgsListAttestationsResponseAttestationBundleDsseEnvelope), + jsonSerializerContext) as global::G.OrgsListAttestationsResponseAttestationBundleDsseEnvelope; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..6c69015c4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.OrgsListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.OrgsListAttestationsResponseAttestationBundleVerificationMaterial), + jsonSerializerContext) as global::G.OrgsListAttestationsResponseAttestationBundleVerificationMaterial; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.OrgsListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsUpdateRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsUpdateRequest.g.verified.cs index 3aa2016c00..258da2e1d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsUpdateRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsUpdateRequest.g.verified.cs @@ -146,51 +146,63 @@ public sealed partial class OrgsUpdateRequest public string? Blog { get; set; } /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("advanced_security_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? AdvancedSecurityEnabledForNewRepositories { get; set; } /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependabot_alerts_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotAlertsEnabledForNewRepositories { get; set; } /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependabot_security_updates_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependabotSecurityUpdatesEnabledForNewRepositories { get; set; } /// - /// Whether dependency graph is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("dependency_graph_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? DependencyGraphEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningEnabledForNewRepositories { get; set; } /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
+ /// **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
+ /// Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.
/// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection_enabled_for_new_repositories")] + [global::System.Obsolete("This property marked as deprecated.")] public bool? SecretScanningPushProtectionEnabledForNewRepositories { get; set; } /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs index c9677bfcc4..8d9a09ba4f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PendingDeploymentEnvironment.g.verified.cs @@ -11,10 +11,10 @@ public sealed partial class PendingDeploymentEnvironment { /// /// The id of the environment.
- /// Example: 56780428 + /// Example: 56780428L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PrivateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PrivateUser.g.verified.cs index fb7e18c642..bfc46f581b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PrivateUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PrivateUser.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class PrivateUser public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectCard.g.verified.cs index 6b14548c74..412af19145 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectCard.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectCard.g.verified.cs @@ -18,11 +18,11 @@ public sealed partial class ProjectCard /// /// The project card's ID
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDExOlByb2plY3RDYXJkMTQ3OA== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs new file mode 100644 index 0000000000..e460206f32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2IterationSetting.g.verified.cs @@ -0,0 +1,102 @@ +//HintName: G.Models.ProjectsV2IterationSetting.g.cs + +#nullable enable + +namespace G +{ + /// + /// An iteration setting for an iteration field + /// + public sealed partial class ProjectsV2IterationSetting + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration")] + public double? Duration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_date")] + public string? StartDate { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ProjectsV2IterationSetting? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ProjectsV2IterationSetting), + jsonSerializerContext) as global::G.ProjectsV2IterationSetting; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ProjectsV2IterationSetting? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs similarity index 81% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs index 727d98e08d..f1130ec50b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsCreateCustomOrganizationRoleRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2SingleSelectOption.g.verified.cs @@ -1,33 +1,39 @@ -//HintName: G.Models.OrgsCreateCustomOrganizationRoleRequest.g.cs +//HintName: G.Models.ProjectsV2SingleSelectOption.g.cs #nullable enable namespace G { /// - /// + /// An option for a single select field /// - public sealed partial class OrgsCreateCustomOrganizationRoleRequest + public sealed partial class ProjectsV2SingleSelectOption { /// - /// The name of the custom role. + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] public required string Name { get; set; } /// - /// A short description about the intended usage of this role or what permissions it grants. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } /// - /// A list of additional permissions included in this role. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Permissions { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -66,14 +72,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.OrgsCreateCustomOrganizationRoleRequest? FromJson( + public static global::G.ProjectsV2SingleSelectOption? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.OrgsCreateCustomOrganizationRoleRequest), - jsonSerializerContext) as global::G.OrgsCreateCustomOrganizationRoleRequest; + typeof(global::G.ProjectsV2SingleSelectOption), + jsonSerializerContext) as global::G.ProjectsV2SingleSelectOption; } /// @@ -83,11 +89,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgsCreateCustomOrganizationRoleRequest? FromJson( + public static global::G.ProjectsV2SingleSelectOption? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs new file mode 100644 index 0000000000..55c3776973 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdate.g.verified.cs @@ -0,0 +1,142 @@ +//HintName: G.Models.ProjectsV2StatusUpdate.g.cs + +#nullable enable + +namespace G +{ + /// + /// An status update belonging to a project + /// + public sealed partial class ProjectsV2StatusUpdate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_node_id")] + public string? ProjectNodeId { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + public global::G.SimpleUser? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ProjectsV2StatusUpdateStatusJsonConverter))] + public global::G.ProjectsV2StatusUpdateStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_date")] + public global::System.DateTime? StartDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("target_date")] + public global::System.DateTime? TargetDate { get; set; } + + /// + /// Body of the status update
+ /// Example: The project is off to a great start! + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public string? Body { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ProjectsV2StatusUpdate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ProjectsV2StatusUpdate), + jsonSerializerContext) as global::G.ProjectsV2StatusUpdate; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ProjectsV2StatusUpdate? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..6e3159cca9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ProjectsV2StatusUpdateStatus.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.ProjectsV2StatusUpdateStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum ProjectsV2StatusUpdateStatus + { + /// + /// + /// + INACTIVE, + /// + /// + /// + ONTRACK, + /// + /// + /// + ATRISK, + /// + /// + /// + OFFTRACK, + /// + /// + /// + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectsV2StatusUpdateStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectsV2StatusUpdateStatus value) + { + return value switch + { + ProjectsV2StatusUpdateStatus.INACTIVE => "INACTIVE", + ProjectsV2StatusUpdateStatus.ONTRACK => "ON_TRACK", + ProjectsV2StatusUpdateStatus.ATRISK => "AT_RISK", + ProjectsV2StatusUpdateStatus.OFFTRACK => "OFF_TRACK", + ProjectsV2StatusUpdateStatus.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectsV2StatusUpdateStatus? ToEnum(string value) + { + return value switch + { + "INACTIVE" => ProjectsV2StatusUpdateStatus.INACTIVE, + "ON_TRACK" => ProjectsV2StatusUpdateStatus.ONTRACK, + "AT_RISK" => ProjectsV2StatusUpdateStatus.ATRISK, + "OFF_TRACK" => ProjectsV2StatusUpdateStatus.OFFTRACK, + "COMPLETE" => ProjectsV2StatusUpdateStatus.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PublicUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PublicUser.g.verified.cs index 665d1b5163..7b7ca93640 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PublicUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PublicUser.g.verified.cs @@ -21,7 +21,7 @@ public sealed partial class PublicUser ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequest.g.verified.cs index 5fae454b47..bf70afb89e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequest.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class PullRequest public required string Url { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDExOlB1bGxSZXF1ZXN0MQ== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestBaseUser.g.verified.cs index 13dba278a7..52f363f60a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestBaseUser.g.verified.cs @@ -63,7 +63,7 @@ public sealed partial class PullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestHeadUser.g.verified.cs index 4c9d61ecde..9919349ad8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestHeadUser.g.verified.cs @@ -63,7 +63,7 @@ public sealed partial class PullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimal.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimal.g.verified.cs index 6533afd4ef..d250b6572a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimal.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimal.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class PullRequestMinimal /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs index 7f7190e141..3770eb2ab4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalBaseRepo.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class PullRequestMinimalBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs index bfc9a68ae0..6f07866686 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestMinimalHeadRepo.g.verified.cs @@ -14,7 +14,7 @@ public sealed partial class PullRequestMinimalHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReview.g.verified.cs index 6b03b9c627..721d6778f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReview.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class PullRequestReview { /// /// Unique identifier of the review
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReviewComment.g.verified.cs index ffda203e57..d47f5ccec9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestReviewComment.g.verified.cs @@ -19,19 +19,19 @@ public sealed partial class PullRequestReviewComment /// /// The ID of the pull request review to which the comment belongs.
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int? PullRequestReviewId { get; set; } + public required long? PullRequestReviewId { get; set; } /// /// The ID of the pull request review comment.
- /// Example: 1 + /// Example: 1L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// The node ID of the pull request review comment.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestSimple.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestSimple.g.verified.cs index 0b5ddf478d..0ec1266df0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestSimple.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.PullRequestSimple.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class PullRequestSimple public required string Url { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDExOlB1bGxSZXF1ZXN0MQ== diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs similarity index 95% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs index 86316a5629..e998c3b4fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposAddAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposAddAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposAddAppAccessRestrictionsRequest2 + public sealed partial class ReposAddAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposAddAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposAddAppAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposAddAppAccessRestrictionsRequest2; + typeof(global::G.ReposAddAppAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposAddAppAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposAddAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs index da43232d05..f58c6b3c8c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposAddUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposAddUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposAddUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposAddUserAccessRestrictionsRequest2 + public sealed partial class ReposAddUserAccessRestrictionsRequest { /// /// The username for users @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposAddUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposAddUserAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposAddUserAccessRestrictionsRequest2; + typeof(global::G.ReposAddUserAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposAddUserAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposAddUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposAddUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs new file mode 100644 index 0000000000..79c06153aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequest.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.ReposCreateAttestationRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequest + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.ReposCreateAttestationRequestBundle Bundle { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposCreateAttestationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposCreateAttestationRequest), + jsonSerializerContext) as global::G.ReposCreateAttestationRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs new file mode 100644 index 0000000000..4ae3d0a2cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundle.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class ReposCreateAttestationRequestBundle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposCreateAttestationRequestBundle? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposCreateAttestationRequestBundle), + jsonSerializerContext) as global::G.ReposCreateAttestationRequestBundle; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundle? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..00b4ca4126 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposCreateAttestationRequestBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposCreateAttestationRequestBundleDsseEnvelope), + jsonSerializerContext) as global::G.ReposCreateAttestationRequestBundleDsseEnvelope; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..59012b2129 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposCreateAttestationRequestBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposCreateAttestationRequestBundleVerificationMaterial), + jsonSerializerContext) as global::G.ReposCreateAttestationRequestBundleVerificationMaterial; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationRequestBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs new file mode 100644 index 0000000000..11e6497d16 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateAttestationResponse.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.ReposCreateAttestationResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationResponse + { + /// + /// The ID of the attestation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposCreateAttestationResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposCreateAttestationResponse), + jsonSerializerContext) as global::G.ReposCreateAttestationResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposCreateAttestationResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs index cfa961c2c1..777a6b02ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateDeploymentStatusRequest.g.verified.cs @@ -18,7 +18,9 @@ public sealed partial class ReposCreateDeploymentStatusRequest public required global::G.ReposCreateDeploymentStatusRequestState State { get; set; } /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("target_url")] public string? TargetUrl { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs index 00029f4718..d3c0d5129a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequest.g.verified.cs @@ -136,6 +136,7 @@ public sealed partial class ReposCreateForAuthenticatedUserRequest public bool? DeleteBranchOnMerge { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -155,6 +156,7 @@ public sealed partial class ReposCreateForAuthenticatedUserRequest public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs index d0d1962d83..66deb4293c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs index 0d526ee1ab..29f0a75181 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs index 3a0992b681..35eb430eaa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequest.g.verified.cs @@ -147,6 +147,7 @@ public sealed partial class ReposCreateInOrgRequest public bool? UseSquashPrTitleAsDefault { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -166,6 +167,7 @@ public sealed partial class ReposCreateInOrgRequest public global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs index e0cbdd6954..7d704a3e6b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs index ffd32cf17a..58c8ae99db 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateInOrgRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs index e81c3c8e24..19d4b0bb62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequest.g.verified.cs @@ -18,11 +18,11 @@ public sealed partial class ReposCreateOrgRulesetRequest /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::System.Text.Json.Serialization.JsonPropertyName("target")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ReposCreateOrgRulesetRequestTargetJsonConverter))] - public global::G.ReposCreateOrgRulesetRequestTarget? Target { get; set; } + public global::G.ReposCreateOrgRulesetRequestTarget? Target { get; set; } = global::G.ReposCreateOrgRulesetRequestTarget.Branch; /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -39,7 +39,9 @@ public sealed partial class ReposCreateOrgRulesetRequest public global::System.Collections.Generic.IList? BypassActors { get; set; } /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
[global::System.Text.Json.Serialization.JsonPropertyName("conditions")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OrgRulesetConditionsJsonConverter))] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs index e3485d9e63..07b5008495 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateOrgRulesetRequestTarget.g.verified.cs @@ -6,7 +6,7 @@ namespace G { /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
public enum ReposCreateOrgRulesetRequestTarget { @@ -19,7 +19,7 @@ public enum ReposCreateOrgRulesetRequestTarget ///
Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// Push, } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs index 02f06780e5..ab5e9aeb08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequest.g.verified.cs @@ -18,11 +18,11 @@ public sealed partial class ReposCreateRepoRulesetRequest /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
[global::System.Text.Json.Serialization.JsonPropertyName("target")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ReposCreateRepoRulesetRequestTargetJsonConverter))] - public global::G.ReposCreateRepoRulesetRequestTarget? Target { get; set; } + public global::G.ReposCreateRepoRulesetRequestTarget? Target { get; set; } = global::G.ReposCreateRepoRulesetRequestTarget.Branch; /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs index addd48329d..247c980a5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposCreateRepoRulesetRequestTarget.g.verified.cs @@ -6,7 +6,7 @@ namespace G { /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch ///
public enum ReposCreateRepoRulesetRequestTarget { @@ -19,7 +19,7 @@ public enum ReposCreateRepoRulesetRequestTarget ///
Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// Push, } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponse.g.verified.cs new file mode 100644 index 0000000000..ef382149db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponse.g.verified.cs @@ -0,0 +1,365 @@ +//HintName: G.Models.ReposGetContentResponse.g.cs +using System.Linq; +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public readonly partial struct ReposGetContentResponse : global::System.IEquatable + { + /// + /// A list of directory items + /// +#if NET6_0_OR_GREATER + public global::System.Collections.Generic.IList? Value1 { get; init; } +#else + public global::System.Collections.Generic.IList? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public ReposGetContentResponse(global::System.Collections.Generic.IList? value) + { + Value1 = value; + } + + /// + /// Content File + /// +#if NET6_0_OR_GREATER + public global::G.ContentFile? File { get; init; } +#else + public global::G.ContentFile? File { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(File))] +#endif + public bool IsFile => File != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentFile value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentFile?(ReposGetContentResponse @this) => @this.File; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentFile? value) + { + File = value; + } + + /// + /// An object describing a symlink + /// +#if NET6_0_OR_GREATER + public global::G.ContentSymlink? Symlink { get; init; } +#else + public global::G.ContentSymlink? Symlink { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Symlink))] +#endif + public bool IsSymlink => Symlink != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentSymlink value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentSymlink?(ReposGetContentResponse @this) => @this.Symlink; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentSymlink? value) + { + Symlink = value; + } + + /// + /// An object describing a submodule + /// +#if NET6_0_OR_GREATER + public global::G.ContentSubmodule? Submodule { get; init; } +#else + public global::G.ContentSubmodule? Submodule { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Submodule))] +#endif + public bool IsSubmodule => Submodule != null; + + /// + /// + /// + public static implicit operator ReposGetContentResponse(global::G.ContentSubmodule value) => new ReposGetContentResponse(value); + + /// + /// + /// + public static implicit operator global::G.ContentSubmodule?(ReposGetContentResponse @this) => @this.Submodule; + + /// + /// + /// + public ReposGetContentResponse(global::G.ContentSubmodule? value) + { + Submodule = value; + } + + /// + /// + /// + public ReposGetContentResponse( + global::System.Collections.Generic.IList? value1, + global::G.ContentFile? file, + global::G.ContentSymlink? symlink, + global::G.ContentSubmodule? submodule + ) + { + Value1 = value1; + File = file; + Symlink = symlink; + Submodule = submodule; + } + + /// + /// + /// + public object? Object => + Submodule as object ?? + Symlink as object ?? + File as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 && !IsFile && !IsSymlink && !IsSubmodule || !IsValue1 && IsFile && !IsSymlink && !IsSubmodule || !IsValue1 && !IsFile && IsSymlink && !IsSubmodule || !IsValue1 && !IsFile && !IsSymlink && IsSubmodule; + } + + /// + /// + /// + public TResult? Match( + global::System.Func?, TResult>? value1 = null, + global::System.Func? file = null, + global::System.Func? symlink = null, + global::System.Func? submodule = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1 && value1 != null) + { + return value1(Value1!); + } + else if (IsFile && file != null) + { + return file(File!); + } + else if (IsSymlink && symlink != null) + { + return symlink(Symlink!); + } + else if (IsSubmodule && submodule != null) + { + return submodule(Submodule!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action?>? value1 = null, + global::System.Action? file = null, + global::System.Action? symlink = null, + global::System.Action? submodule = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsFile) + { + file?.Invoke(File!); + } + else if (IsSymlink) + { + symlink?.Invoke(Symlink!); + } + else if (IsSubmodule) + { + submodule?.Invoke(Submodule!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(global::System.Collections.Generic.IList), + File, + typeof(global::G.ContentFile), + Symlink, + typeof(global::G.ContentSymlink), + Submodule, + typeof(global::G.ContentSubmodule), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ReposGetContentResponse other) + { + return + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(File, other.File) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Symlink, other.Symlink) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Submodule, other.Submodule) + ; + } + + /// + /// + /// + public static bool operator ==(ReposGetContentResponse obj1, ReposGetContentResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ReposGetContentResponse obj1, ReposGetContentResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ReposGetContentResponse o && Equals(o); + } + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposGetContentResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposGetContentResponse), + jsonSerializerContext) as global::G.ReposGetContentResponse?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposGetContentResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs new file mode 100644 index 0000000000..55c1f07b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminator.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.ReposGetContentResponseDiscriminator.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposGetContentResponseDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ReposGetContentResponseDiscriminatorTypeJsonConverter))] + public global::G.ReposGetContentResponseDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposGetContentResponseDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposGetContentResponseDiscriminator), + jsonSerializerContext) as global::G.ReposGetContentResponseDiscriminator; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposGetContentResponseDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs new file mode 100644 index 0000000000..0dbdb46738 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposGetContentResponseDiscriminatorType.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.Models.ReposGetContentResponseDiscriminatorType.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum ReposGetContentResponseDiscriminatorType + { + /// + /// + /// + Array, + /// + /// + /// + File, + /// + /// + /// + Symlink, + /// + /// + /// + Submodule, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposGetContentResponseDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposGetContentResponseDiscriminatorType value) + { + return value switch + { + ReposGetContentResponseDiscriminatorType.Array => "array", + ReposGetContentResponseDiscriminatorType.File => "file", + ReposGetContentResponseDiscriminatorType.Symlink => "symlink", + ReposGetContentResponseDiscriminatorType.Submodule => "submodule", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposGetContentResponseDiscriminatorType? ToEnum(string value) + { + return value switch + { + "array" => ReposGetContentResponseDiscriminatorType.Array, + "file" => ReposGetContentResponseDiscriminatorType.File, + "symlink" => ReposGetContentResponseDiscriminatorType.Symlink, + "submodule" => ReposGetContentResponseDiscriminatorType.Submodule, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..f169ba67eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponse.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.ReposListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposListAttestationsResponse), + jsonSerializerContext) as global::G.ReposListAttestationsResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..eea84f11b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::G.ReposListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposListAttestationsResponseAttestation), + jsonSerializerContext) as global::G.ReposListAttestationsResponseAttestation; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs new file mode 100644 index 0000000000..fa8b427da2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundle.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundle.g.cs + +#nullable enable + +namespace G +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class ReposListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public object? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public object? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposListAttestationsResponseAttestationBundle? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposListAttestationsResponseAttestationBundle), + jsonSerializerContext) as global::G.ReposListAttestationsResponseAttestationBundle; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundle? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..b1e50967ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposListAttestationsResponseAttestationBundleDsseEnvelope), + jsonSerializerContext) as global::G.ReposListAttestationsResponseAttestationBundleDsseEnvelope; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundleDsseEnvelope? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..2d3f8eec64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposListAttestationsResponseAttestationBundleVerificationMaterial), + jsonSerializerContext) as global::G.ReposListAttestationsResponseAttestationBundleVerificationMaterial; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposListAttestationsResponseAttestationBundleVerificationMaterial? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs index b0ff9a031e..a5788216ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposRemoveAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposRemoveAppAccessRestrictionsRequest2 + public sealed partial class ReposRemoveAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposRemoveAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposRemoveAppAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposRemoveAppAccessRestrictionsRequest2; + typeof(global::G.ReposRemoveAppAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposRemoveAppAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposRemoveAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs similarity index 96% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs index 210779c722..a8e5be58a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposRemoveUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposRemoveUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposRemoveUserAccessRestrictionsRequest2 + public sealed partial class ReposRemoveUserAccessRestrictionsRequest { /// /// The username for users @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposRemoveUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposRemoveUserAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposRemoveUserAccessRestrictionsRequest2; + typeof(global::G.ReposRemoveUserAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposRemoveUserAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposRemoveUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposRemoveUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs similarity index 95% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs index bb14eab6cf..8f04085448 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetAppAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposSetAppAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposSetAppAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposSetAppAccessRestrictionsRequest2 + public sealed partial class ReposSetAppAccessRestrictionsRequest { /// /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposSetAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposSetAppAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposSetAppAccessRestrictionsRequest2; + typeof(global::G.ReposSetAppAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposSetAppAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposSetAppAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetAppAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs index e98d2b80c1..7773e381f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposSetUserAccessRestrictionsRequest.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.ReposSetUserAccessRestrictionsRequest2.g.cs +//HintName: G.Models.ReposSetUserAccessRestrictionsRequest.g.cs #nullable enable @@ -7,7 +7,7 @@ namespace G /// /// /// - public sealed partial class ReposSetUserAccessRestrictionsRequest2 + public sealed partial class ReposSetUserAccessRestrictionsRequest { /// /// The username for users @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.ReposSetUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.ReposSetUserAccessRestrictionsRequest2), - jsonSerializerContext) as global::G.ReposSetUserAccessRestrictionsRequest2; + typeof(global::G.ReposSetUserAccessRestrictionsRequest), + jsonSerializerContext) as global::G.ReposSetUserAccessRestrictionsRequest; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.ReposSetUserAccessRestrictionsRequest2? FromJson( + public static global::G.ReposSetUserAccessRestrictionsRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs index 54325292be..8515d2fc3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequest.g.verified.cs @@ -16,8 +16,7 @@ public sealed partial class ReposUpdateOrgRulesetRequest public string? Name { get; set; } /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Text.Json.Serialization.JsonPropertyName("target")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ReposUpdateOrgRulesetRequestTargetJsonConverter))] @@ -37,7 +36,9 @@ public sealed partial class ReposUpdateOrgRulesetRequest public global::System.Collections.Generic.IList? BypassActors { get; set; } /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. ///
[global::System.Text.Json.Serialization.JsonPropertyName("conditions")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OrgRulesetConditionsJsonConverter))] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs index 5f610485f1..a6e7681c28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateOrgRulesetRequestTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
public enum ReposUpdateOrgRulesetRequestTarget { @@ -19,7 +18,7 @@ public enum ReposUpdateOrgRulesetRequestTarget ///
Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// Push, } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs index bd2ac239be..25bd525a73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequest.g.verified.cs @@ -16,8 +16,7 @@ public sealed partial class ReposUpdateRepoRulesetRequest public string? Name { get; set; } /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Text.Json.Serialization.JsonPropertyName("target")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.ReposUpdateRepoRulesetRequestTargetJsonConverter))] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs index 04c82cfd76..1dff5a1f50 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRepoRulesetRequestTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
public enum ReposUpdateRepoRulesetRequestTarget { @@ -19,7 +18,7 @@ public enum ReposUpdateRepoRulesetRequestTarget ///
Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// Push, } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequest.g.verified.cs index 221eac47fa..0441b271c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequest.g.verified.cs @@ -137,6 +137,7 @@ public sealed partial class ReposUpdateRequest public bool? UseSquashPrTitleAsDefault { get; set; } = false; /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -156,6 +157,7 @@ public sealed partial class ReposUpdateRequest public global::G.ReposUpdateRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs index c1b914367f..2f6661ac25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs index 80b7032e63..18448f26ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysis.g.verified.cs @@ -31,6 +31,18 @@ public sealed partial class ReposUpdateRequestSecurityAndAnalysis [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_ai_detection")] + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + + /// + /// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..71367b9d05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + /// + public sealed partial class ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection + { + /// + /// Can be `enabled` or `disabled`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection), + jsonSerializerContext) as global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..ac22e06d13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + /// + public sealed partial class ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// Can be `enabled` or `disabled`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns), + jsonSerializerContext) as global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs index 7b412d0db7..c8f0d72cb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReposUpdateRequestSquashMergeCommitTitle.g.verified.cs @@ -5,6 +5,7 @@ namespace G { /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Repository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Repository.g.verified.cs index 756abed160..5387ca7a57 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Repository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.Repository.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class Repository { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryAdvisory.g.verified.cs index f1fd2c6af7..4e453bac9b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryAdvisory.g.verified.cs @@ -142,6 +142,12 @@ public sealed partial class RepositoryAdvisory [global::System.Text.Json.Serialization.JsonRequired] public required global::G.RepositoryAdvisoryCvss? Cvss { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// Included only in responses /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryInvitation.g.verified.cs index 644254d699..633f5a2f71 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryInvitation.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class RepositoryInvitation { /// /// Unique identifier of the repository invitation.
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Minimal Repository diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRule.g.verified.cs index 27e7b3fb37..b25115d9f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRule.g.verified.cs @@ -157,12 +157,12 @@ public RepositoryRule(global::G.RepositoryRuleRequiredLinearHistory? value) } /// - /// Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. + /// Merges must be performed via a merge queue. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredDeployments? Value5 { get; init; } + public global::G.RepositoryRuleMergeQueue? Value5 { get; init; } #else - public global::G.RepositoryRuleRequiredDeployments? Value5 { get; } + public global::G.RepositoryRuleMergeQueue? Value5 { get; } #endif /// @@ -176,28 +176,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredLinearHistory? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredDeployments value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleMergeQueue value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredDeployments?(RepositoryRule @this) => @this.Value5; + public static implicit operator global::G.RepositoryRuleMergeQueue?(RepositoryRule @this) => @this.Value5; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) + public RepositoryRule(global::G.RepositoryRuleMergeQueue? value) { Value5 = value; } /// - /// Commits pushed to matching refs must have verified signatures. + /// Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredSignatures? Value6 { get; init; } + public global::G.RepositoryRuleRequiredDeployments? Value6 { get; init; } #else - public global::G.RepositoryRuleRequiredSignatures? Value6 { get; } + public global::G.RepositoryRuleRequiredDeployments? Value6 { get; } #endif /// @@ -211,28 +211,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredSignatures value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredDeployments value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredSignatures?(RepositoryRule @this) => @this.Value6; + public static implicit operator global::G.RepositoryRuleRequiredDeployments?(RepositoryRule @this) => @this.Value6; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) + public RepositoryRule(global::G.RepositoryRuleRequiredDeployments? value) { Value6 = value; } /// - /// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + /// Commits pushed to matching refs must have verified signatures. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRulePullRequest? Value7 { get; init; } + public global::G.RepositoryRuleRequiredSignatures? Value7 { get; init; } #else - public global::G.RepositoryRulePullRequest? Value7 { get; } + public global::G.RepositoryRuleRequiredSignatures? Value7 { get; } #endif /// @@ -246,28 +246,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRulePullRequest value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredSignatures value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRulePullRequest?(RepositoryRule @this) => @this.Value7; + public static implicit operator global::G.RepositoryRuleRequiredSignatures?(RepositoryRule @this) => @this.Value7; /// /// /// - public RepositoryRule(global::G.RepositoryRulePullRequest? value) + public RepositoryRule(global::G.RepositoryRuleRequiredSignatures? value) { Value7 = value; } /// - /// Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. + /// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleRequiredStatusChecks? Value8 { get; init; } + public global::G.RepositoryRulePullRequest? Value8 { get; init; } #else - public global::G.RepositoryRuleRequiredStatusChecks? Value8 { get; } + public global::G.RepositoryRulePullRequest? Value8 { get; } #endif /// @@ -281,28 +281,28 @@ public RepositoryRule(global::G.RepositoryRulePullRequest? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRulePullRequest value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleRequiredStatusChecks?(RepositoryRule @this) => @this.Value8; + public static implicit operator global::G.RepositoryRulePullRequest?(RepositoryRule @this) => @this.Value8; /// /// /// - public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) + public RepositoryRule(global::G.RepositoryRulePullRequest? value) { Value8 = value; } /// - /// Prevent users with push access from force pushing to refs. + /// Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleNonFastForward? Value9 { get; init; } + public global::G.RepositoryRuleRequiredStatusChecks? Value9 { get; init; } #else - public global::G.RepositoryRuleNonFastForward? Value9 { get; } + public global::G.RepositoryRuleRequiredStatusChecks? Value9 { get; } #endif /// @@ -316,28 +316,28 @@ public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleNonFastForward value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleNonFastForward?(RepositoryRule @this) => @this.Value9; + public static implicit operator global::G.RepositoryRuleRequiredStatusChecks?(RepositoryRule @this) => @this.Value9; /// /// /// - public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) + public RepositoryRule(global::G.RepositoryRuleRequiredStatusChecks? value) { Value9 = value; } /// - /// Parameters to be used for the commit_message_pattern rule + /// Prevent users with push access from force pushing to refs. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitMessagePattern? Value10 { get; init; } + public global::G.RepositoryRuleNonFastForward? Value10 { get; init; } #else - public global::G.RepositoryRuleCommitMessagePattern? Value10 { get; } + public global::G.RepositoryRuleNonFastForward? Value10 { get; } #endif /// @@ -351,28 +351,28 @@ public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitMessagePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleNonFastForward value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitMessagePattern?(RepositoryRule @this) => @this.Value10; + public static implicit operator global::G.RepositoryRuleNonFastForward?(RepositoryRule @this) => @this.Value10; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) + public RepositoryRule(global::G.RepositoryRuleNonFastForward? value) { Value10 = value; } /// - /// Parameters to be used for the commit_author_email_pattern rule + /// Parameters to be used for the commit_message_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitAuthorEmailPattern? Value11 { get; init; } + public global::G.RepositoryRuleCommitMessagePattern? Value11 { get; init; } #else - public global::G.RepositoryRuleCommitAuthorEmailPattern? Value11 { get; } + public global::G.RepositoryRuleCommitMessagePattern? Value11 { get; } #endif /// @@ -386,28 +386,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitMessagePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitAuthorEmailPattern?(RepositoryRule @this) => @this.Value11; + public static implicit operator global::G.RepositoryRuleCommitMessagePattern?(RepositoryRule @this) => @this.Value11; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitMessagePattern? value) { Value11 = value; } /// - /// Parameters to be used for the committer_email_pattern rule + /// Parameters to be used for the commit_author_email_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCommitterEmailPattern? Value12 { get; init; } + public global::G.RepositoryRuleCommitAuthorEmailPattern? Value12 { get; init; } #else - public global::G.RepositoryRuleCommitterEmailPattern? Value12 { get; } + public global::G.RepositoryRuleCommitAuthorEmailPattern? Value12 { get; } #endif /// @@ -421,28 +421,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleCommitterEmailPattern?(RepositoryRule @this) => @this.Value12; + public static implicit operator global::G.RepositoryRuleCommitAuthorEmailPattern?(RepositoryRule @this) => @this.Value12; /// /// /// - public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitAuthorEmailPattern? value) { Value12 = value; } /// - /// Parameters to be used for the branch_name_pattern rule + /// Parameters to be used for the committer_email_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleBranchNamePattern? Value13 { get; init; } + public global::G.RepositoryRuleCommitterEmailPattern? Value13 { get; init; } #else - public global::G.RepositoryRuleBranchNamePattern? Value13 { get; } + public global::G.RepositoryRuleCommitterEmailPattern? Value13 { get; } #endif /// @@ -456,28 +456,28 @@ public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleBranchNamePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleBranchNamePattern?(RepositoryRule @this) => @this.Value13; + public static implicit operator global::G.RepositoryRuleCommitterEmailPattern?(RepositoryRule @this) => @this.Value13; /// /// /// - public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) + public RepositoryRule(global::G.RepositoryRuleCommitterEmailPattern? value) { Value13 = value; } /// - /// Parameters to be used for the tag_name_pattern rule + /// Parameters to be used for the branch_name_pattern rule /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleTagNamePattern? Value14 { get; init; } + public global::G.RepositoryRuleBranchNamePattern? Value14 { get; init; } #else - public global::G.RepositoryRuleTagNamePattern? Value14 { get; } + public global::G.RepositoryRuleBranchNamePattern? Value14 { get; } #endif /// @@ -491,29 +491,28 @@ public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleTagNamePattern value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleBranchNamePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleTagNamePattern?(RepositoryRule @this) => @this.Value14; + public static implicit operator global::G.RepositoryRuleBranchNamePattern?(RepositoryRule @this) => @this.Value14; /// /// /// - public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) + public RepositoryRule(global::G.RepositoryRuleBranchNamePattern? value) { Value14 = value; } /// - /// Note: file_path_restriction is in beta and subject to change.
- /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. + /// Parameters to be used for the tag_name_pattern rule ///
#if NET6_0_OR_GREATER - public global::G.RepositoryRuleVariant15? Value15 { get; init; } + public global::G.RepositoryRuleTagNamePattern? Value15 { get; init; } #else - public global::G.RepositoryRuleVariant15? Value15 { get; } + public global::G.RepositoryRuleTagNamePattern? Value15 { get; } #endif /// @@ -527,24 +526,23 @@ public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleVariant15 value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleTagNamePattern value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleVariant15?(RepositoryRule @this) => @this.Value15; + public static implicit operator global::G.RepositoryRuleTagNamePattern?(RepositoryRule @this) => @this.Value15; /// /// /// - public RepositoryRule(global::G.RepositoryRuleVariant15? value) + public RepositoryRule(global::G.RepositoryRuleTagNamePattern? value) { Value15 = value; } /// - /// Note: max_file_path_length is in beta and subject to change.
- /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant16? Value16 { get; init; } @@ -579,8 +577,7 @@ public RepositoryRule(global::G.RepositoryRuleVariant16? value) } /// - /// Note: file_extension_restriction is in beta and subject to change.
- /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. + /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant17? Value17 { get; init; } @@ -615,8 +612,7 @@ public RepositoryRule(global::G.RepositoryRuleVariant17? value) } /// - /// Note: max_file_size is in beta and subject to change.
- /// Prevent commits that exceed a specified file size limit from being pushed to the commit. + /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. ///
#if NET6_0_OR_GREATER public global::G.RepositoryRuleVariant18? Value18 { get; init; } @@ -651,12 +647,12 @@ public RepositoryRule(global::G.RepositoryRuleVariant18? value) } /// - /// Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + /// Prevent commits that exceed a specified file size limit from being pushed to the commit. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleWorkflows? Value19 { get; init; } + public global::G.RepositoryRuleVariant19? Value19 { get; init; } #else - public global::G.RepositoryRuleWorkflows? Value19 { get; } + public global::G.RepositoryRuleVariant19? Value19 { get; } #endif /// @@ -670,28 +666,28 @@ public RepositoryRule(global::G.RepositoryRuleVariant18? value) /// /// /// - public static implicit operator RepositoryRule(global::G.RepositoryRuleWorkflows value) => new RepositoryRule(value); + public static implicit operator RepositoryRule(global::G.RepositoryRuleVariant19 value) => new RepositoryRule(value); /// /// /// - public static implicit operator global::G.RepositoryRuleWorkflows?(RepositoryRule @this) => @this.Value19; + public static implicit operator global::G.RepositoryRuleVariant19?(RepositoryRule @this) => @this.Value19; /// /// /// - public RepositoryRule(global::G.RepositoryRuleWorkflows? value) + public RepositoryRule(global::G.RepositoryRuleVariant19? value) { Value19 = value; } /// - /// Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. + /// Require all changes made to a targeted branch to pass the specified workflows before they can be merged. /// #if NET6_0_OR_GREATER - public global::G.RepositoryRuleCodeScanning? Value20 { get; init; } + public global::G.RepositoryRuleWorkflows? Value20 { get; init; } #else - public global::G.RepositoryRuleCodeScanning? Value20 { get; } + public global::G.RepositoryRuleWorkflows? Value20 { get; } #endif /// @@ -702,6 +698,41 @@ public RepositoryRule(global::G.RepositoryRuleWorkflows? value) #endif public bool IsValue20 => Value20 != null; + /// + /// + /// + public static implicit operator RepositoryRule(global::G.RepositoryRuleWorkflows value) => new RepositoryRule(value); + + /// + /// + /// + public static implicit operator global::G.RepositoryRuleWorkflows?(RepositoryRule @this) => @this.Value20; + + /// + /// + /// + public RepositoryRule(global::G.RepositoryRuleWorkflows? value) + { + Value20 = value; + } + + /// + /// Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. + /// +#if NET6_0_OR_GREATER + public global::G.RepositoryRuleCodeScanning? Value21 { get; init; } +#else + public global::G.RepositoryRuleCodeScanning? Value21 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value21))] +#endif + public bool IsValue21 => Value21 != null; + /// /// /// @@ -710,14 +741,14 @@ public RepositoryRule(global::G.RepositoryRuleWorkflows? value) /// /// /// - public static implicit operator global::G.RepositoryRuleCodeScanning?(RepositoryRule @this) => @this.Value20; + public static implicit operator global::G.RepositoryRuleCodeScanning?(RepositoryRule @this) => @this.Value21; /// /// /// public RepositoryRule(global::G.RepositoryRuleCodeScanning? value) { - Value20 = value; + Value21 = value; } /// @@ -729,22 +760,23 @@ public RepositoryRule( global::G.RepositoryRuleUpdate? value2, global::G.RepositoryRuleDeletion? value3, global::G.RepositoryRuleRequiredLinearHistory? value4, - global::G.RepositoryRuleRequiredDeployments? value5, - global::G.RepositoryRuleRequiredSignatures? value6, - global::G.RepositoryRulePullRequest? value7, - global::G.RepositoryRuleRequiredStatusChecks? value8, - global::G.RepositoryRuleNonFastForward? value9, - global::G.RepositoryRuleCommitMessagePattern? value10, - global::G.RepositoryRuleCommitAuthorEmailPattern? value11, - global::G.RepositoryRuleCommitterEmailPattern? value12, - global::G.RepositoryRuleBranchNamePattern? value13, - global::G.RepositoryRuleTagNamePattern? value14, - global::G.RepositoryRuleVariant15? value15, + global::G.RepositoryRuleMergeQueue? value5, + global::G.RepositoryRuleRequiredDeployments? value6, + global::G.RepositoryRuleRequiredSignatures? value7, + global::G.RepositoryRulePullRequest? value8, + global::G.RepositoryRuleRequiredStatusChecks? value9, + global::G.RepositoryRuleNonFastForward? value10, + global::G.RepositoryRuleCommitMessagePattern? value11, + global::G.RepositoryRuleCommitAuthorEmailPattern? value12, + global::G.RepositoryRuleCommitterEmailPattern? value13, + global::G.RepositoryRuleBranchNamePattern? value14, + global::G.RepositoryRuleTagNamePattern? value15, global::G.RepositoryRuleVariant16? value16, global::G.RepositoryRuleVariant17? value17, global::G.RepositoryRuleVariant18? value18, - global::G.RepositoryRuleWorkflows? value19, - global::G.RepositoryRuleCodeScanning? value20 + global::G.RepositoryRuleVariant19? value19, + global::G.RepositoryRuleWorkflows? value20, + global::G.RepositoryRuleCodeScanning? value21 ) { Type = type; @@ -769,12 +801,14 @@ public RepositoryRule( Value18 = value18; Value19 = value19; Value20 = value20; + Value21 = value21; } /// /// /// public object? Object => + Value21 as object ?? Value20 as object ?? Value19 as object ?? Value18 as object ?? @@ -802,7 +836,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && IsValue18 && !IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && IsValue19 && !IsValue20 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && IsValue20; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && IsValue21; } /// @@ -813,22 +847,23 @@ public bool Validate() global::System.Func? value2 = null, global::System.Func? value3 = null, global::System.Func? value4 = null, - global::System.Func? value5 = null, - global::System.Func? value6 = null, - global::System.Func? value7 = null, - global::System.Func? value8 = null, - global::System.Func? value9 = null, - global::System.Func? value10 = null, - global::System.Func? value11 = null, - global::System.Func? value12 = null, - global::System.Func? value13 = null, - global::System.Func? value14 = null, - global::System.Func? value15 = null, + global::System.Func? value5 = null, + global::System.Func? value6 = null, + global::System.Func? value7 = null, + global::System.Func? value8 = null, + global::System.Func? value9 = null, + global::System.Func? value10 = null, + global::System.Func? value11 = null, + global::System.Func? value12 = null, + global::System.Func? value13 = null, + global::System.Func? value14 = null, + global::System.Func? value15 = null, global::System.Func? value16 = null, global::System.Func? value17 = null, global::System.Func? value18 = null, - global::System.Func? value19 = null, - global::System.Func? value20 = null, + global::System.Func? value19 = null, + global::System.Func? value20 = null, + global::System.Func? value21 = null, bool validate = true) { if (validate) @@ -916,6 +951,10 @@ public bool Validate() { return value20(Value20!); } + else if (IsValue21 && value21 != null) + { + return value21(Value21!); + } return default(TResult); } @@ -928,22 +967,23 @@ public void Match( global::System.Action? value2 = null, global::System.Action? value3 = null, global::System.Action? value4 = null, - global::System.Action? value5 = null, - global::System.Action? value6 = null, - global::System.Action? value7 = null, - global::System.Action? value8 = null, - global::System.Action? value9 = null, - global::System.Action? value10 = null, - global::System.Action? value11 = null, - global::System.Action? value12 = null, - global::System.Action? value13 = null, - global::System.Action? value14 = null, - global::System.Action? value15 = null, + global::System.Action? value5 = null, + global::System.Action? value6 = null, + global::System.Action? value7 = null, + global::System.Action? value8 = null, + global::System.Action? value9 = null, + global::System.Action? value10 = null, + global::System.Action? value11 = null, + global::System.Action? value12 = null, + global::System.Action? value13 = null, + global::System.Action? value14 = null, + global::System.Action? value15 = null, global::System.Action? value16 = null, global::System.Action? value17 = null, global::System.Action? value18 = null, - global::System.Action? value19 = null, - global::System.Action? value20 = null, + global::System.Action? value19 = null, + global::System.Action? value20 = null, + global::System.Action? value21 = null, bool validate = true) { if (validate) @@ -1031,6 +1071,10 @@ public void Match( { value20?.Invoke(Value20!); } + else if (IsValue21) + { + value21?.Invoke(Value21!); + } } /// @@ -1049,27 +1093,27 @@ public override int GetHashCode() Value4, typeof(global::G.RepositoryRuleRequiredLinearHistory), Value5, - typeof(global::G.RepositoryRuleRequiredDeployments), + typeof(global::G.RepositoryRuleMergeQueue), Value6, - typeof(global::G.RepositoryRuleRequiredSignatures), + typeof(global::G.RepositoryRuleRequiredDeployments), Value7, - typeof(global::G.RepositoryRulePullRequest), + typeof(global::G.RepositoryRuleRequiredSignatures), Value8, - typeof(global::G.RepositoryRuleRequiredStatusChecks), + typeof(global::G.RepositoryRulePullRequest), Value9, - typeof(global::G.RepositoryRuleNonFastForward), + typeof(global::G.RepositoryRuleRequiredStatusChecks), Value10, - typeof(global::G.RepositoryRuleCommitMessagePattern), + typeof(global::G.RepositoryRuleNonFastForward), Value11, - typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), + typeof(global::G.RepositoryRuleCommitMessagePattern), Value12, - typeof(global::G.RepositoryRuleCommitterEmailPattern), + typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), Value13, - typeof(global::G.RepositoryRuleBranchNamePattern), + typeof(global::G.RepositoryRuleCommitterEmailPattern), Value14, - typeof(global::G.RepositoryRuleTagNamePattern), + typeof(global::G.RepositoryRuleBranchNamePattern), Value15, - typeof(global::G.RepositoryRuleVariant15), + typeof(global::G.RepositoryRuleTagNamePattern), Value16, typeof(global::G.RepositoryRuleVariant16), Value17, @@ -1077,8 +1121,10 @@ public override int GetHashCode() Value18, typeof(global::G.RepositoryRuleVariant18), Value19, - typeof(global::G.RepositoryRuleWorkflows), + typeof(global::G.RepositoryRuleVariant19), Value20, + typeof(global::G.RepositoryRuleWorkflows), + Value21, typeof(global::G.RepositoryRuleCodeScanning), }; const int offset = unchecked((int)2166136261); @@ -1099,22 +1145,23 @@ public bool Equals(RepositoryRule other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value17, other.Value17) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value18, other.Value18) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value19, other.Value19) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value20, other.Value20) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value19, other.Value19) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value20, other.Value20) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value21, other.Value21) ; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs index b4fe317533..7f598071cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDetailed.g.verified.cs @@ -155,9 +155,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value5 { get; init; } + public global::G.AllOf? Value5 { get; init; } #else - public global::G.AllOf? Value5 { get; } + public global::G.AllOf? Value5 { get; } #endif /// @@ -171,17 +171,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value5 = value; } @@ -190,9 +190,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value6 { get; init; } + public global::G.AllOf? Value6 { get; init; } #else - public global::G.AllOf? Value6 { get; } + public global::G.AllOf? Value6 { get; } #endif /// @@ -206,17 +206,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value6 = value; } @@ -225,9 +225,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value7 { get; init; } + public global::G.AllOf? Value7 { get; init; } #else - public global::G.AllOf? Value7 { get; } + public global::G.AllOf? Value7 { get; } #endif /// @@ -241,17 +241,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value7 = value; } @@ -260,9 +260,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value8 { get; init; } + public global::G.AllOf? Value8 { get; init; } #else - public global::G.AllOf? Value8 { get; } + public global::G.AllOf? Value8 { get; } #endif /// @@ -276,17 +276,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value8 = value; } @@ -295,9 +295,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value9 { get; init; } + public global::G.AllOf? Value9 { get; init; } #else - public global::G.AllOf? Value9 { get; } + public global::G.AllOf? Value9 { get; } #endif /// @@ -311,17 +311,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value9 = value; } @@ -330,9 +330,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value10 { get; init; } + public global::G.AllOf? Value10 { get; init; } #else - public global::G.AllOf? Value10 { get; } + public global::G.AllOf? Value10 { get; } #endif /// @@ -346,17 +346,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value10 = value; } @@ -365,9 +365,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value11 { get; init; } + public global::G.AllOf? Value11 { get; init; } #else - public global::G.AllOf? Value11 { get; } + public global::G.AllOf? Value11 { get; } #endif /// @@ -381,17 +381,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value11 = value; } @@ -400,9 +400,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value12 { get; init; } + public global::G.AllOf? Value12 { get; init; } #else - public global::G.AllOf? Value12 { get; } + public global::G.AllOf? Value12 { get; } #endif /// @@ -416,17 +416,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value12 = value; } @@ -435,9 +435,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value13 { get; init; } + public global::G.AllOf? Value13 { get; init; } #else - public global::G.AllOf? Value13 { get; } + public global::G.AllOf? Value13 { get; } #endif /// @@ -451,17 +451,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value13 = value; } @@ -470,9 +470,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value14 { get; init; } + public global::G.AllOf? Value14 { get; init; } #else - public global::G.AllOf? Value14 { get; } + public global::G.AllOf? Value14 { get; } #endif /// @@ -486,17 +486,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value14 = value; } @@ -505,9 +505,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value15 { get; init; } + public global::G.AllOf? Value15 { get; init; } #else - public global::G.AllOf? Value15 { get; } + public global::G.AllOf? Value15 { get; } #endif /// @@ -521,17 +521,17 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; /// /// /// - public RepositoryRuleDetailed(global::G.AllOf? value) + public RepositoryRuleDetailed(global::G.AllOf? value) { Value15 = value; } @@ -540,9 +540,9 @@ public RepositoryRuleDetailed(global::G.AllOf #if NET6_0_OR_GREATER - public global::G.AllOf? Value16 { get; init; } + public global::G.AllOf? Value16 { get; init; } #else - public global::G.AllOf? Value16 { get; } + public global::G.AllOf? Value16 { get; } #endif /// @@ -553,6 +553,41 @@ public RepositoryRuleDetailed(global::G.AllOf Value16 != null; + /// + /// + /// + public static implicit operator RepositoryRuleDetailed(global::G.AllOf value) => new RepositoryRuleDetailed(value); + + /// + /// + /// + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; + + /// + /// + /// + public RepositoryRuleDetailed(global::G.AllOf? value) + { + Value16 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::G.AllOf? Value17 { get; init; } +#else + public global::G.AllOf? Value17 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value17))] +#endif + public bool IsValue17 => Value17 != null; + /// /// /// @@ -561,14 +596,14 @@ public RepositoryRuleDetailed(global::G.AllOf /// /// - public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; + public static implicit operator global::G.AllOf?(RepositoryRuleDetailed @this) => @this.Value17; /// /// /// public RepositoryRuleDetailed(global::G.AllOf? value) { - Value16 = value; + Value17 = value; } /// @@ -579,18 +614,19 @@ public RepositoryRuleDetailed( global::G.AllOf? value2, global::G.AllOf? value3, global::G.AllOf? value4, - global::G.AllOf? value5, - global::G.AllOf? value6, - global::G.AllOf? value7, - global::G.AllOf? value8, - global::G.AllOf? value9, - global::G.AllOf? value10, - global::G.AllOf? value11, - global::G.AllOf? value12, - global::G.AllOf? value13, - global::G.AllOf? value14, - global::G.AllOf? value15, - global::G.AllOf? value16 + global::G.AllOf? value5, + global::G.AllOf? value6, + global::G.AllOf? value7, + global::G.AllOf? value8, + global::G.AllOf? value9, + global::G.AllOf? value10, + global::G.AllOf? value11, + global::G.AllOf? value12, + global::G.AllOf? value13, + global::G.AllOf? value14, + global::G.AllOf? value15, + global::G.AllOf? value16, + global::G.AllOf? value17 ) { Value1 = value1; @@ -609,12 +645,14 @@ public RepositoryRuleDetailed( Value14 = value14; Value15 = value15; Value16 = value16; + Value17 = value17; } /// /// /// public object? Object => + Value17 as object ?? Value16 as object ?? Value15 as object ?? Value14 as object ?? @@ -638,7 +676,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17; } /// @@ -649,18 +687,19 @@ public bool Validate() global::System.Func?, TResult>? value2 = null, global::System.Func?, TResult>? value3 = null, global::System.Func?, TResult>? value4 = null, - global::System.Func?, TResult>? value5 = null, - global::System.Func?, TResult>? value6 = null, - global::System.Func?, TResult>? value7 = null, - global::System.Func?, TResult>? value8 = null, - global::System.Func?, TResult>? value9 = null, - global::System.Func?, TResult>? value10 = null, - global::System.Func?, TResult>? value11 = null, - global::System.Func?, TResult>? value12 = null, - global::System.Func?, TResult>? value13 = null, - global::System.Func?, TResult>? value14 = null, - global::System.Func?, TResult>? value15 = null, - global::System.Func?, TResult>? value16 = null, + global::System.Func?, TResult>? value5 = null, + global::System.Func?, TResult>? value6 = null, + global::System.Func?, TResult>? value7 = null, + global::System.Func?, TResult>? value8 = null, + global::System.Func?, TResult>? value9 = null, + global::System.Func?, TResult>? value10 = null, + global::System.Func?, TResult>? value11 = null, + global::System.Func?, TResult>? value12 = null, + global::System.Func?, TResult>? value13 = null, + global::System.Func?, TResult>? value14 = null, + global::System.Func?, TResult>? value15 = null, + global::System.Func?, TResult>? value16 = null, + global::System.Func?, TResult>? value17 = null, bool validate = true) { if (validate) @@ -732,6 +771,10 @@ public bool Validate() { return value16(Value16!); } + else if (IsValue17 && value17 != null) + { + return value17(Value17!); + } return default(TResult); } @@ -744,18 +787,19 @@ public void Match( global::System.Action?>? value2 = null, global::System.Action?>? value3 = null, global::System.Action?>? value4 = null, - global::System.Action?>? value5 = null, - global::System.Action?>? value6 = null, - global::System.Action?>? value7 = null, - global::System.Action?>? value8 = null, - global::System.Action?>? value9 = null, - global::System.Action?>? value10 = null, - global::System.Action?>? value11 = null, - global::System.Action?>? value12 = null, - global::System.Action?>? value13 = null, - global::System.Action?>? value14 = null, - global::System.Action?>? value15 = null, - global::System.Action?>? value16 = null, + global::System.Action?>? value5 = null, + global::System.Action?>? value6 = null, + global::System.Action?>? value7 = null, + global::System.Action?>? value8 = null, + global::System.Action?>? value9 = null, + global::System.Action?>? value10 = null, + global::System.Action?>? value11 = null, + global::System.Action?>? value12 = null, + global::System.Action?>? value13 = null, + global::System.Action?>? value14 = null, + global::System.Action?>? value15 = null, + global::System.Action?>? value16 = null, + global::System.Action?>? value17 = null, bool validate = true) { if (validate) @@ -827,6 +871,10 @@ public void Match( { value16?.Invoke(Value16!); } + else if (IsValue17) + { + value17?.Invoke(Value17!); + } } /// @@ -845,28 +893,30 @@ public override int GetHashCode() Value4, typeof(global::G.AllOf), Value5, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value6, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value7, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value8, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value9, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value10, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value11, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value12, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value13, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value14, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value15, - typeof(global::G.AllOf), + typeof(global::G.AllOf), Value16, + typeof(global::G.AllOf), + Value17, typeof(global::G.AllOf), }; const int offset = unchecked((int)2166136261); @@ -887,18 +937,19 @@ public bool Equals(RepositoryRuleDetailed other) global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value2, other.Value2) && global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value17, other.Value17) ; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs index 85fcf36bbe..891d825d7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleDiscriminatorType.g.verified.cs @@ -28,6 +28,10 @@ public enum RepositoryRuleDiscriminatorType /// /// /// + MergeQueue, + /// + /// + /// RequiredDeployments, /// /// @@ -107,6 +111,7 @@ public static string ToValueString(this RepositoryRuleDiscriminatorType value) RepositoryRuleDiscriminatorType.Update => "update", RepositoryRuleDiscriminatorType.Deletion => "deletion", RepositoryRuleDiscriminatorType.RequiredLinearHistory => "required_linear_history", + RepositoryRuleDiscriminatorType.MergeQueue => "merge_queue", RepositoryRuleDiscriminatorType.RequiredDeployments => "required_deployments", RepositoryRuleDiscriminatorType.RequiredSignatures => "required_signatures", RepositoryRuleDiscriminatorType.PullRequest => "pull_request", @@ -137,6 +142,7 @@ public static string ToValueString(this RepositoryRuleDiscriminatorType value) "update" => RepositoryRuleDiscriminatorType.Update, "deletion" => RepositoryRuleDiscriminatorType.Deletion, "required_linear_history" => RepositoryRuleDiscriminatorType.RequiredLinearHistory, + "merge_queue" => RepositoryRuleDiscriminatorType.MergeQueue, "required_deployments" => RepositoryRuleDiscriminatorType.RequiredDeployments, "required_signatures" => RepositoryRuleDiscriminatorType.RequiredSignatures, "pull_request" => RepositoryRuleDiscriminatorType.PullRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs new file mode 100644 index 0000000000..d77f3cec1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueue.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.RepositoryRuleMergeQueue.g.cs + +#nullable enable + +namespace G +{ + /// + /// Merges must be performed via a merge queue. + /// + public sealed partial class RepositoryRuleMergeQueue + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRuleMergeQueueTypeJsonConverter))] + public global::G.RepositoryRuleMergeQueueType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] + public global::G.RepositoryRuleMergeQueueParameters? Parameters { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RepositoryRuleMergeQueue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RepositoryRuleMergeQueue), + jsonSerializerContext) as global::G.RepositoryRuleMergeQueue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleMergeQueue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs new file mode 100644 index 0000000000..d255e98eb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParameters.g.verified.cs @@ -0,0 +1,127 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParameters.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleMergeQueueParameters + { + /// + /// Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("check_response_timeout_minutes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int CheckResponseTimeoutMinutes { get; set; } + + /// + /// When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("grouping_strategy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.RepositoryRuleMergeQueueParametersGroupingStrategy GroupingStrategy { get; set; } + + /// + /// Limit the number of queued pull requests requesting checks and workflow runs at the same time. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_entries_to_build")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MaxEntriesToBuild { get; set; } + + /// + /// The maximum number of PRs that will be merged together in a group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_entries_to_merge")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MaxEntriesToMerge { get; set; } + + /// + /// Method to use when merging changes from queued pull requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merge_method")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.RepositoryRuleMergeQueueParametersMergeMethod MergeMethod { get; set; } + + /// + /// The minimum number of PRs that will be merged together in a group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min_entries_to_merge")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MinEntriesToMerge { get; set; } + + /// + /// The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min_entries_to_merge_wait_minutes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MinEntriesToMergeWaitMinutes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RepositoryRuleMergeQueueParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RepositoryRuleMergeQueueParameters), + jsonSerializerContext) as global::G.RepositoryRuleMergeQueueParameters; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleMergeQueueParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs new file mode 100644 index 0000000000..1b2449c34b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParametersGroupingStrategy.g.cs + +#nullable enable + +namespace G +{ + /// + /// When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. + /// + public enum RepositoryRuleMergeQueueParametersGroupingStrategy + { + /// + /// + /// + ALLGREEN, + /// + /// + /// + HEADGREEN, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRuleMergeQueueParametersGroupingStrategyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRuleMergeQueueParametersGroupingStrategy value) + { + return value switch + { + RepositoryRuleMergeQueueParametersGroupingStrategy.ALLGREEN => "ALLGREEN", + RepositoryRuleMergeQueueParametersGroupingStrategy.HEADGREEN => "HEADGREEN", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRuleMergeQueueParametersGroupingStrategy? ToEnum(string value) + { + return value switch + { + "ALLGREEN" => RepositoryRuleMergeQueueParametersGroupingStrategy.ALLGREEN, + "HEADGREEN" => RepositoryRuleMergeQueueParametersGroupingStrategy.HEADGREEN, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs new file mode 100644 index 0000000000..76a36aa383 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.RepositoryRuleMergeQueueParametersMergeMethod.g.cs + +#nullable enable + +namespace G +{ + /// + /// Method to use when merging changes from queued pull requests. + /// + public enum RepositoryRuleMergeQueueParametersMergeMethod + { + /// + /// + /// + MERGE, + /// + /// + /// + SQUASH, + /// + /// + /// + REBASE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRuleMergeQueueParametersMergeMethodExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRuleMergeQueueParametersMergeMethod value) + { + return value switch + { + RepositoryRuleMergeQueueParametersMergeMethod.MERGE => "MERGE", + RepositoryRuleMergeQueueParametersMergeMethod.SQUASH => "SQUASH", + RepositoryRuleMergeQueueParametersMergeMethod.REBASE => "REBASE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRuleMergeQueueParametersMergeMethod? ToEnum(string value) + { + return value switch + { + "MERGE" => RepositoryRuleMergeQueueParametersMergeMethod.MERGE, + "SQUASH" => RepositoryRuleMergeQueueParametersMergeMethod.SQUASH, + "REBASE" => RepositoryRuleMergeQueueParametersMergeMethod.REBASE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs similarity index 57% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs index c9e9564033..f52c1bb1c6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevokedAction.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleMergeQueueType.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.WebhookSecretScanningAlertRevokedAction.g.cs +//HintName: G.Models.RepositoryRuleMergeQueueType.g.cs #nullable enable @@ -7,38 +7,38 @@ namespace G /// /// /// - public enum WebhookSecretScanningAlertRevokedAction + public enum RepositoryRuleMergeQueueType { /// /// /// - Revoked, + MergeQueue, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class WebhookSecretScanningAlertRevokedActionExtensions + public static class RepositoryRuleMergeQueueTypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this WebhookSecretScanningAlertRevokedAction value) + public static string ToValueString(this RepositoryRuleMergeQueueType value) { return value switch { - WebhookSecretScanningAlertRevokedAction.Revoked => "revoked", + RepositoryRuleMergeQueueType.MergeQueue => "merge_queue", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static WebhookSecretScanningAlertRevokedAction? ToEnum(string value) + public static RepositoryRuleMergeQueueType? ToEnum(string value) { return value switch { - "revoked" => WebhookSecretScanningAlertRevokedAction.Revoked, + "merge_queue" => RepositoryRuleMergeQueueType.MergeQueue, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs index b8022012fa..1b73039bbc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleRequiredStatusChecksParameters.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class RepositoryRuleRequiredStatusChecksParameters { + /// + /// Allow repositories and branches to be created if a check would otherwise prohibit it. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("do_not_enforce_on_create")] + public bool? DoNotEnforceOnCreate { get; set; } + /// /// Status checks that are required. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs index c09bccd278..7ae6ff99f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: max_file_path_length is in beta and subject to change.
- /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant16 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs index 51f7ba7dba..0f06705b1e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Parameters.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class RepositoryRuleVariant16Parameters { /// - /// The maximum amount of characters allowed in file paths + /// The file paths that are restricted from being pushed to the commit graph. /// - [global::System.Text.Json.Serialization.JsonPropertyName("max_file_path_length")] + [global::System.Text.Json.Serialization.JsonPropertyName("restricted_file_paths")] [global::System.Text.Json.Serialization.JsonRequired] - public required int MaxFilePathLength { get; set; } + public required global::System.Collections.Generic.IList RestrictedFilePaths { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs index 38f5868a99..9d4951bcb9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant16Type.g.verified.cs @@ -12,7 +12,7 @@ public enum RepositoryRuleVariant16Type /// /// /// - MaxFilePathLength, + FilePathRestriction, } /// @@ -27,7 +27,7 @@ public static string ToValueString(this RepositoryRuleVariant16Type value) { return value switch { - RepositoryRuleVariant16Type.MaxFilePathLength => "max_file_path_length", + RepositoryRuleVariant16Type.FilePathRestriction => "file_path_restriction", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,7 +38,7 @@ public static string ToValueString(this RepositoryRuleVariant16Type value) { return value switch { - "max_file_path_length" => RepositoryRuleVariant16Type.MaxFilePathLength, + "file_path_restriction" => RepositoryRuleVariant16Type.FilePathRestriction, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs index 6aeba9bed3..805fd3d746 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: file_extension_restriction is in beta and subject to change.
- /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. + /// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant17 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs index d85b97481d..f58f321803 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Parameters.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class RepositoryRuleVariant17Parameters { /// - /// The file extensions that are restricted from being pushed to the commit graph. + /// The maximum amount of characters allowed in file paths /// - [global::System.Text.Json.Serialization.JsonPropertyName("restricted_file_extensions")] + [global::System.Text.Json.Serialization.JsonPropertyName("max_file_path_length")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RestrictedFileExtensions { get; set; } + public required int MaxFilePathLength { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs index 539130968f..4c825af450 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant17Type.g.verified.cs @@ -12,7 +12,7 @@ public enum RepositoryRuleVariant17Type /// /// /// - FileExtensionRestriction, + MaxFilePathLength, } /// @@ -27,7 +27,7 @@ public static string ToValueString(this RepositoryRuleVariant17Type value) { return value switch { - RepositoryRuleVariant17Type.FileExtensionRestriction => "file_extension_restriction", + RepositoryRuleVariant17Type.MaxFilePathLength => "max_file_path_length", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,7 +38,7 @@ public static string ToValueString(this RepositoryRuleVariant17Type value) { return value switch { - "file_extension_restriction" => RepositoryRuleVariant17Type.FileExtensionRestriction, + "max_file_path_length" => RepositoryRuleVariant17Type.MaxFilePathLength, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs index 4a5e4f3da3..eebdbe9810 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// Note: max_file_size is in beta and subject to change.
- /// Prevent commits that exceed a specified file size limit from being pushed to the commit. + /// Prevent commits that include files with specified file extensions from being pushed to the commit graph. ///
public sealed partial class RepositoryRuleVariant18 { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs index bf86c87396..ffa3b983af 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Parameters.g.verified.cs @@ -10,11 +10,11 @@ namespace G public sealed partial class RepositoryRuleVariant18Parameters { /// - /// The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). + /// The file extensions that are restricted from being pushed to the commit graph. /// - [global::System.Text.Json.Serialization.JsonPropertyName("max_file_size")] + [global::System.Text.Json.Serialization.JsonPropertyName("restricted_file_extensions")] [global::System.Text.Json.Serialization.JsonRequired] - public required int MaxFileSize { get; set; } + public required global::System.Collections.Generic.IList RestrictedFileExtensions { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs index df5b3c1206..994df77cfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant18Type.g.verified.cs @@ -12,7 +12,7 @@ public enum RepositoryRuleVariant18Type /// /// /// - MaxFileSize, + FileExtensionRestriction, } /// @@ -27,7 +27,7 @@ public static string ToValueString(this RepositoryRuleVariant18Type value) { return value switch { - RepositoryRuleVariant18Type.MaxFileSize => "max_file_size", + RepositoryRuleVariant18Type.FileExtensionRestriction => "file_extension_restriction", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,7 +38,7 @@ public static string ToValueString(this RepositoryRuleVariant18Type value) { return value switch { - "max_file_size" => RepositoryRuleVariant18Type.MaxFileSize, + "file_extension_restriction" => RepositoryRuleVariant18Type.FileExtensionRestriction, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs similarity index 83% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs index 727e9c1db5..90720be31f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19.g.verified.cs @@ -1,27 +1,26 @@ -//HintName: G.Models.RepositoryRuleVariant15.g.cs +//HintName: G.Models.RepositoryRuleVariant19.g.cs #nullable enable namespace G { /// - /// Note: file_path_restriction is in beta and subject to change.
- /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. + /// Prevent commits that exceed a specified file size limit from being pushed to the commit. ///
- public sealed partial class RepositoryRuleVariant15 + public sealed partial class RepositoryRuleVariant19 { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRuleVariant15TypeJsonConverter))] - public global::G.RepositoryRuleVariant15Type Type { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRuleVariant19TypeJsonConverter))] + public global::G.RepositoryRuleVariant19Type Type { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] - public global::G.RepositoryRuleVariant15Parameters? Parameters { get; set; } + public global::G.RepositoryRuleVariant19Parameters? Parameters { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -60,14 +59,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.RepositoryRuleVariant15? FromJson( + public static global::G.RepositoryRuleVariant19? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.RepositoryRuleVariant15), - jsonSerializerContext) as global::G.RepositoryRuleVariant15; + typeof(global::G.RepositoryRuleVariant19), + jsonSerializerContext) as global::G.RepositoryRuleVariant19; } /// @@ -77,11 +76,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.RepositoryRuleVariant15? FromJson( + public static global::G.RepositoryRuleVariant19? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs similarity index 85% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs index b01e4ddbf1..a208869d69 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Parameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Parameters.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.RepositoryRuleVariant15Parameters.g.cs +//HintName: G.Models.RepositoryRuleVariant19Parameters.g.cs #nullable enable @@ -7,14 +7,14 @@ namespace G /// /// /// - public sealed partial class RepositoryRuleVariant15Parameters + public sealed partial class RepositoryRuleVariant19Parameters { /// - /// The file paths that are restricted from being pushed to the commit graph. + /// The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). /// - [global::System.Text.Json.Serialization.JsonPropertyName("restricted_file_paths")] + [global::System.Text.Json.Serialization.JsonPropertyName("max_file_size")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RestrictedFilePaths { get; set; } + public required int MaxFileSize { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -53,14 +53,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.RepositoryRuleVariant15Parameters? FromJson( + public static global::G.RepositoryRuleVariant19Parameters? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.RepositoryRuleVariant15Parameters), - jsonSerializerContext) as global::G.RepositoryRuleVariant15Parameters; + typeof(global::G.RepositoryRuleVariant19Parameters), + jsonSerializerContext) as global::G.RepositoryRuleVariant19Parameters; } /// @@ -70,11 +70,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.RepositoryRuleVariant15Parameters? FromJson( + public static global::G.RepositoryRuleVariant19Parameters? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs similarity index 63% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs index dc4e9c855a..2c486e0c7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant15Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleVariant19Type.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.RepositoryRuleVariant15Type.g.cs +//HintName: G.Models.RepositoryRuleVariant19Type.g.cs #nullable enable @@ -7,38 +7,38 @@ namespace G /// /// /// - public enum RepositoryRuleVariant15Type + public enum RepositoryRuleVariant19Type { /// /// /// - FilePathRestriction, + MaxFileSize, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class RepositoryRuleVariant15TypeExtensions + public static class RepositoryRuleVariant19TypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this RepositoryRuleVariant15Type value) + public static string ToValueString(this RepositoryRuleVariant19Type value) { return value switch { - RepositoryRuleVariant15Type.FilePathRestriction => "file_path_restriction", + RepositoryRuleVariant19Type.MaxFileSize => "max_file_size", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static RepositoryRuleVariant15Type? ToEnum(string value) + public static RepositoryRuleVariant19Type? ToEnum(string value) { return value switch { - "file_path_restriction" => RepositoryRuleVariant15Type.FilePathRestriction, + "max_file_size" => RepositoryRuleVariant19Type.MaxFileSize, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs similarity index 82% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationPlan.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs index b87ec270ef..c67f2f9e14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrganizationPlan.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationError.g.verified.cs @@ -1,43 +1,37 @@ -//HintName: G.Models.OrganizationPlan.g.cs +//HintName: G.Models.RepositoryRuleViolationError.g.cs #nullable enable namespace G { /// - /// + /// Repository rule violation was detected /// - public sealed partial class OrganizationPlan + public sealed partial class RepositoryRuleViolationError { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("space")] - public int? Space { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("private_repos")] - public int? PrivateRepos { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("filled_seats")] - public int? FilledSeats { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("seats")] - public int? Seats { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + public global::G.RepositoryRuleViolationErrorMetadata? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -76,14 +70,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.OrganizationPlan? FromJson( + public static global::G.RepositoryRuleViolationError? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.OrganizationPlan), - jsonSerializerContext) as global::G.OrganizationPlan; + typeof(global::G.RepositoryRuleViolationError), + jsonSerializerContext) as global::G.RepositoryRuleViolationError; } /// @@ -93,11 +87,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrganizationPlan? FromJson( + public static global::G.RepositoryRuleViolationError? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs new file mode 100644 index 0000000000..c111ed891c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadata.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadata + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning")] + public global::G.RepositoryRuleViolationErrorMetadataSecretScanning? SecretScanning { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RepositoryRuleViolationErrorMetadata? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RepositoryRuleViolationErrorMetadata), + jsonSerializerContext) as global::G.RepositoryRuleViolationErrorMetadata; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadata? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs new file mode 100644 index 0000000000..1972c82b36 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadataSecretScanning.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadataSecretScanning + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bypass_placeholders")] + public global::System.Collections.Generic.IList? BypassPlaceholders { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanning? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RepositoryRuleViolationErrorMetadataSecretScanning), + jsonSerializerContext) as global::G.RepositoryRuleViolationErrorMetadataSecretScanning; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanning? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs new file mode 100644 index 0000000000..6c5aeb98f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder + { + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placeholder_id")] + public string? PlaceholderId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token_type")] + public string? TokenType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder), + jsonSerializerContext) as global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs index 767303e9a1..cae3c0f57c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleWorkflowsParameters.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class RepositoryRuleWorkflowsParameters { + /// + /// Allow repositories and branches to be created if a check would otherwise prohibit it. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("do_not_enforce_on_create")] + public bool? DoNotEnforceOnCreate { get; set; } + /// /// Workflows that must pass for this rule to pass. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleset.g.verified.cs index d46811e41e..251cec44ca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRuleset.g.verified.cs @@ -26,8 +26,7 @@ public sealed partial class RepositoryRuleset public required string Name { get; set; } /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
[global::System.Text.Json.Serialization.JsonPropertyName("target")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRulesetTargetJsonConverter))] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs index f9a675567e..764374173c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActor.g.verified.cs @@ -24,12 +24,12 @@ public sealed partial class RepositoryRulesetBypassActor public required global::G.RepositoryRulesetBypassActorActorType ActorType { get; set; } /// - /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.
+ /// Default Value: always ///
[global::System.Text.Json.Serialization.JsonPropertyName("bypass_mode")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRulesetBypassActorBypassModeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.RepositoryRulesetBypassActorBypassMode BypassMode { get; set; } + public global::G.RepositoryRulesetBypassActorBypassMode? BypassMode { get; set; } = global::G.RepositoryRulesetBypassActorBypassMode.Always; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs index 4e87213960..0c21ec887a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetBypassActorBypassMode.g.verified.cs @@ -5,7 +5,8 @@ namespace G { /// - /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + /// When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.
+ /// Default Value: always ///
public enum RepositoryRulesetBypassActorBypassMode { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs index 23f44e7e85..d21ea3cc39 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpec.g.verified.cs @@ -23,6 +23,13 @@ public sealed partial class RepositoryRulesetConditionsRepositoryPropertySpec [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList PropertyValues { get; set; } + /// + /// The source of the repository property. Defaults to 'custom' if not specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceJsonConverter))] + public global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource? Source { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs new file mode 100644 index 0000000000..430f068592 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.cs + +#nullable enable + +namespace G +{ + /// + /// The source of the repository property. Defaults to 'custom' if not specified. + /// + public enum RepositoryRulesetConditionsRepositoryPropertySpecSource + { + /// + /// + /// + Custom, + /// + /// + /// + System, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryRulesetConditionsRepositoryPropertySpecSource value) + { + return value switch + { + RepositoryRulesetConditionsRepositoryPropertySpecSource.Custom => "custom", + RepositoryRulesetConditionsRepositoryPropertySpecSource.System => "system", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryRulesetConditionsRepositoryPropertySpecSource? ToEnum(string value) + { + return value switch + { + "custom" => RepositoryRulesetConditionsRepositoryPropertySpecSource.Custom, + "system" => RepositoryRulesetConditionsRepositoryPropertySpecSource.System, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs index dab8a63b9d..220f00a6ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryRulesetTarget.g.verified.cs @@ -5,8 +5,7 @@ namespace G { /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset ///
public enum RepositoryRulesetTarget { @@ -19,7 +18,7 @@ public enum RepositoryRulesetTarget ///
Tag, /// - /// The `push` target is in beta and is subject to change. + /// /// Push, } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryWebhooks.g.verified.cs index ccfd9be389..fa2a642145 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RepositoryWebhooks.g.verified.cs @@ -12,11 +12,11 @@ public sealed partial class RepositoryWebhooks { /// /// Unique identifier of the repository
- /// Example: 42 + /// Example: 42L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReviewComment.g.verified.cs index 2f2a22f058..1a141c6509 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.ReviewComment.g.verified.cs @@ -17,18 +17,18 @@ public sealed partial class ReviewComment public required string Url { get; set; } /// - /// Example: 42 + /// Example: 42L /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int? PullRequestReviewId { get; set; } + public required long? PullRequestReviewId { get; set; } /// - /// Example: 10 + /// Example: 10L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuite2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuite2.g.verified.cs index bc3406de0f..0c2b90bc0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuite2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuite2.g.verified.cs @@ -71,7 +71,7 @@ public sealed partial class RuleSuite2 public global::G.RuleSuiteResult2? Result { get; set; } /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run. /// [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_result")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RuleSuiteEvaluationResult2JsonConverter))] diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs index 55552e6dc9..972f0f60fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult.g.verified.cs @@ -17,6 +17,10 @@ public enum RuleSuiteEvaluationResult /// /// Fail, + /// + /// + /// + Bypass, } /// @@ -33,6 +37,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult value) { RuleSuiteEvaluationResult.Pass => "pass", RuleSuiteEvaluationResult.Fail => "fail", + RuleSuiteEvaluationResult.Bypass => "bypass", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -45,6 +50,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult value) { "pass" => RuleSuiteEvaluationResult.Pass, "fail" => RuleSuiteEvaluationResult.Fail, + "bypass" => RuleSuiteEvaluationResult.Bypass, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs index 507d7f42f2..54b59b88ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteEvaluationResult2.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run. /// public enum RuleSuiteEvaluationResult2 { @@ -17,6 +17,10 @@ public enum RuleSuiteEvaluationResult2 /// /// Fail, + /// + /// + /// + Bypass, } /// @@ -33,6 +37,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult2 value) { RuleSuiteEvaluationResult2.Pass => "pass", RuleSuiteEvaluationResult2.Fail => "fail", + RuleSuiteEvaluationResult2.Bypass => "bypass", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -45,6 +50,7 @@ public static string ToValueString(this RuleSuiteEvaluationResult2 value) { "pass" => RuleSuiteEvaluationResult2.Pass, "fail" => RuleSuiteEvaluationResult2.Fail, + "bypass" => RuleSuiteEvaluationResult2.Bypass, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs index c041e374d2..c82157ca2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RuleSuiteRuleEvaluation.g.verified.cs @@ -36,7 +36,7 @@ public sealed partial class RuleSuiteRuleEvaluation public string? RuleType { get; set; } /// - /// Any associated details with the rule evaluation. + /// The detailed failure message for the rule. Null if the rule passed. /// [global::System.Text.Json.Serialization.JsonPropertyName("details")] public string? Details { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RunnerGroupsOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RunnerGroupsOrg.g.verified.cs new file mode 100644 index 0000000000..df5ac2c190 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.RunnerGroupsOrg.g.verified.cs @@ -0,0 +1,163 @@ +//HintName: G.Models.RunnerGroupsOrg.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnerGroupsOrg + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Visibility { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_repositories_url")] + public string? SelectedRepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runners_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RunnersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hosted_runners_url")] + public string? HostedRunnersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inherited")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Inherited { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inherited_allows_public_repositories")] + public bool? InheritedAllowsPublicRepositories { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allows_public_repositories")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool AllowsPublicRepositories { get; set; } + + /// + /// If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("workflow_restrictions_read_only")] + public bool? WorkflowRestrictionsReadOnly { get; set; } = false; + + /// + /// If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("restricted_to_workflows")] + public bool? RestrictedToWorkflows { get; set; } = false; + + /// + /// List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selected_workflows")] + public global::System.Collections.Generic.IList? SelectedWorkflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.RunnerGroupsOrg? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.RunnerGroupsOrg), + jsonSerializerContext) as global::G.RunnerGroupsOrg; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.RunnerGroupsOrg? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlert.g.verified.cs index d1e555e1c4..53ca928827 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlert.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlert.g.verified.cs @@ -90,7 +90,7 @@ public sealed partial class SecretScanningAlert /// /// User-friendly name for the detected secret, matching the `secret_type`.
- /// For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." ///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_type_display_name")] public string? SecretTypeDisplayName { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs index a60b02e3ac..73d22db063 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningAlertWebhook.g.verified.cs @@ -81,6 +81,13 @@ public sealed partial class SecretScanningAlertWebhook [global::System.Text.Json.Serialization.JsonPropertyName("secret_type")] public string? SecretType { get; set; } + /// + /// User-friendly name for the detected secret, matching the `secret_type`.
+ /// For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("secret_type_display_name")] + public string? SecretTypeDisplayName { get; set; } + /// /// The token status as of the latest validity check. /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs new file mode 100644 index 0000000000..591e7c1080 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassRequest.g.verified.cs @@ -0,0 +1,91 @@ +//HintName: G.Models.SecretScanningCreatePushProtectionBypassRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecretScanningCreatePushProtectionBypassRequest + { + /// + /// The reason for bypassing push protection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecretScanningPushProtectionBypassReasonJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.SecretScanningPushProtectionBypassReason Reason { get; set; } + + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placeholder_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PlaceholderId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecretScanningCreatePushProtectionBypassRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecretScanningCreatePushProtectionBypassRequest), + jsonSerializerContext) as global::G.SecretScanningCreatePushProtectionBypassRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecretScanningCreatePushProtectionBypassRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs similarity index 79% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs index 4bcc4e264a..a100e293b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.OrgsPatchCustomOrganizationRoleRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningCreatePushProtectionBypassResponse.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.OrgsPatchCustomOrganizationRoleRequest.g.cs +//HintName: G.Models.SecretScanningCreatePushProtectionBypassResponse.g.cs #nullable enable @@ -7,25 +7,25 @@ namespace G /// /// /// - public sealed partial class OrgsPatchCustomOrganizationRoleRequest + public sealed partial class SecretScanningCreatePushProtectionBypassResponse { /// - /// The name of the custom role. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } /// - /// A short description about the intended usage of this role or what permissions it grants. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } /// - /// A list of additional permissions included in this role. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::System.Collections.Generic.IList? Permissions { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -64,14 +64,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.OrgsPatchCustomOrganizationRoleRequest? FromJson( + public static global::G.SecretScanningCreatePushProtectionBypassResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.OrgsPatchCustomOrganizationRoleRequest), - jsonSerializerContext) as global::G.OrgsPatchCustomOrganizationRoleRequest; + typeof(global::G.SecretScanningCreatePushProtectionBypassResponse), + jsonSerializerContext) as global::G.SecretScanningCreatePushProtectionBypassResponse; } /// @@ -81,11 +81,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.OrgsPatchCustomOrganizationRoleRequest? FromJson( + public static global::G.SecretScanningCreatePushProtectionBypassResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs new file mode 100644 index 0000000000..5c065a6992 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypass.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.Models.SecretScanningPushProtectionBypass.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecretScanningPushProtectionBypass + { + /// + /// The reason for bypassing push protection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecretScanningPushProtectionBypassReasonJsonConverter))] + public global::G.SecretScanningPushProtectionBypassReason? Reason { get; set; } + + /// + /// The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("expire_at")] + public global::System.DateTime? ExpireAt { get; set; } + + /// + /// The token type this bypass is for. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token_type")] + public string? TokenType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecretScanningPushProtectionBypass? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecretScanningPushProtectionBypass), + jsonSerializerContext) as global::G.SecretScanningPushProtectionBypass; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecretScanningPushProtectionBypass? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs new file mode 100644 index 0000000000..220a72de7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecretScanningPushProtectionBypassReason.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.SecretScanningPushProtectionBypassReason.g.cs + +#nullable enable + +namespace G +{ + /// + /// The reason for bypassing push protection. + /// + public enum SecretScanningPushProtectionBypassReason + { + /// + /// + /// + FalsePositive, + /// + /// + /// + UsedInTests, + /// + /// + /// + WillFixLater, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecretScanningPushProtectionBypassReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecretScanningPushProtectionBypassReason value) + { + return value switch + { + SecretScanningPushProtectionBypassReason.FalsePositive => "false_positive", + SecretScanningPushProtectionBypassReason.UsedInTests => "used_in_tests", + SecretScanningPushProtectionBypassReason.WillFixLater => "will_fix_later", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecretScanningPushProtectionBypassReason? ToEnum(string value) + { + return value switch + { + "false_positive" => SecretScanningPushProtectionBypassReason.FalsePositive, + "used_in_tests" => SecretScanningPushProtectionBypassReason.UsedInTests, + "will_fix_later" => SecretScanningPushProtectionBypassReason.WillFixLater, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs index 7d9c8c2e4e..2f2ba83037 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAdvisoriesListGlobalAdvisoriesSort.g.verified.cs @@ -17,6 +17,14 @@ public enum SecurityAdvisoriesListGlobalAdvisoriesSort /// /// Published, + /// + /// + /// + EpssPercentage, + /// + /// + /// + EpssPercentile, } /// @@ -33,6 +41,8 @@ public static string ToValueString(this SecurityAdvisoriesListGlobalAdvisoriesSo { SecurityAdvisoriesListGlobalAdvisoriesSort.Updated => "updated", SecurityAdvisoriesListGlobalAdvisoriesSort.Published => "published", + SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentage => "epss_percentage", + SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentile => "epss_percentile", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -45,6 +55,8 @@ public static string ToValueString(this SecurityAdvisoriesListGlobalAdvisoriesSo { "updated" => SecurityAdvisoriesListGlobalAdvisoriesSort.Updated, "published" => SecurityAdvisoriesListGlobalAdvisoriesSort.Published, + "epss_percentage" => SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentage, + "epss_percentile" => SecurityAdvisoriesListGlobalAdvisoriesSort.EpssPercentile, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs index 6d2cc6fc8a..17e27a5596 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysis.g.verified.cs @@ -33,6 +33,18 @@ public sealed partial class SecurityAndAnalysis [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_push_protection")] public global::G.SecurityAndAnalysisSecretScanningPushProtection? SecretScanningPushProtection { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_non_provider_patterns")] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? SecretScanningNonProviderPatterns { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_ai_detection")] + public global::G.SecurityAndAnalysisSecretScanningAiDetection? SecretScanningAiDetection { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs new file mode 100644 index 0000000000..a77507fc37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetection.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningAiDetection + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter))] + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecurityAndAnalysisSecretScanningAiDetection), + jsonSerializerContext) as global::G.SecurityAndAnalysisSecretScanningAiDetection; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningAiDetection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..6ac8fa493f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum SecurityAndAnalysisSecretScanningAiDetectionStatus + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningAiDetectionStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningAiDetectionStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningAiDetectionStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..a1fccb79a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatterns.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SecurityAndAnalysisSecretScanningNonProviderPatterns + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter))] + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns), + jsonSerializerContext) as global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..63e992048b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum SecurityAndAnalysisSecretScanningNonProviderPatternsStatus + { + /// + /// + /// + Enabled, + /// + /// + /// + Disabled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value) + { + return value switch + { + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled => "enabled", + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled => "disabled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? ToEnum(string value) + { + return value switch + { + "enabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Enabled, + "disabled" => SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.Disabled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SelectedActions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SelectedActions.g.verified.cs index 79eeda78aa..0e322006d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SelectedActions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SelectedActions.g.verified.cs @@ -23,7 +23,8 @@ public sealed partial class SelectedActions /// /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
- /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// > [!NOTE]
+ /// > The `patterns_allowed` setting only applies to public repositories. ///
[global::System.Text.Json.Serialization.JsonPropertyName("patterns_allowed")] public global::System.Collections.Generic.IList? PatternsAllowed { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0.g.verified.cs new file mode 100644 index 0000000000..60180bfa1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.Models.SigstoreBundle0.g.cs + +#nullable enable + +namespace G +{ + /// + /// Sigstore Bundle v0.1 + /// + public sealed partial class SigstoreBundle0 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public global::G.SigstoreBundle0VerificationMaterial? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public global::G.SigstoreBundle0DsseEnvelope? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0), + jsonSerializerContext) as global::G.SigstoreBundle0; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs new file mode 100644 index 0000000000..eb4c56a671 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelope.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.Models.SigstoreBundle0DsseEnvelope.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0DsseEnvelope + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("payload")] + public string? Payload { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("payloadType")] + public string? PayloadType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("signatures")] + public global::System.Collections.Generic.IList? Signatures { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0DsseEnvelope? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0DsseEnvelope), + jsonSerializerContext) as global::G.SigstoreBundle0DsseEnvelope; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0DsseEnvelope? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs new file mode 100644 index 0000000000..7c4dc49c5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0DsseEnvelopeSignature.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0DsseEnvelopeSignature + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sig")] + public string? Sig { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keyid")] + public string? Keyid { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0DsseEnvelopeSignature? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0DsseEnvelopeSignature), + jsonSerializerContext) as global::G.SigstoreBundle0DsseEnvelopeSignature; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0DsseEnvelopeSignature? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs new file mode 100644 index 0000000000..d3ee2081ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterial.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterial.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterial + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("x509CertificateChain")] + public global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? X509CertificateChain { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tlogEntries")] + public global::System.Collections.Generic.IList? TlogEntries { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timestampVerificationData")] + public string? TimestampVerificationData { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterial? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterial), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterial; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterial? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs new file mode 100644 index 0000000000..b05ff12041 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.verified.cs @@ -0,0 +1,118 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("logIndex")] + public string? LogIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("logId")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? LogId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("kindVersion")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? KindVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("integratedTime")] + public string? IntegratedTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inclusionPromise")] + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? InclusionPromise { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inclusionProof")] + public string? InclusionProof { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("canonicalizedBody")] + public string? CanonicalizedBody { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrie? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialTlogEntrie), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialTlogEntrie; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrie? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs new file mode 100644 index 0000000000..7a0951718d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("signedEntryTimestamp")] + public string? SignedEntryTimestamp { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs new file mode 100644 index 0000000000..2935890ee1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieKindVersion + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("kind")] + public string? Kind { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs new file mode 100644 index 0000000000..5ed8f9891b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieLogId + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keyId")] + public string? KeyId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs new file mode 100644 index 0000000000..e358491530 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChain + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("certificates")] + public global::System.Collections.Generic.IList? Certificates { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialX509CertificateChain), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialX509CertificateChain; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs new file mode 100644 index 0000000000..dff729d738 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChainCertificate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rawBytes")] + public string? RawBytes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate), + jsonSerializerContext) as global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleRepository.g.verified.cs index 06aa6124ae..c24905b7cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleRepository.g.verified.cs @@ -11,11 +11,11 @@ public sealed partial class SimpleRepository { /// /// A unique identifier of the repository.
- /// Example: 1296269 + /// Example: 1296269L ///
[global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// The GraphQL identifier of the repository.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs index 7c2fc74d66..b2cb206dcc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUser.g.verified.cs @@ -29,11 +29,11 @@ public sealed partial class SimpleUser public required string Login { get; set; } /// - /// Example: 1 + /// Example: 1L /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// Example: MDQ6VXNlcjE= diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignment.g.verified.cs new file mode 100644 index 0000000000..09271d9848 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignment.g.verified.cs @@ -0,0 +1,171 @@ +//HintName: G.Models.TeamRoleAssignment.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Relationship a Team has with a role. + /// + public sealed partial class TeamRoleAssignment + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + public string? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notification_setting")] + public string? NotificationSetting { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::G.TeamRoleAssignmentPermissions? Permissions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Example: https://github.com/orgs/rails/teams/core + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.NullableTeamSimple? Parent { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.TeamRoleAssignment? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.TeamRoleAssignment), + jsonSerializerContext) as global::G.TeamRoleAssignment; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.TeamRoleAssignment? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs new file mode 100644 index 0000000000..a789eec774 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamRoleAssignmentPermissions.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.Models.TeamRoleAssignmentPermissions.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TeamRoleAssignmentPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Pull { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("triage")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Triage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("push")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Push { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maintain")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Maintain { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("admin")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Admin { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.TeamRoleAssignmentPermissions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.TeamRoleAssignmentPermissions), + jsonSerializerContext) as global::G.TeamRoleAssignmentPermissions; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.TeamRoleAssignmentPermissions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs index f2273593a0..2ba59a6fa7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.TeamsAddOrUpdateRepoPermissionsInOrgRequest.g.verified.cs @@ -10,11 +10,10 @@ namespace G public sealed partial class TeamsAddOrUpdateRepoPermissionsInOrgRequest { /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. ///
[global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } = "push"; + public string? Permission { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUserWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserRoleAssignment.g.verified.cs similarity index 94% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUserWebhooks.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserRoleAssignment.g.verified.cs index 7cb451e2ff..dfe55a4089 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.SimpleUserWebhooks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserRoleAssignment.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: G.Models.SimpleUserWebhooks.g.cs +//HintName: G.Models.UserRoleAssignment.g.cs #nullable enable namespace G { /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// The Relationship a User has with a role. /// - public sealed partial class SimpleUserWebhooks + public sealed partial class UserRoleAssignment { /// /// @@ -190,14 +190,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.SimpleUserWebhooks? FromJson( + public static global::G.UserRoleAssignment? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.SimpleUserWebhooks), - jsonSerializerContext) as global::G.SimpleUserWebhooks; + typeof(global::G.UserRoleAssignment), + jsonSerializerContext) as global::G.UserRoleAssignment; } /// @@ -207,11 +207,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.SimpleUserWebhooks? FromJson( + public static global::G.UserRoleAssignment? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserSearchResultItem.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserSearchResultItem.g.verified.cs index 287c249e45..550bd6fdbd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserSearchResultItem.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UserSearchResultItem.g.verified.cs @@ -21,7 +21,7 @@ public sealed partial class UserSearchResultItem /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs new file mode 100644 index 0000000000..f909b49d18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponse.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.UsersListAttestationsResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UsersListAttestationsResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attestations")] + public global::System.Collections.Generic.IList? Attestations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.UsersListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.UsersListAttestationsResponse), + jsonSerializerContext) as global::G.UsersListAttestationsResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.UsersListAttestationsResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs new file mode 100644 index 0000000000..dc1eb307a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.UsersListAttestationsResponseAttestation.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.UsersListAttestationsResponseAttestation.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UsersListAttestationsResponseAttestation + { + /// + /// Sigstore Bundle v0.1 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::G.SigstoreBundle0? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int? RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.UsersListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.UsersListAttestationsResponseAttestation), + jsonSerializerContext) as global::G.UsersListAttestationsResponseAttestation; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.UsersListAttestationsResponseAttestation? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs index 630fd7e6c3..45f3fc78e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationDisabled.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookBranchProtectionConfigurationDisabled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs index d30e499c3e..dd1161f3ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionConfigurationEnabled.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookBranchProtectionConfigurationEnabled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs index e27f1a19c0..8ccffc509a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookBranchProtectionRuleCreated public required global::G.WebhooksRule Rule { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs index 84a78d0b66..a15e4698e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookBranchProtectionRuleDeleted public required global::G.WebhooksRule Rule { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs index b02ce8fa2f..1e003fcfb1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEdited.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookBranchProtectionRuleEdited public required global::G.WebhooksRule Rule { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs index 45afedc71e..7fe3b08b34 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChanges.g.verified.cs @@ -39,6 +39,30 @@ public sealed partial class WebhookBranchProtectionRuleEditedChanges [global::System.Text.Json.Serialization.JsonPropertyName("linear_history_requirement_enforcement_level")] public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? LinearHistoryRequirementEnforcementLevel { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lock_branch_enforcement_level")] + public global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? LockBranchEnforcementLevel { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lock_allows_fork_sync")] + public global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? LockAllowsForkSync { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_reviews_enforcement_level")] + public global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? PullRequestReviewsEnforcementLevel { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("require_last_push_approval")] + public global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? RequireLastPushApproval { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs new file mode 100644 index 0000000000..801a59a05f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync), + jsonSerializerContext) as global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..1146769336 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel), + jsonSerializerContext) as global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..3aae641dc8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom + { + /// + /// + /// + Off, + /// + /// + /// + NonAdmins, + /// + /// + /// + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom value) + { + return value switch + { + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Off => "off", + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.NonAdmins => "non_admins", + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? ToEnum(string value) + { + return value switch + { + "off" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Off, + "non_admins" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.NonAdmins, + "everyone" => WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..33adef4298 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel), + jsonSerializerContext) as global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..4e600b15ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom + { + /// + /// + /// + Off, + /// + /// + /// + NonAdmins, + /// + /// + /// + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom value) + { + return value switch + { + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Off => "off", + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.NonAdmins => "non_admins", + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? ToEnum(string value) + { + return value switch + { + "off" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Off, + "non_admins" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.NonAdmins, + "everyone" => WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs new file mode 100644 index 0000000000..ce38e42b30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.Models.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval), + jsonSerializerContext) as global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs index 23c5bfa1a3..3944021cad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCompleted.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookCheckRunCompleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs index 16c1a92aaf..ca5999d4af 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunCreated.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookCheckRunCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs index bd34725814..92a1f4f44b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRequestedAction.g.verified.cs @@ -53,11 +53,11 @@ public sealed partial class WebhookCheckRunRequestedAction public global::G.WebhookCheckRunRequestedActionRequestedAction? RequestedAction { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs index 0d3aa8d01a..3e80209cce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckRunRerequested.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookCheckRunRerequested public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs index 1ab887c6b8..ff51f3d714 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookCheckSuiteCompleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs index 3d93c17cd6..7c051deaef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.verified.cs @@ -50,6 +50,12 @@ public sealed partial class WebhookCheckSuiteCompletedCheckSuiteApp [global::System.Text.Json.Serialization.JsonRequired] public required int? Id { get; set; } + /// + /// The client ID of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs index 4b599d36fd..c477b23bdb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequested.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookCheckSuiteRequested public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs index 3364f182f1..245682bf8a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.verified.cs @@ -50,6 +50,12 @@ public sealed partial class WebhookCheckSuiteRequestedCheckSuiteApp [global::System.Text.Json.Serialization.JsonRequired] public required int? Id { get; set; } + /// + /// Client ID of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs index 4923b47c95..b36a78cda2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequested.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookCheckSuiteRerequested public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs index 3c48bd4f69..50dae977a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.verified.cs @@ -50,6 +50,12 @@ public sealed partial class WebhookCheckSuiteRerequestedCheckSuiteApp [global::System.Text.Json.Serialization.JsonRequired] public required int? Id { get; set; } + /// + /// The Client ID for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + /// /// The name of the GitHub app /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs index e4abaa47ce..729a9718e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertAppearedInBranch.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertAppearedInBranch public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs index c96085a42a..195c2d8610 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertClosedByUser.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertClosedByUser public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs index 26e6694ab4..acde140deb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertCreated.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs index f5c75b12df..9bad6e7557 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertFixed.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertFixed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs index 2ebcfdd3aa..dcc26d7f29 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopened.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs index 0d65b78046..6199ad36e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCodeScanningAlertReopenedByUser.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookCodeScanningAlertReopenedByUser public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs index 287f6b3d06..40e6dcaa90 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreated.g.verified.cs @@ -17,7 +17,7 @@ public sealed partial class WebhookCommitCommentCreated public global::G.WebhookCommitCommentCreatedAction Action { get; set; } /// - /// The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. + /// The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. /// [global::System.Text.Json.Serialization.JsonPropertyName("comment")] [global::System.Text.Json.Serialization.JsonRequired] @@ -55,11 +55,11 @@ public sealed partial class WebhookCommitCommentCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs index f1f87c980c..8bc04c4c00 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedComment.g.verified.cs @@ -5,7 +5,7 @@ namespace G { /// - /// The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. + /// The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. /// public sealed partial class WebhookCommitCommentCreatedComment { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs index a8b450c962..c5c50fde7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCommitCommentCreatedCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookCommitCommentCreatedCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCreate.g.verified.cs index 8a4fc58b50..40458b5b32 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCreate.g.verified.cs @@ -77,11 +77,11 @@ public sealed partial class WebhookCreate public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs index 6af2fa963a..9e16e3033d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyCreated.g.verified.cs @@ -21,7 +21,7 @@ public sealed partial class WebhookCustomPropertyCreated /// [global::System.Text.Json.Serialization.JsonPropertyName("definition")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrgCustomProperty Definition { get; set; } + public required global::G.CustomProperty Definition { get; set; } /// /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -44,14 +44,13 @@ public sealed partial class WebhookCustomPropertyCreated /// organization, or when the event occurs from activity in a repository owned by an organization. ///
[global::System.Text.Json.Serialization.JsonPropertyName("organization")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrganizationSimpleWebhooks Organization { get; set; } + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs index af9757729a..a33d29a30b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyDeleted.g.verified.cs @@ -44,14 +44,13 @@ public sealed partial class WebhookCustomPropertyDeleted /// organization, or when the event occurs from activity in a repository owned by an organization. /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrganizationSimpleWebhooks Organization { get; set; } + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs index ec123fc480..8d6a438855 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyUpdated.g.verified.cs @@ -21,7 +21,7 @@ public sealed partial class WebhookCustomPropertyUpdated /// [global::System.Text.Json.Serialization.JsonPropertyName("definition")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrgCustomProperty Definition { get; set; } + public required global::G.CustomProperty Definition { get; set; } /// /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -44,14 +44,13 @@ public sealed partial class WebhookCustomPropertyUpdated /// organization, or when the event occurs from activity in a repository owned by an organization. ///
[global::System.Text.Json.Serialization.JsonPropertyName("organization")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.OrganizationSimpleWebhooks Organization { get; set; } + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs index 6f5b2ec820..2c2e23f444 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookCustomPropertyValuesUpdated.g.verified.cs @@ -49,10 +49,10 @@ public sealed partial class WebhookCustomPropertyValuesUpdated public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// The new custom property values for the repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDelete.g.verified.cs index a88ab7e63d..eaf562c68b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDelete.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDelete.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookDelete public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs index e9299bfb91..b60103843c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoDismissed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertAutoDismissed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs index d06ef81d65..f7797872f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertAutoReopened.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertAutoReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs index 5487a73e07..0287dc6ec5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs index 003d693402..9e6b560f10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertDismissed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertDismissed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs index ccfb878999..93c632e58e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertFixed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertFixed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs index f298b98ae5..fa39fcdd19 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReintroduced.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertReintroduced public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs index 3f643135f2..3e3e1d282b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDependabotAlertReopened.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDependabotAlertReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs index fe1595bc09..5386953cf3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDeployKeyCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs index 1a8bdfa90f..858588ca72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeployKeyDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDeployKeyDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs index c0870c5625..7c2fa79d04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDeploymentCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs index 036ab85dc6..bfff7f1d61 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentProtectionRuleRequested.g.verified.cs @@ -69,10 +69,10 @@ public sealed partial class WebhookDeploymentProtectionRuleRequested public global::G.SimpleInstallation? Installation { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs index 9e1702b4d5..a4999cf55e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewApproved.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookDeploymentReviewApproved public global::System.Collections.Generic.IList? Reviewers { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs index 12da485fff..df187277e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRejected.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookDeploymentReviewRejected public global::System.Collections.Generic.IList? Reviewers { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs index d4ec013085..4a88418f77 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentReviewRequested.g.verified.cs @@ -70,11 +70,11 @@ public sealed partial class WebhookDeploymentReviewRequested public required global::System.Collections.Generic.IList Reviewers { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs index d6b92f6be4..6939e7e667 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDeploymentStatusCreated.g.verified.cs @@ -68,11 +68,11 @@ public sealed partial class WebhookDeploymentStatusCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs index a2789ac976..e5bfef4ab2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionAnswered.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionAnswered public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs index 58d4b5a416..7841bfb9a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCategoryChanged.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionCategoryChanged public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs index 93b9cb7d79..69bdf940cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionClosed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionClosed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs index fae4595964..ee268d3d8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentCreated.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionCommentCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs index 1f4c8b6a03..5c56bbc5e9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentDeleted.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionCommentDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs index 25bcb6c312..ae23508826 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCommentEdited.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookDiscussionCommentEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs index 3e91ea5cc7..9b06557f6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs index 6a05b7c1e0..6ef15276ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs index 2ef1cc694e..707df27849 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionEdited.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookDiscussionEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs index 619b706921..12461fdb28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLabeled.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionLabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs index d84643eacd..874f2a88f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionLocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionLocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs index 624adc660e..bc62a9c221 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionPinned.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionPinned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs index 175fbf20cf..2b07b71b51 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionReopened.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs index 39ab4ce6e7..61195d5c4b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionTransferred.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionTransferred public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs index 2ea91a447a..c9716e78a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnanswered.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookDiscussionUnanswered public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs index e15a8ab6db..dafdacd2fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlabeled.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookDiscussionUnlabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs index 53c131f36d..034a91dc61 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnlocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionUnlocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs index 5503afbf6b..c88019fca7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookDiscussionUnpinned.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookDiscussionUnpinned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookFork.g.verified.cs index 58d2cc9c7e..1622fd7304 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookFork.g.verified.cs @@ -51,11 +51,11 @@ public sealed partial class WebhookFork public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs index 5e5bdcb825..d8747ba759 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookForkForkeeVariant1.g.verified.cs @@ -144,12 +144,6 @@ public sealed partial class WebhookForkForkeeVariant1 [global::System.Text.Json.Serialization.JsonRequired] public required global::G.OneOf CreatedAt { get; set; } - /// - /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } - /// /// The default branch of the repository. /// @@ -326,7 +320,7 @@ public sealed partial class WebhookForkForkeeVariant1 /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs index 25a49ba7af..7ea95e7cd3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGithubAppAuthorizationRevoked.g.verified.cs @@ -17,11 +17,11 @@ public sealed partial class WebhookGithubAppAuthorizationRevoked public global::G.WebhookGithubAppAuthorizationRevokedAction Action { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGollum.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGollum.g.verified.cs index 0f952af797..a0c6d5a13d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGollum.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookGollum.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookGollum public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationCreated.g.verified.cs index a71de86eb0..8498f94429 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationCreated.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookInstallationCreated public global::G.WebhooksUser? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs index bdd79a08cb..f30ccf5fb7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationDeleted.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookInstallationDeleted public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs index 66afde7168..043da12cd7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationNewPermissionsAccepted.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookInstallationNewPermissionsAccepted public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs index f51312962b..429941ded8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesAdded.g.verified.cs @@ -75,11 +75,11 @@ public sealed partial class WebhookInstallationRepositoriesAdded public required global::G.WebhooksUser? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs index 91dc353bac..14de313e33 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationRepositoriesRemoved.g.verified.cs @@ -75,11 +75,11 @@ public sealed partial class WebhookInstallationRepositoriesRemoved public required global::G.WebhooksUser? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs index 5d7c7e16da..fec7bcaf0c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationSuspend.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookInstallationSuspend public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs index 687d5ad384..52678911d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationTargetRenamed.g.verified.cs @@ -62,10 +62,10 @@ public sealed partial class WebhookInstallationTargetRenamed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs index 7c23c15dfb..7a0a70a618 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookInstallationUnsuspend.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookInstallationUnsuspend public object? Requester { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs index 2c9e3bad5b..6bae8909cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreated.g.verified.cs @@ -65,11 +65,11 @@ public sealed partial class WebhookIssueCommentCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs index 0032de54aa..1bfade9bac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssueCommentCreatedCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs index 68e467aac8..16f21d8616 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant1User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssueCommentCreatedIssueVariant1User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs index 52da05698e..a9e5921512 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentCreatedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentCreatedIssueVariant2User /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs index b799dbf1ad..874b2028b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeleted.g.verified.cs @@ -65,11 +65,11 @@ public sealed partial class WebhookIssueCommentDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs index fcf7946968..7f3d984592 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant1User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssueCommentDeletedIssueVariant1User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs index ec6dc410f8..e9c3fb2a41 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentDeletedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentDeletedIssueVariant2User /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs index 4e8404d356..8f724eeb06 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEdited.g.verified.cs @@ -72,11 +72,11 @@ public sealed partial class WebhookIssueCommentEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs index e9e766020f..5c71d51998 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant1User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssueCommentEditedIssueVariant1User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs index 4926923a1e..11e228e914 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssueCommentEditedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssueCommentEditedIssueVariant2User /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs index fc0a2d6491..fd1014b84a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesAssigned.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesAssigned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosed.g.verified.cs index cf98cd4667..50952ccf53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosed.g.verified.cs @@ -58,11 +58,11 @@ public sealed partial class WebhookIssuesClosed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs index 1afad7cc95..fa2fec6752 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant1User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesClosedIssueVariant1User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs index f736414030..b786f0179c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesClosedIssueVariant2User.g.verified.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookIssuesClosedIssueVariant2User /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + public long? Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs index dba77d2855..4aa8979068 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs index 658a43d596..60c43ef5e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDeletedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesDeletedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs index d33e4c5d41..064b80c337 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestoned.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesDemilestoned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs index ed2ea90e65..7bafcaf63d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesDemilestonedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesDemilestonedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEdited.g.verified.cs index d4d7262ae9..45e74b97d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEdited.g.verified.cs @@ -68,11 +68,11 @@ public sealed partial class WebhookIssuesEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs index 46efdb8ab1..617a10af11 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesEditedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesEditedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs index e84416aad3..2ea6079c53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeled.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesLabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs index 73a7474f64..c8af1e5f70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLabeledIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesLabeledIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLocked.g.verified.cs index d542f7553c..8bef515a45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesLocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs index e7e0347a44..a0d1e2f297 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesLockedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesLockedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs index 7796c72ded..049983eb78 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestoned.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookIssuesMilestoned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs index 1a21b2e7c8..77cc9c89cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesMilestonedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesMilestonedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpened.g.verified.cs index c57c2a7064..970b2ef879 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpened.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesOpened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs index f3ace1787e..0898703ad9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs index fc5625f869..6007749f10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedChangesOldRepository.g.verified.cs @@ -332,7 +332,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs index 18f0bf1ad3..549168dfba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesOpenedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesOpenedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesPinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesPinned.g.verified.cs index 0ea0d73835..e2b0bcf070 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesPinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesPinned.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesPinned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopened.g.verified.cs index 7e3597e096..edb5b7a0a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopened.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs index 8bdcb4303f..e21607dc8a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesReopenedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesReopenedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs index 9b76dd30be..09359a9006 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferred.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookIssuesTransferred public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs index 9ff68768d1..7ee6c5bf2c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs index 49faf9d6c7..4d4034949f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesTransferredChangesNewRepository.g.verified.cs @@ -334,7 +334,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs index d73d7b46b0..1d03672bd8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnassigned.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesUnassigned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs index 4608e24066..6e6981b11a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlabeled.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookIssuesUnlabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs index e51e26a57b..0de5519ed5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesUnlocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs index ca4b302efe..f78a836bcb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnlockedIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookIssuesUnlockedIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs index 716ed09344..f1ab2500f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookIssuesUnpinned.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookIssuesUnpinned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelCreated.g.verified.cs index 093cb4e559..a0d627473a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelCreated.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookLabelCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelDeleted.g.verified.cs index f45fa977e4..dbaeff4a72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookLabelDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelEdited.g.verified.cs index ed02131e50..e0384c88c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookLabelEdited.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookLabelEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs index 5f51d6adfd..334819cf3f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseCancelled.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookMarketplacePurchaseCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs index c4e9f7eac7..358c5b5e09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchaseChanged.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookMarketplacePurchaseChanged public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs index 580e41c47a..a20f22e73c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChange.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookMarketplacePurchasePendingChange public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs index 79347d2398..ac6cc1b600 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePendingChangeCancelled.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookMarketplacePurchasePendingChangeCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs index f3f9087e47..0af38ae8ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMarketplacePurchasePurchased.g.verified.cs @@ -67,11 +67,11 @@ public sealed partial class WebhookMarketplacePurchasePurchased public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberAdded.g.verified.cs index 2d64dfdcde..71fc85db66 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberAdded.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookMemberAdded public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberEdited.g.verified.cs index 4e685c26c7..c33eab94c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberEdited.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookMemberEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberRemoved.g.verified.cs index 38d0e5c723..43c1b20f62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMemberRemoved.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookMemberRemoved public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs index 3fd30ef899..7a6ff132e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupChecksRequested.g.verified.cs @@ -46,10 +46,10 @@ public sealed partial class WebhookMergeGroupChecksRequested public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs index 05d0a9e685..1df18a2d4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMergeGroupDestroyed.g.verified.cs @@ -53,10 +53,10 @@ public sealed partial class WebhookMergeGroupDestroyed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMetaDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMetaDeleted.g.verified.cs index c04d16476a..a2ae257d04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMetaDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMetaDeleted.g.verified.cs @@ -61,10 +61,10 @@ public sealed partial class WebhookMetaDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs index ea6e05e2a4..fd017e5d9c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneClosed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookMilestoneClosed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs index 78dc5ff68a..11b6289691 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookMilestoneCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs index d7269ff161..83a4752f20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookMilestoneDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs index 0cf711a95a..fcd3f8229b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneEdited.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookMilestoneEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs index 11eae309d4..9d0c439819 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookMilestoneOpened.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookMilestoneOpened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs index cc349d0b73..ed54ebf15e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockBlocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookOrgBlockBlocked public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs index d2fda21567..3f49ff64de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrgBlockUnblocked.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookOrgBlockUnblocked public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs index c5922b9f72..5d9f464306 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationDeleted.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookOrganizationDeleted public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs index ecc584f994..707165e633 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberAdded.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookOrganizationMemberAdded public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs index a32fd45d26..8c6cd3e609 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberInvited.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookOrganizationMemberInvited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs index 31bde2767c..19c62274c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationMemberRemoved.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookOrganizationMemberRemoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs index e4692651ae..1c8f2fbb03 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookOrganizationRenamed.g.verified.cs @@ -60,11 +60,11 @@ public sealed partial class WebhookOrganizationRenamed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackagePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackagePublished.g.verified.cs index 1ad86c7b35..8959006354 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackagePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackagePublished.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookPackagePublished public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackageUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackageUpdated.g.verified.cs index 840544ed4c..62eaba52ca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackageUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPackageUpdated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookPackageUpdated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPageBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPageBuild.g.verified.cs index 7ff43c3a86..e9872d231a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPageBuild.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPageBuild.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookPageBuild public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs index de1f48d7f2..49a2cb739b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestApproved.g.verified.cs @@ -23,6 +23,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestApproved [global::System.Text.Json.Serialization.JsonRequired] public required global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -32,11 +40,11 @@ public sealed partial class WebhookPersonalAccessTokenRequestApproved public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs index fce32336fb..2263558859 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCancelled.g.verified.cs @@ -23,6 +23,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestCancelled [global::System.Text.Json.Serialization.JsonRequired] public required global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -32,11 +40,11 @@ public sealed partial class WebhookPersonalAccessTokenRequestCancelled public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs index b65df045bf..7004ff6bc8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestCreated.g.verified.cs @@ -23,6 +23,14 @@ public sealed partial class WebhookPersonalAccessTokenRequestCreated [global::System.Text.Json.Serialization.JsonRequired] public required global::G.PersonalAccessTokenRequest PersonalAccessTokenRequest { get; set; } + /// + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
/// organization, or when the event occurs from activity in a repository owned by an organization. @@ -32,11 +40,11 @@ public sealed partial class WebhookPersonalAccessTokenRequestCreated public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -44,8 +52,7 @@ public sealed partial class WebhookPersonalAccessTokenRequestCreated /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." ///
[global::System.Text.Json.Serialization.JsonPropertyName("installation")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleInstallation Installation { get; set; } + public global::G.SimpleInstallation? Installation { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs index 6f2b1dde35..027dd2cab1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPersonalAccessTokenRequestDenied.g.verified.cs @@ -32,11 +32,19 @@ public sealed partial class WebhookPersonalAccessTokenRequestDenied public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
+ /// on an enterprise account or an organization that's part of an enterprise account. For more information,
+ /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enterprise")] + public global::G.EnterpriseWebhooks? Enterprise { get; set; } + + /// + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPing.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPing.g.verified.cs index 2e2cfe427d..fcdaaeaa12 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPing.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPing.g.verified.cs @@ -36,10 +36,10 @@ public sealed partial class WebhookPing public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Random string of GitHub zen. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs index 34cbe6bfdf..b11584df3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardConverted.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookProjectCardConverted public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs index ecabc88015..0288ce093d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardCreated.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectCardCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs index 6f8c51fdd4..ea5b0cd186 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardDeleted.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectCardDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs index 1c44f31de7..64df2e0996 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardEdited.g.verified.cs @@ -61,11 +61,11 @@ public sealed partial class WebhookProjectCardEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs index 079b60316f..e4afd3f469 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCardMoved.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookProjectCardMoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectClosed.g.verified.cs index 7f07e06a71..e22eb5ab3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectClosed.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectClosed public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs index a5b50b46ac..bf56cfbd1a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnCreated.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookProjectColumnCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs index 9a41a186c2..012b5a2b9b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnDeleted.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookProjectColumnDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs index 23e0d58062..d5f0a1dfd2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnEdited.g.verified.cs @@ -61,10 +61,10 @@ public sealed partial class WebhookProjectColumnEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs index 8751348111..4809038fbf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectColumnMoved.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectColumnMoved public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCreated.g.verified.cs index 722893b4dc..c2d0d2ccb3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectCreated.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectDeleted.g.verified.cs index 1e1ff381b3..541f992777 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectDeleted.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookProjectDeleted public global::G.NullableRepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectEdited.g.verified.cs index 2bbfdfca33..9cb539f9fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectEdited.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookProjectEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectReopened.g.verified.cs index 6dd0ae3b5d..2cf7bfad29 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectReopened.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookProjectReopened public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs index c1706062d2..b39d0e8254 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemArchived.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookProjectsV2ItemArchived public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs index dcb7688633..4bbf23b362 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemConverted.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookProjectsV2ItemConverted public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs index 0594710893..6d01a1735c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemCreated.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ItemCreated public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs index 8b61497067..efe87e1bc3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemDeleted.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ItemDeleted public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs index 9fb3855836..a5f9c0e5c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEdited.g.verified.cs @@ -19,7 +19,8 @@ public sealed partial class WebhookProjectsV2ItemEdited public global::G.WebhookProjectsV2ItemEditedAction Action { get; set; } /// - /// + /// The changes made to the item may involve modifications in the item's fields and draft issue body.
+ /// It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. ///
[global::System.Text.Json.Serialization.JsonPropertyName("changes")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] @@ -49,11 +50,11 @@ public sealed partial class WebhookProjectsV2ItemEdited public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs index 315bac72d8..d7f27d7e48 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -21,6 +23,32 @@ public sealed partial class WebhookProjectsV2ItemEditedChangesVariant1FieldValue [global::System.Text.Json.Serialization.JsonPropertyName("field_type")] public string? FieldType { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field_name")] + public string? FieldName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_number")] + public int? ProjectNumber { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory4))] + public global::G.OneOf? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory4))] + public global::G.OneOf? To { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs index 7a74151e4f..14bdd915df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemReordered.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookProjectsV2ItemReordered public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs index ea65d80e24..3fadc53267 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ItemRestored.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookProjectsV2ItemRestored public required global::G.ProjectsV2Item ProjectsV2Item { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs index 77da608249..cfee0d61f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectClosed.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ProjectClosed public required global::G.ProjectsV2 ProjectsV2 { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs index 385acf2fab..35c81fe2cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectCreated.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ProjectCreated public required global::G.ProjectsV2 ProjectsV2 { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs index 9a6de9504d..5b62bffe0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectDeleted.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ProjectDeleted public required global::G.ProjectsV2 ProjectsV2 { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs index fa981f65c4..c8f227484a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectEdited.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookProjectsV2ProjectEdited public required global::G.ProjectsV2 ProjectsV2 { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs index d37b89ad08..a5041fbb5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2ProjectReopened.g.verified.cs @@ -40,11 +40,11 @@ public sealed partial class WebhookProjectsV2ProjectReopened public required global::G.ProjectsV2 ProjectsV2 { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs new file mode 100644 index 0000000000..b1de31e68a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreated.g.verified.cs @@ -0,0 +1,113 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateCreated.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateCreated + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionJsonConverter))] + public global::G.WebhookProjectsV2StatusUpdateCreatedAction Action { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.OrganizationSimpleWebhooks Organization { get; set; } + + /// + /// An status update belonging to a project + /// + [global::System.Text.Json.Serialization.JsonPropertyName("projects_v2_status_update")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.SimpleUser Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateCreated? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateCreated), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateCreated; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateCreated? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs new file mode 100644 index 0000000000..abb298326b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateCreatedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookProjectsV2StatusUpdateCreatedAction + { + /// + /// + /// + Created, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateCreatedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateCreatedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateCreatedAction.Created => "created", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateCreatedAction? ToEnum(string value) + { + return value switch + { + "created" => WebhookProjectsV2StatusUpdateCreatedAction.Created, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs new file mode 100644 index 0000000000..5a94b565fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeleted.g.verified.cs @@ -0,0 +1,113 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateDeleted.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateDeleted + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionJsonConverter))] + public global::G.WebhookProjectsV2StatusUpdateDeletedAction Action { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.OrganizationSimpleWebhooks Organization { get; set; } + + /// + /// An status update belonging to a project + /// + [global::System.Text.Json.Serialization.JsonPropertyName("projects_v2_status_update")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.SimpleUser Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateDeleted? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateDeleted), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateDeleted; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateDeleted? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs new file mode 100644 index 0000000000..21970b3377 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateDeletedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookProjectsV2StatusUpdateDeletedAction + { + /// + /// + /// + Deleted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateDeletedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateDeletedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateDeletedAction.Deleted => "deleted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateDeletedAction? ToEnum(string value) + { + return value switch + { + "deleted" => WebhookProjectsV2StatusUpdateDeletedAction.Deleted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs similarity index 72% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs index bb4b1e6d36..0a3bbe76ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertRevoked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEdited.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.Models.WebhookSecretScanningAlertRevoked.g.cs +//HintName: G.Models.WebhookProjectsV2StatusUpdateEdited.g.cs #nullable enable @@ -7,29 +7,20 @@ namespace G /// /// /// - public sealed partial class WebhookSecretScanningAlertRevoked + public sealed partial class WebhookProjectsV2StatusUpdateEdited { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("action")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookSecretScanningAlertRevokedActionJsonConverter))] - public global::G.WebhookSecretScanningAlertRevokedAction Action { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionJsonConverter))] + public global::G.WebhookProjectsV2StatusUpdateEditedAction Action { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("alert")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SecretScanningAlertWebhook Alert { get; set; } - - /// - /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
- /// on an enterprise account or an organization that's part of an enterprise account. For more information,
- /// see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("enterprise")] - public global::G.EnterpriseWebhooks? Enterprise { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("changes")] + public global::G.WebhookProjectsV2StatusUpdateEditedChanges? Changes { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -44,21 +35,22 @@ public sealed partial class WebhookSecretScanningAlertRevoked /// organization, or when the event occurs from activity in a repository owned by an organization. ///
[global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.OrganizationSimpleWebhooks Organization { get; set; } /// - /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
- /// when the event occurs from activity in a repository. + /// An status update belonging to a project ///
- [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + [global::System.Text.Json.Serialization.JsonPropertyName("projects_v2_status_update")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.RepositoryWebhooks Repository { get; set; } + public required global::G.ProjectsV2StatusUpdate ProjectsV2StatusUpdate { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -97,14 +89,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::G.WebhookSecretScanningAlertRevoked? FromJson( + public static global::G.WebhookProjectsV2StatusUpdateEdited? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::G.WebhookSecretScanningAlertRevoked), - jsonSerializerContext) as global::G.WebhookSecretScanningAlertRevoked; + typeof(global::G.WebhookProjectsV2StatusUpdateEdited), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEdited; } /// @@ -114,11 +106,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::G.WebhookSecretScanningAlertRevoked? FromJson( + public static global::G.WebhookProjectsV2StatusUpdateEdited? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs new file mode 100644 index 0000000000..54650babdc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookProjectsV2StatusUpdateEditedAction + { + /// + /// + /// + Edited, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedAction value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedAction.Edited => "edited", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedAction? ToEnum(string value) + { + return value switch + { + "edited" => WebhookProjectsV2StatusUpdateEditedAction.Edited, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs new file mode 100644 index 0000000000..a75d864b6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChanges.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChanges + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_date")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? StartDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("target_date")] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? TargetDate { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateEditedChanges? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateEditedChanges), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEditedChanges; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChanges? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs new file mode 100644 index 0000000000..9f87a4920a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesBody.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesBody + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + public string? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateEditedChangesBody), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEditedChangesBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs new file mode 100644 index 0000000000..17d542f563 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStartDate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesStartDate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public global::System.DateTime? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + public global::System.DateTime? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs new file mode 100644 index 0000000000..1c88c9b861 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesStatus + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromJsonConverter))] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToJsonConverter))] + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs new file mode 100644 index 0000000000..b11003a8d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookProjectsV2StatusUpdateEditedChangesStatusFrom + { + /// + /// + /// + INACTIVE, + /// + /// + /// + ONTRACK, + /// + /// + /// + ATRISK, + /// + /// + /// + OFFTRACK, + /// + /// + /// + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedChangesStatusFrom value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.INACTIVE => "INACTIVE", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ONTRACK => "ON_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ATRISK => "AT_RISK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.OFFTRACK => "OFF_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? ToEnum(string value) + { + return value switch + { + "INACTIVE" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.INACTIVE, + "ON_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ONTRACK, + "AT_RISK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.ATRISK, + "OFF_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.OFFTRACK, + "COMPLETE" => WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs new file mode 100644 index 0000000000..6e100f057c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookProjectsV2StatusUpdateEditedChangesStatusTo + { + /// + /// + /// + INACTIVE, + /// + /// + /// + ONTRACK, + /// + /// + /// + ATRISK, + /// + /// + /// + OFFTRACK, + /// + /// + /// + COMPLETE, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectsV2StatusUpdateEditedChangesStatusTo value) + { + return value switch + { + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.INACTIVE => "INACTIVE", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ONTRACK => "ON_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ATRISK => "AT_RISK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.OFFTRACK => "OFF_TRACK", + WebhookProjectsV2StatusUpdateEditedChangesStatusTo.COMPLETE => "COMPLETE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectsV2StatusUpdateEditedChangesStatusTo? ToEnum(string value) + { + return value switch + { + "INACTIVE" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.INACTIVE, + "ON_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ONTRACK, + "AT_RISK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.ATRISK, + "OFF_TRACK" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.OFFTRACK, + "COMPLETE" => WebhookProjectsV2StatusUpdateEditedChangesStatusTo.COMPLETE, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs new file mode 100644 index 0000000000..e32878f8ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.Models.WebhookProjectsV2StatusUpdateEditedChangesTargetDate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2StatusUpdateEditedChangesTargetDate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public global::System.DateTime? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + public global::System.DateTime? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate), + jsonSerializerContext) as global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPublic.g.verified.cs index 9c57f19fd1..8b11a54739 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPublic.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPublic.g.verified.cs @@ -41,11 +41,11 @@ public sealed partial class WebhookPublic public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs index 4f1a710322..7e582b90c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssigned.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestAssigned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs index 5cc5c91f40..9436ac6aff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs index a341b0eac0..b5de8e1647 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs index 4650aa7303..820524d950 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs index 83702cb318..a7ea1e2016 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs index 4c5069c9c1..9fd9111d73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAssignedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs index f75ea72b42..3dcf4d0af2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabled.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestAutoMergeDisabled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs index 077f7f0351..65d27baa41 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestBaseRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs index 35378bda09..adfa67c93f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestBaseUs /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs index 7381bc1bc6..fe77e0a42b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestHeadRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs index eb4e16fd3e..44bdb97d44 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestHeadUs /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs index fbb4dd9755..e744b3a918 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeDisabledPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs index a12d9d2db1..dffe5b9051 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabled.g.verified.cs @@ -68,11 +68,11 @@ public sealed partial class WebhookPullRequestAutoMergeEnabled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs index aa48091909..2cd0af7039 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestBaseRep /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs index f5f5ae2d6d..03cfc6eb1f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestBaseUse /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs index a778f7f2bd..cef9c5ab6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestHeadUse /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs index 5a939fa703..4a7c96c88e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestAutoMergeEnabledPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs index fbb863f3ee..b12aa0355c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestClosed.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookPullRequestClosed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs index 1894afe9b3..86c2e19496 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestConvertedToDraft.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookPullRequestConvertedToDraft public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs index d09e8df9b8..a5007690a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDemilestoned.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookPullRequestDemilestoned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs index e61dc4bc6f..743aedca04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeued.g.verified.cs @@ -57,8 +57,9 @@ public sealed partial class WebhookPullRequestDequeued /// /// [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookPullRequestDequeuedReasonJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required string Reason { get; set; } + public required global::G.WebhookPullRequestDequeuedReason Reason { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -69,11 +70,11 @@ public sealed partial class WebhookPullRequestDequeued public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs index cec57a41a2..980509681c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs index cc4911b8b5..2079cdd2f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs index 4a6c1ec1a6..93d42a12ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs index 7757dc3aca..6097f39edd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs index d8df6a995f..a3ae2b666d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs new file mode 100644 index 0000000000..087e032706 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestDequeuedReason.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.Models.WebhookPullRequestDequeuedReason.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedReason + { + /// + /// + /// + UNKNOWNREMOVALREASON, + /// + /// + /// + MANUAL, + /// + /// + /// + MERGE, + /// + /// + /// + MERGECONFLICT, + /// + /// + /// + CIFAILURE, + /// + /// + /// + CITIMEOUT, + /// + /// + /// + ALREADYMERGED, + /// + /// + /// + QUEUECLEARED, + /// + /// + /// + ROLLBACK, + /// + /// + /// + BRANCHPROTECTIONS, + /// + /// + /// + GITTREEINVALID, + /// + /// + /// + INVALIDMERGECOMMIT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedReason value) + { + return value switch + { + WebhookPullRequestDequeuedReason.UNKNOWNREMOVALREASON => "UNKNOWN_REMOVAL_REASON", + WebhookPullRequestDequeuedReason.MANUAL => "MANUAL", + WebhookPullRequestDequeuedReason.MERGE => "MERGE", + WebhookPullRequestDequeuedReason.MERGECONFLICT => "MERGE_CONFLICT", + WebhookPullRequestDequeuedReason.CIFAILURE => "CI_FAILURE", + WebhookPullRequestDequeuedReason.CITIMEOUT => "CI_TIMEOUT", + WebhookPullRequestDequeuedReason.ALREADYMERGED => "ALREADY_MERGED", + WebhookPullRequestDequeuedReason.QUEUECLEARED => "QUEUE_CLEARED", + WebhookPullRequestDequeuedReason.ROLLBACK => "ROLL_BACK", + WebhookPullRequestDequeuedReason.BRANCHPROTECTIONS => "BRANCH_PROTECTIONS", + WebhookPullRequestDequeuedReason.GITTREEINVALID => "GIT_TREE_INVALID", + WebhookPullRequestDequeuedReason.INVALIDMERGECOMMIT => "INVALID_MERGE_COMMIT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedReason? ToEnum(string value) + { + return value switch + { + "UNKNOWN_REMOVAL_REASON" => WebhookPullRequestDequeuedReason.UNKNOWNREMOVALREASON, + "MANUAL" => WebhookPullRequestDequeuedReason.MANUAL, + "MERGE" => WebhookPullRequestDequeuedReason.MERGE, + "MERGE_CONFLICT" => WebhookPullRequestDequeuedReason.MERGECONFLICT, + "CI_FAILURE" => WebhookPullRequestDequeuedReason.CIFAILURE, + "CI_TIMEOUT" => WebhookPullRequestDequeuedReason.CITIMEOUT, + "ALREADY_MERGED" => WebhookPullRequestDequeuedReason.ALREADYMERGED, + "QUEUE_CLEARED" => WebhookPullRequestDequeuedReason.QUEUECLEARED, + "ROLL_BACK" => WebhookPullRequestDequeuedReason.ROLLBACK, + "BRANCH_PROTECTIONS" => WebhookPullRequestDequeuedReason.BRANCHPROTECTIONS, + "GIT_TREE_INVALID" => WebhookPullRequestDequeuedReason.GITTREEINVALID, + "INVALID_MERGE_COMMIT" => WebhookPullRequestDequeuedReason.INVALIDMERGECOMMIT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs index 5b83400220..533a17b1f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEdited.g.verified.cs @@ -70,10 +70,10 @@ public sealed partial class WebhookPullRequestEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs index a448fb6dee..a158309850 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueued.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestEnqueued public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs index 2eda6ace25..45c083d01e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs index 491cc6412b..1f81cd4744 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs index 4ac1609fb0..d9f6cfd8fa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs index 556147632f..f266ac968d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs index 2dc987d18f..0780fd115a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestEnqueuedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs index 2fb777914e..9cce56242f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeled.g.verified.cs @@ -68,11 +68,11 @@ public sealed partial class WebhookPullRequestLabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs index 905e13fe2f..4bf5526b20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs index 53b30c2326..b0a545bf45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs index 53c97eda11..9527cb1e1b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs index e61fdf4023..9935ba2e4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs index 456b04f0ea..48497651f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLabeledPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs index 1f64a5f5fe..2dee7b3eb8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLocked.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestLocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs index 9d955f562a..d9ae79eb11 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs index 10f9478f84..af0b1fe5d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs index c15345b22b..e76cfb8a2f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs index b512721c0b..808c5b9b5d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs index 182453ff57..978d179e2c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestLockedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestLockedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs index 238bd03d86..514dad116e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestMilestoned.g.verified.cs @@ -60,10 +60,10 @@ public sealed partial class WebhookPullRequestMilestoned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs index 4f95fe4d60..2d59940038 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestOpened.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookPullRequestOpened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs index 043a041b64..9edcb16653 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReadyForReview.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookPullRequestReadyForReview public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs index 50f7e63f8a..b744f807fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReopened.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookPullRequestReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs index 10c3d1fef3..8e586d3363 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreated.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestReviewCommentCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs index e7980a1a82..1e1f624fcc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs index 6e76483e03..a8640071f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs index 3a3c0885ff..97660a6901 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs index 26d65a57d7..989b7211c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo.g.verified.cs @@ -327,7 +327,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs index a2c3443beb..51cc30ec99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs index 86753ca5bb..c12eddb8fa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentCreatedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestUse /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs index 16e4b93a4c..3eb2c59d45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeleted.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestReviewCommentDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs index d761ffb824..2dc6892cc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs index e03a9a28a3..090f1ffffd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs index 082b51a2c5..8abe1a99bd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs index 434f23df65..4d91dba7a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs index 0b0790e0eb..d53fb57139 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentDeletedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestUse /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs index dd60db34f7..91760990a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEdited.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewCommentEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs index 644d5d8429..2089ff1af3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestBase /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs index bc69613d50..b3a7e0962f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestBase /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs index 024ce438f7..c813432d9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestHead /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs index 8e39cc7734..48855ed1e2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestHead /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs index e772aa9c4e..6116f9df2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewCommentEditedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs index 3b863d212d..5ae5bf6700 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissed.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestReviewDismissed public required global::G.WebhookPullRequestReviewDismissedReview Review { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs index 352e2e0a86..ae28ac6521 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs index 812f467798..f08838b536 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs index cc4929a61f..fa961bbd3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs index 73a925eb25..e612cb14df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs index ad587ab83a..39b7651490 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs index 1c3ffdb747..e83b2b4a72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewDismissedReviewUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewDismissedReviewUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs index 8bfd86f866..68d47d64ac 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEdited.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewEdited public required global::G.WebhooksReview Review { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs index e12cd6fb71..1d1a42d388 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseRepo.g.verified.cs @@ -320,7 +320,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs index 2da99d08c2..c278b46d10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs index 40eeb9f23f..30ef76e868 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadRepo.g.verified.cs @@ -320,7 +320,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs index d03cdf6be0..e575449135 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs index b3635002ad..02eae7886f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewEditedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs index bddde0f783..4d30ee2ad7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1 public required global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? RequestedReviewer { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs index 5c7b0cdf2c..e13be5cebc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs index dcc405f7d7..e5714afa6d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs index 3039ba91a7..1913ad55a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs index 5cad358d49..2cd97d6421 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs index f6311c628c..08ea959cf8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs index 238f4edad0..55f71c7f54 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2 public required global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam RequestedTeam { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs index c6f854e15b..329a11740f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs index ec571fac59..0c266627be 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs index 0e309b73d2..4dfd503290 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs index 66a9f9b9cc..8d8cadf47b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs index 10fe1057df..06263a162e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs index be9da9fbeb..dd2815062c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1 public required global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? RequestedReviewer { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs index 22dd8fc10a..ca5b1f7f50 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs index f84df385ed..31e42113cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs index af193ddf15..3be93d1c37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs index 8162eff1df..783f5a8e19 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs index 2088eff34d..1d1190125f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant1PullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs index 612811c4ea..15a70b1997 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2.g.verified.cs @@ -69,11 +69,11 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2 public required global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeam RequestedTeam { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs index 2178d21966..bf45d6e2f7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs index 2dce8550a8..5614181a05 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs index 9032994325..c4be7f3a74 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs index a6ec2b014c..ea303e0001 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs index 1c244af77e..aaf361ae96 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewRequestedVariant2PullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs index 7200fbe8f1..3da793b2e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmitted.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestReviewSubmitted public required global::G.WebhooksReview Review { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs index f85222558d..1db6568e55 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs index a3f5136136..1648c4c2d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs index f2cbae2638..b33e2a0be0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs index 81ec342137..a3fa0ffd08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs index 186b768f61..a5b31cd07a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewSubmittedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs index dcb5c27b3d..7dec8b2540 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolved.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookPullRequestReviewThreadResolved public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs index 7062342f77..85197303f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs index c50da2e410..c6cf16f18e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestBas /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs index 721404fbcb..f0d6460658 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs index 326ad4b0a6..0cece9a95b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestHea /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs index e3cce33d03..57cdb06aed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestUse /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs index df878b001f..79817262a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentU /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs index 3062e29643..613f8a2bd5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolved.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolved public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs index 897939fa1f..48a550222b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestB /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs index a38c448841..afc580c510 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestB /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs index f3be02143f..c3ee581f0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestH /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs index edf1a18282..bfa393e493 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestH /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs index d430a3136c..cf4b1af1cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestU /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs index cc1ef31420..7164b4e2b6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommen /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs index e7ba017efa..7fd4228f44 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronize.g.verified.cs @@ -76,11 +76,11 @@ public sealed partial class WebhookPullRequestSynchronize public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs index 988019d2d3..98c87532dc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs index 53851fbeb2..5132630b15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs index 8fcded1685..a4c8831972 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs index e2d851a827..83d1b35462 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs index bf2d7dfeee..f7394eb108 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestSynchronizePullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs index cc8ada5d59..216af5a2f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassigned.g.verified.cs @@ -68,10 +68,10 @@ public sealed partial class WebhookPullRequestUnassigned public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs index 8b20fb09c5..c2493c4d39 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs index 0b42b37d8d..63f964b0c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs index 8a878021c5..f92db58841 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs index 5b2bba1e82..8294cf329b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs index 7f14c66209..4a24f7c936 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnassignedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs index b2b43c9eab..fa1d69369a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeled.g.verified.cs @@ -68,11 +68,11 @@ public sealed partial class WebhookPullRequestUnlabeled public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs index c3fd06ceee..4de1777e37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs index 14d88f4d46..1cc5ab7c1d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs index 5668bd4e92..0717ecb793 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs index 0ab6e36be8..c243bc4305 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs index 6f8aef57fe..9aeba48a69 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlabeledPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs index 836010c7c4..097bab05a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlocked.g.verified.cs @@ -62,11 +62,11 @@ public sealed partial class WebhookPullRequestUnlocked public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs index b6b6f41945..d2195e05c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestBaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs index 3ac5ac7050..6f4a7fdb5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestBaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestBaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs index e7bffbddf3..6020400e9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestHeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs index 162a74e8f0..7803285ee9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestHeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestHeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs index fc6e635eca..fea55b594e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPullRequestUnlockedPullRequestUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequestUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPush.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPush.g.verified.cs index 5c6a9669a3..ad8ea22bd9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPush.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPush.g.verified.cs @@ -117,10 +117,10 @@ public sealed partial class WebhookPush public required global::G.WebhookPushRepository Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPushRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPushRepository.g.verified.cs index 0ca5aa7e00..2bd2d63d62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPushRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookPushRepository.g.verified.cs @@ -334,7 +334,7 @@ public sealed partial class WebhookPushRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs index 3da27d58b2..9cf037edec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackagePublished.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookRegistryPackagePublished public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs index e0d93c27be..deefac12a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRegistryPackageUpdated.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookRegistryPackageUpdated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseCreated.g.verified.cs index 4e018d9834..266d1cd045 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseCreated.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookReleaseCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs index c6c6e1fdc2..4555d0a0e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseDeleted.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookReleaseDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseEdited.g.verified.cs index 46722cef02..a91ac0bfe4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseEdited.g.verified.cs @@ -62,10 +62,10 @@ public sealed partial class WebhookReleaseEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs index 1ab2bef6ca..db123dd62d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePrereleased.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookReleasePrereleased public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePublished.g.verified.cs index c0efb96411..e0696397d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleasePublished.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookReleasePublished public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseReleased.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseReleased.g.verified.cs index ebd6605a33..fea1b3688b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseReleased.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseReleased.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookReleaseReleased public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs index 3510f8b309..8c7cc809f9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookReleaseUnpublished.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookReleaseUnpublished public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs index 9136f9d63d..960a7f2f38 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryPublished.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookRepositoryAdvisoryPublished public required global::G.RepositoryAdvisory RepositoryAdvisory { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs index f4dca6b96b..cefe0974ef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryAdvisoryReported.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookRepositoryAdvisoryReported public required global::G.RepositoryAdvisory RepositoryAdvisory { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs index 5783822fee..397ccfa74d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryArchived.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryArchived public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs index 019b4c7551..fa164a8f6e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryCreated.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs index 11b9c2d2b7..9ea399e588 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDeleted.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs index deb4a1fe41..3f2ccc8121 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryDispatchSample.g.verified.cs @@ -63,11 +63,11 @@ public sealed partial class WebhookRepositoryDispatchSample public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs index 3585aaaeb8..a8a4b0edfb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryEdited.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryEdited public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryImport.g.verified.cs index a273915c6a..e10a9ef428 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryImport.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryImport.g.verified.cs @@ -41,11 +41,11 @@ public sealed partial class WebhookRepositoryImport public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs index 353a1c70f0..c9f06b4b38 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPrivatized.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryPrivatized public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs index 98937e6e73..526b64464c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryPublicized.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryPublicized public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs index 27c2fb9f89..3e63874cb3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRenamed.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryRenamed public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs index d1839ac4d7..841f1e9b46 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetCreated.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookRepositoryRulesetCreated public required global::G.RepositoryRuleset RepositoryRuleset { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs index 7c4afebeba..112bfa66e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetDeleted.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookRepositoryRulesetDeleted public required global::G.RepositoryRuleset RepositoryRuleset { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs index 029e8d1edb..7e2c5df951 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryRulesetEdited.g.verified.cs @@ -60,11 +60,11 @@ public sealed partial class WebhookRepositoryRulesetEdited public global::G.WebhookRepositoryRulesetEditedChanges? Changes { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs index 67ab977c98..5321e45ee1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferred.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryTransferred public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs index 2505b6b893..c00c837611 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryTransferredChangesOwnerFromUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhookRepositoryTransferredChangesOwnerFromUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs index 7be6c3c6e3..e49645021b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryUnarchived.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookRepositoryUnarchived public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs index fad14de4d7..9765c54da0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertCreate.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertCreate public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs index 62655cb30f..088978792f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertDismiss.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertDismiss public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs index 78506d2366..c3f55dd3fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertReopen.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertReopen public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs index c33ae1afb7..a181c61f6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookRepositoryVulnerabilityAlertResolve.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookRepositoryVulnerabilityAlertResolve public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs index 480b47f312..eb77a6c55a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertCreated.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookSecretScanningAlertCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs index 15611a1d52..b73dcc7c66 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertLocationCreated.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookSecretScanningAlertLocationCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs index 49e5158c43..affeffbb51 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertReopened.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookSecretScanningAlertReopened public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs index 0f42cd306d..c950bb6629 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertResolved.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookSecretScanningAlertResolved public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs index 4935c4ae87..b2344b3210 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecretScanningAlertValidated.g.verified.cs @@ -55,10 +55,10 @@ public sealed partial class WebhookSecretScanningAlertValidated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs index 25e837ef08..9ebec91a1b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryPublished.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookSecurityAdvisoryPublished public required global::G.WebhooksSecurityAdvisory SecurityAdvisory { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs index e32fe53fac..6a9c342527 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryUpdated.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookSecurityAdvisoryUpdated public required global::G.WebhooksSecurityAdvisory SecurityAdvisory { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs index 6d3b0b0675..d87e7c42c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawn.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawn public required global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory SecurityAdvisory { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs index 8e219767e4..db596dcb8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.verified.cs @@ -16,6 +16,12 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory [global::System.Text.Json.Serialization.JsonRequired] public required global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss Cvss { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs index e0ff572f94..508f52a5b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSecurityAndAnalysis.g.verified.cs @@ -47,10 +47,10 @@ public sealed partial class WebhookSecurityAndAnalysis public required global::G.FullRepository Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs index 4f1c7108ae..a793e3fcd2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCancelled.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookSponsorshipCancelled public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs index cc789c5066..0a4507aa7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipCreated.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookSponsorshipCreated public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs index 4b83fd1e5d..d97baf7bd0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipEdited.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookSponsorshipEdited public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs index 24071b3243..54042907e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingCancellation.g.verified.cs @@ -53,11 +53,11 @@ public sealed partial class WebhookSponsorshipPendingCancellation public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs index 82d0a12b8e..e41acc58b2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipPendingTierChange.g.verified.cs @@ -60,11 +60,11 @@ public sealed partial class WebhookSponsorshipPendingTierChange public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs index acdb2e43ef..d48731304a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSponsorshipTierChanged.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookSponsorshipTierChanged public global::G.RepositoryWebhooks? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarCreated.g.verified.cs index 75b47f8aaa..7fa02503d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarCreated.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookStarCreated public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarDeleted.g.verified.cs index b9fe3138b2..b0bd65a66b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStarDeleted.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookStarDeleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStatus.g.verified.cs index 96d3cf02f8..08992aa2be 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookStatus.g.verified.cs @@ -96,11 +96,11 @@ public sealed partial class WebhookStatus public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// The Commit SHA. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs new file mode 100644 index 0000000000..75559b05b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAdded.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueAdded.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesParentIssueAdded + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueAddedActionJsonConverter))] + public global::G.WebhookSubIssuesParentIssueAddedAction Action { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double ParentIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue ParentIssue { get; set; } + + /// + /// A repository on GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Repository ParentIssueRepo { get; set; } + + /// + /// The ID of the sub-issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double SubIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue SubIssue { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookSubIssuesParentIssueAdded? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookSubIssuesParentIssueAdded), + jsonSerializerContext) as global::G.WebhookSubIssuesParentIssueAdded; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesParentIssueAdded? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..555a980086 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueAddedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueAddedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookSubIssuesParentIssueAddedAction + { + /// + /// + /// + ParentIssueAdded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesParentIssueAddedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesParentIssueAddedAction value) + { + return value switch + { + WebhookSubIssuesParentIssueAddedAction.ParentIssueAdded => "parent_issue_added", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesParentIssueAddedAction? ToEnum(string value) + { + return value switch + { + "parent_issue_added" => WebhookSubIssuesParentIssueAddedAction.ParentIssueAdded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs new file mode 100644 index 0000000000..d1c0cfa4d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemoved.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueRemoved.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesParentIssueRemoved + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueRemovedActionJsonConverter))] + public global::G.WebhookSubIssuesParentIssueRemovedAction Action { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double ParentIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue ParentIssue { get; set; } + + /// + /// A repository on GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Repository ParentIssueRepo { get; set; } + + /// + /// The ID of the sub-issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double SubIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue SubIssue { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookSubIssuesParentIssueRemoved? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookSubIssuesParentIssueRemoved), + jsonSerializerContext) as global::G.WebhookSubIssuesParentIssueRemoved; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesParentIssueRemoved? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..5a46ab24f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookSubIssuesParentIssueRemovedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookSubIssuesParentIssueRemovedAction + { + /// + /// + /// + ParentIssueRemoved, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesParentIssueRemovedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesParentIssueRemovedAction value) + { + return value switch + { + WebhookSubIssuesParentIssueRemovedAction.ParentIssueRemoved => "parent_issue_removed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesParentIssueRemovedAction? ToEnum(string value) + { + return value switch + { + "parent_issue_removed" => WebhookSubIssuesParentIssueRemovedAction.ParentIssueRemoved, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs new file mode 100644 index 0000000000..99f6b7817e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAdded.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueAdded.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesSubIssueAdded + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueAddedActionJsonConverter))] + public global::G.WebhookSubIssuesSubIssueAddedAction Action { get; set; } + + /// + /// The ID of the sub-issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double SubIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue SubIssue { get; set; } + + /// + /// A repository on GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Repository SubIssueRepo { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double ParentIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue ParentIssue { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookSubIssuesSubIssueAdded? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookSubIssuesSubIssueAdded), + jsonSerializerContext) as global::G.WebhookSubIssuesSubIssueAdded; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesSubIssueAdded? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..5fcf8ded43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueAddedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueAddedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookSubIssuesSubIssueAddedAction + { + /// + /// + /// + SubIssueAdded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesSubIssueAddedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesSubIssueAddedAction value) + { + return value switch + { + WebhookSubIssuesSubIssueAddedAction.SubIssueAdded => "sub_issue_added", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesSubIssueAddedAction? ToEnum(string value) + { + return value switch + { + "sub_issue_added" => WebhookSubIssuesSubIssueAddedAction.SubIssueAdded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs new file mode 100644 index 0000000000..d850653b18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemoved.g.verified.cs @@ -0,0 +1,146 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueRemoved.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class WebhookSubIssuesSubIssueRemoved + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueRemovedActionJsonConverter))] + public global::G.WebhookSubIssuesSubIssueRemovedAction Action { get; set; } + + /// + /// The ID of the sub-issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double SubIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue SubIssue { get; set; } + + /// + /// A repository on GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sub_issue_repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Repository SubIssueRepo { get; set; } + + /// + /// The ID of the parent issue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double ParentIssueId { get; set; } + + /// + /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_issue")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.Issue ParentIssue { get; set; } + + /// + /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
+ /// for and sent to a GitHub App. For more information,
+ /// see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("installation")] + public global::G.SimpleInstallation? Installation { get; set; } + + /// + /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
+ /// organization, or when the event occurs from activity in a repository owned by an organization. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public global::G.OrganizationSimpleWebhooks? Organization { get; set; } + + /// + /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
+ /// when the event occurs from activity in a repository. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + public global::G.RepositoryWebhooks? Repository { get; set; } + + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sender")] + public global::G.SimpleUser? Sender { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::G.WebhookSubIssuesSubIssueRemoved? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::G.WebhookSubIssuesSubIssueRemoved), + jsonSerializerContext) as global::G.WebhookSubIssuesSubIssueRemoved; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::G.WebhookSubIssuesSubIssueRemoved? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..56a974c5c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.WebhookSubIssuesSubIssueRemovedAction.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum WebhookSubIssuesSubIssueRemovedAction + { + /// + /// + /// + SubIssueRemoved, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookSubIssuesSubIssueRemovedActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookSubIssuesSubIssueRemovedAction value) + { + return value switch + { + WebhookSubIssuesSubIssueRemovedAction.SubIssueRemoved => "sub_issue_removed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookSubIssuesSubIssueRemovedAction? ToEnum(string value) + { + return value switch + { + "sub_issue_removed" => WebhookSubIssuesSubIssueRemovedAction.SubIssueRemoved, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAdd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAdd.g.verified.cs index 44ae69c25b..c12e916c70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAdd.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAdd.g.verified.cs @@ -41,11 +41,11 @@ public sealed partial class WebhookTeamAdd public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs index 3d47fa51a0..dca0eb6463 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepository.g.verified.cs @@ -47,10 +47,10 @@ public sealed partial class WebhookTeamAddedToRepository public global::G.WebhookTeamAddedToRepositoryRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs index dcd8be9207..0ea27d41e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamAddedToRepositoryRepository.g.verified.cs @@ -326,7 +326,7 @@ public sealed partial class WebhookTeamAddedToRepositoryRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreated.g.verified.cs index 929f6d6727..c83d393acc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreated.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreated.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookTeamCreated public global::G.WebhookTeamCreatedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs index 3383970b89..73f2f09dd0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamCreatedRepository.g.verified.cs @@ -326,7 +326,7 @@ public sealed partial class WebhookTeamCreatedRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeleted.g.verified.cs index 44a85997e9..399840510b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeleted.g.verified.cs @@ -47,10 +47,10 @@ public sealed partial class WebhookTeamDeleted public global::G.WebhookTeamDeletedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] - public global::G.SimpleUserWebhooks? Sender { get; set; } + public global::G.SimpleUser? Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs index 1b943fa3c3..327d6a53f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamDeletedRepository.g.verified.cs @@ -326,7 +326,7 @@ public sealed partial class WebhookTeamDeletedRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEdited.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEdited.g.verified.cs index 2dbca6c27a..34227cd093 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEdited.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEdited.g.verified.cs @@ -54,11 +54,11 @@ public sealed partial class WebhookTeamEdited public global::G.WebhookTeamEditedRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs index 4c14859c6b..86382edb56 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamEditedRepository.g.verified.cs @@ -326,7 +326,7 @@ public sealed partial class WebhookTeamEditedRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs index f412301926..3fdcddd03c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepository.g.verified.cs @@ -47,11 +47,11 @@ public sealed partial class WebhookTeamRemovedFromRepository public global::G.WebhookTeamRemovedFromRepositoryRepository? Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Groups of organization members that gives permissions on specified repositories. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs index 57fee12b8a..434e27a8b6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookTeamRemovedFromRepositoryRepository.g.verified.cs @@ -326,7 +326,7 @@ public sealed partial class WebhookTeamRemovedFromRepositoryRepository /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWatchStarted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWatchStarted.g.verified.cs index 6a49b0b28c..c9e508dfec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWatchStarted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWatchStarted.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWatchStarted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs index 52d9f6e9f2..99eb929fe7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowDispatch.g.verified.cs @@ -55,11 +55,11 @@ public sealed partial class WebhookWorkflowDispatch public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs index 55a0b6b3d9..1f6f52482d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobCompleted.g.verified.cs @@ -50,11 +50,11 @@ public sealed partial class WebhookWorkflowJobCompleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs index 531c66e8bb..14bd042095 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobInProgress.g.verified.cs @@ -50,11 +50,11 @@ public sealed partial class WebhookWorkflowJobInProgress public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs index e0105740da..61ee1617cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobQueued.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWorkflowJobQueued public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs index 8e78f51072..4ebe0df080 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowJobWaiting.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWorkflowJobWaiting public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs index 44cb4485fe..0067890189 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompleted.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWorkflowRunCompleted public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs index 85e7661ec1..956d674997 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunCompletedWorkflowRunConclusion.g.verified.cs @@ -41,6 +41,10 @@ public enum WebhookWorkflowRunCompletedWorkflowRunConclusion /// /// TimedOut, + /// + /// + /// + StartupFailure, } /// @@ -63,6 +67,7 @@ public static string ToValueString(this WebhookWorkflowRunCompletedWorkflowRunCo WebhookWorkflowRunCompletedWorkflowRunConclusion.Stale => "stale", WebhookWorkflowRunCompletedWorkflowRunConclusion.Success => "success", WebhookWorkflowRunCompletedWorkflowRunConclusion.TimedOut => "timed_out", + WebhookWorkflowRunCompletedWorkflowRunConclusion.StartupFailure => "startup_failure", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -81,6 +86,7 @@ public static string ToValueString(this WebhookWorkflowRunCompletedWorkflowRunCo "stale" => WebhookWorkflowRunCompletedWorkflowRunConclusion.Stale, "success" => WebhookWorkflowRunCompletedWorkflowRunConclusion.Success, "timed_out" => WebhookWorkflowRunCompletedWorkflowRunConclusion.TimedOut, + "startup_failure" => WebhookWorkflowRunCompletedWorkflowRunConclusion.StartupFailure, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs index 9d155ecdf2..0e305fa4cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunInProgress.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWorkflowRunInProgress public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs index 3b55ed3761..b11cc2f1e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhookWorkflowRunRequested.g.verified.cs @@ -48,11 +48,11 @@ public sealed partial class WebhookWorkflowRunRequested public required global::G.RepositoryWebhooks Repository { get; set; } /// - /// The GitHub user that triggered the event. This property is included in every webhook payload. + /// A GitHub user. /// [global::System.Text.Json.Serialization.JsonPropertyName("sender")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.SimpleUserWebhooks Sender { get; set; } + public required global::G.SimpleUser Sender { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksAnswerUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksAnswerUser.g.verified.cs index a03ca5b678..a778bd4040 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksAnswerUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksAnswerUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksAnswerUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksCommentUser.g.verified.cs index 84c8314919..426e684b7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssue2User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssue2User.g.verified.cs index 514fa11501..8ccca1c0a0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssue2User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssue2User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksIssue2User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs index edb57b7609..8031940236 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksIssueCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueUser.g.verified.cs index c03b1a6e11..a3d5ac887f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksIssueUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksIssueUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksMembershipUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksMembershipUser.g.verified.cs index cd335f5479..f299efd6ef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksMembershipUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksMembershipUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksMembershipUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs index 47a8ffeab6..9154d2168b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhooksPullRequest5BaseRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs index 6527424d63..3b32a91cde 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5BaseUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksPullRequest5BaseUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs index a76ecbdac4..13f140ca85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadRepo.g.verified.cs @@ -328,7 +328,7 @@ public sealed partial class WebhooksPullRequest5HeadRepo /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs index 0470e4c145..aa7dbffb09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5HeadUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksPullRequest5HeadUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs index 49ad5d40fb..9ff784d5af 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksPullRequest5User.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksPullRequest5User /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs index bafeeeaca4..3278058a93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewCommentUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksReviewCommentUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewUser.g.verified.cs index 795d5e6c8e..9dc95efecd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksReviewUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksReviewUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRule.g.verified.cs index f948f3c2ba..1cca3ec47c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRule.g.verified.cs @@ -95,6 +95,20 @@ public sealed partial class WebhooksRule [global::System.Text.Json.Serialization.JsonRequired] public required global::G.WebhooksRuleLinearHistoryRequirementEnforcementLevel LinearHistoryRequirementEnforcementLevel { get; set; } + /// + /// The enforcement level of the branch lock setting. `off` means the branch is not locked, `non_admins` means the branch is read-only for non_admins, and `everyone` means the branch is read-only for everyone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lock_branch_enforcement_level")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.WebhooksRuleLockBranchEnforcementLevelJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.WebhooksRuleLockBranchEnforcementLevel LockBranchEnforcementLevel { get; set; } + + /// + /// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow users to pull changes from upstream when the branch is locked. This setting is only applicable for forks. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lock_allows_fork_sync")] + public bool? LockAllowsForkSync { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..b4c716ceca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.WebhooksRuleLockBranchEnforcementLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// The enforcement level of the branch lock setting. `off` means the branch is not locked, `non_admins` means the branch is read-only for non_admins, and `everyone` means the branch is read-only for everyone. + /// + public enum WebhooksRuleLockBranchEnforcementLevel + { + /// + /// + /// + Off, + /// + /// + /// + NonAdmins, + /// + /// + /// + Everyone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksRuleLockBranchEnforcementLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksRuleLockBranchEnforcementLevel value) + { + return value switch + { + WebhooksRuleLockBranchEnforcementLevel.Off => "off", + WebhooksRuleLockBranchEnforcementLevel.NonAdmins => "non_admins", + WebhooksRuleLockBranchEnforcementLevel.Everyone => "everyone", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksRuleLockBranchEnforcementLevel? ToEnum(string value) + { + return value switch + { + "off" => WebhooksRuleLockBranchEnforcementLevel.Off, + "non_admins" => WebhooksRuleLockBranchEnforcementLevel.NonAdmins, + "everyone" => WebhooksRuleLockBranchEnforcementLevel.Everyone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs index d9974063b7..30587e5aa0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksSecurityAdvisory.g.verified.cs @@ -16,6 +16,12 @@ public sealed partial class WebhooksSecurityAdvisory [global::System.Text.Json.Serialization.JsonRequired] public required global::G.WebhooksSecurityAdvisoryCvss Cvss { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")] + public global::G.CvssSeverities? CvssSeverities { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksUser.g.verified.cs index e56a09f935..7116943bfd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Models.WebhooksUser.g.verified.cs @@ -68,7 +68,7 @@ public sealed partial class WebhooksUser /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } + public required long Id { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs index 1763d59f17..5a3ea2581a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsAssignTeamToOrgRoleResponse( /// /// Assign an organization role to a team
- /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs index d66800e248..0172e22e26 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsAssignUserToOrgRoleResponse( /// /// Assign an organization role to a user
- /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs index 2cbb1ec5b7..cd81abac10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateInvitation.g.verified.cs @@ -27,7 +27,7 @@ partial void ProcessOrgsCreateInvitationResponseContent( /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// @@ -111,7 +111,7 @@ partial void ProcessOrgsCreateInvitationResponseContent( /// /// Create an organization invitation
/// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs index 86b57b055e..f6ce564527 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -35,7 +35,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, global::System.Threading.CancellationToken cancellationToken = default) @@ -105,7 +105,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -122,9 +122,9 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( string org, - global::System.Collections.Generic.IList properties, + global::System.Collections.Generic.IList properties, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.OrgsCreateOrUpdateCustomPropertiesRequest diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs index cc0f9eb270..d76ed4dc83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -38,7 +38,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequest request, @@ -111,7 +111,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( } return - global::G.OrgCustomProperty.FromJson(__content, JsonSerializerOptions) ?? + global::G.CustomProperty.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -143,7 +143,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( string org, string customPropertyName, global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs index 472076a989..35dd24a376 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -25,9 +25,11 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -35,6 +37,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, @@ -94,9 +97,11 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// Enable or disable a security feature for an organization
+ /// > [!WARNING]
+ /// > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).
/// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
- /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. ///
/// /// @@ -107,6 +112,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( string org, global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGet.g.verified.cs index a1b91d7132..55dd96b1aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGet.g.verified.cs @@ -27,14 +27,6 @@ partial void ProcessOrgsGetResponseContent( /// Gets information about an organization.
/// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
/// To see the full details about an organization, the authenticated user must be an organization owner.
- /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
/// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs index 142841ee9f..b727d7c8a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsGetAllCustomPropertiesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + public async global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { @@ -89,7 +89,7 @@ partial void ProcessOrgsGetAllCustomPropertiesResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs index a948f6c045..866986ced5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessOrgsGetCustomPropertyResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + public async global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( string org, string customPropertyName, global::System.Threading.CancellationToken cancellationToken = default) @@ -95,7 +95,7 @@ partial void ProcessOrgsGetCustomPropertyResponseContent( } return - global::G.OrgCustomProperty.FromJson(__content, JsonSerializerOptions) ?? + global::G.CustomProperty.FromJson(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs index c90e31c412..3a2c7a8c4c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsGetOrgRole.g.verified.cs @@ -26,7 +26,7 @@ partial void ProcessOrgsGetOrgRoleResponseContent( /// /// Get an organization role
- /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsList.g.verified.cs index 5b638c9323..486cad6982 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsList.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsList.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessOrgsListResponseContent( /// /// List organizations
/// Lists all organizations, in the order that they were created.
- /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + /// > [!NOTE]
+ /// > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs new file mode 100644 index 0000000000..34a246fbe3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListAttestations.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.OrgsClient.OrgsListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareOrgsListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? perPage, + ref string? before, + ref string? after, + ref string org, + ref string subjectDigest); + partial void PrepareOrgsListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? perPage, + string? before, + string? after, + string org, + string subjectDigest); + partial void ProcessOrgsListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOrgsListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OrgsListAttestationsAsync( + string org, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOrgsListAttestationsArguments( + httpClient: _httpClient, + perPage: ref perPage, + before: ref before, + after: ref after, + org: ref org, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/orgs/{org}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOrgsListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + perPage: perPage, + before: before, + after: after, + org: org, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOrgsListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOrgsListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.OrgsListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs index ce74115765..bf5d2d79dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( /// /// List teams that are assigned to an organization role
- /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -44,7 +44,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + public async global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( string org, int roleId, int? perPage = 30, @@ -116,7 +116,7 @@ partial void ProcessOrgsListOrgRoleTeamsResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs index 1d0069bac6..e7e62061c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( /// /// List users that are assigned to an organization role
- /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, you must be an administrator for the organization.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
@@ -44,7 +44,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + public async global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( string org, int roleId, int? perPage = 30, @@ -116,7 +116,7 @@ partial void ProcessOrgsListOrgRoleUsersResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs index ea9c5de088..83ebc3aafb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListOrgRoles.g.verified.cs @@ -24,7 +24,7 @@ partial void ProcessOrgsListOrgRolesResponseContent( /// /// Get all organization roles for an organization
- /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// To use this endpoint, the authenticated user must be one of:
/// - An administrator for the organization.
/// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs index 0d725dfac8..7dd9195597 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -32,7 +32,10 @@ partial void ProcessOrgsListPendingInvitationsResponseContent( /// /// List pending organization invitations
- /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + /// The return hash contains a `role` field which refers to the Organization
+ /// Invitation role and will be one of the following values: `direct_member`, `admin`,
+ /// `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub
+ /// member, the `login` field in the return hash will be `null`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs index efd0d12234..1d489c4475 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -21,7 +21,7 @@ partial void ProcessOrgsRevokeAllOrgRolesTeamResponse( /// /// Remove all organization roles for a team
- /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs index 4b9c856bfe..e8b32639ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -21,7 +21,7 @@ partial void ProcessOrgsRevokeAllOrgRolesUserResponse( /// /// Remove all organization roles for a user
- /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs index 180675643e..5a08e0413a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsRevokeOrgRoleTeamResponse( /// /// Remove an organization role from a team
- /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs index eb3b52fcea..bbf1701a0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -23,7 +23,7 @@ partial void ProcessOrgsRevokeOrgRoleUserResponse( /// /// Remove an organization role from a user
- /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)."
/// The authenticated user must be an administrator for the organization to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs index 6d5701abac..6bf3d69bdf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessOrgsSetMembershipForUserResponseContent( ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// @@ -124,7 +124,7 @@ partial void ProcessOrgsSetMembershipForUserResponseContent( ///
/// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
/// **Rate limits**
- /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + /// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs index 28138d3358..aacec8f64d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.OrgsUpdate.g.verified.cs @@ -26,16 +26,11 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -119,16 +114,11 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Update an organization
- /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// > [!WARNING]
+ /// > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).
/// Updates the organization's profile and member privileges.
- /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
- /// - advanced_security_enabled_for_new_repositories
- /// - dependabot_alerts_enabled_for_new_repositories
- /// - dependabot_security_updates_enabled_for_new_repositories
- /// - dependency_graph_enabled_for_new_repositories
- /// - secret_scanning_enabled_for_new_repositories
- /// - secret_scanning_push_protection_enabled_for_new_repositories
- /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
/// The authenticated user must be an organization owner to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. ///
@@ -204,36 +194,6 @@ partial void ProcessOrgsUpdateResponseContent( /// /// Example: "http://github.blog" /// - /// - /// Whether GitHub Advanced Security is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot alerts is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether Dependabot security updates is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether dependency graph is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// - /// - /// Whether secret scanning push protection is automatically enabled for new repositories.
- /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
- /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. - /// /// /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. /// @@ -265,12 +225,6 @@ partial void ProcessOrgsUpdateResponseContent( bool? membersCanForkPrivateRepositories = false, bool? webCommitSignoffRequired = false, string? blog = default, - bool? advancedSecurityEnabledForNewRepositories = default, - bool? dependabotAlertsEnabledForNewRepositories = default, - bool? dependabotSecurityUpdatesEnabledForNewRepositories = default, - bool? dependencyGraphEnabledForNewRepositories = default, - bool? secretScanningEnabledForNewRepositories = default, - bool? secretScanningPushProtectionEnabledForNewRepositories = default, bool? secretScanningPushProtectionCustomLinkEnabled = default, string? secretScanningPushProtectionCustomLink = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -298,12 +252,6 @@ partial void ProcessOrgsUpdateResponseContent( MembersCanForkPrivateRepositories = membersCanForkPrivateRepositories, WebCommitSignoffRequired = webCommitSignoffRequired, Blog = blog, - AdvancedSecurityEnabledForNewRepositories = advancedSecurityEnabledForNewRepositories, - DependabotAlertsEnabledForNewRepositories = dependabotAlertsEnabledForNewRepositories, - DependabotSecurityUpdatesEnabledForNewRepositories = dependabotSecurityUpdatesEnabledForNewRepositories, - DependencyGraphEnabledForNewRepositories = dependencyGraphEnabledForNewRepositories, - SecretScanningEnabledForNewRepositories = secretScanningEnabledForNewRepositories, - SecretScanningPushProtectionEnabledForNewRepositories = secretScanningPushProtectionEnabledForNewRepositories, SecretScanningPushProtectionCustomLinkEnabled = secretScanningPushProtectionCustomLinkEnabled, SecretScanningPushProtectionCustomLink = secretScanningPushProtectionCustomLink, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreate.g.verified.cs index b837fafe18..75f75e9f15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreate.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessPullsCreateResponseContent( /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -123,7 +123,7 @@ partial void ProcessPullsCreateResponseContent( /// Create a pull request
/// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs index 5a5fb9632a..478cf2de64 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -11,7 +11,7 @@ partial void PreparePullsCreateReplyForReviewCommentArguments( ref string owner, ref string repo, ref int pullNumber, - ref int commentId, + ref long commentId, global::G.PullsCreateReplyForReviewCommentRequest request); partial void PreparePullsCreateReplyForReviewCommentRequest( global::System.Net.Http.HttpClient httpClient, @@ -19,7 +19,7 @@ partial void PreparePullsCreateReplyForReviewCommentRequest( string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request); partial void ProcessPullsCreateReplyForReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -33,7 +33,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -52,7 +52,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( string owner, string repo, int pullNumber, - int commentId, + long commentId, global::G.PullsCreateReplyForReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -134,7 +134,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( /// /// Create a reply for a review comment
/// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -155,7 +155,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent( string owner, string repo, int pullNumber, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReview.g.verified.cs index 4f6af8464f..6def94daf1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReview.g.verified.cs @@ -31,9 +31,10 @@ partial void ProcessPullsCreateReviewResponseContent( /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -130,9 +131,10 @@ partial void ProcessPullsCreateReviewResponseContent( /// /// Create a review for a pull request
/// Creates a review on a specified pull request.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
- /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// > [!NOTE]
+ /// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs index 09c7326459..d85d4b26a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsCreateReviewComment.g.verified.cs @@ -33,7 +33,7 @@ partial void ProcessPullsCreateReviewCommentResponseContent( /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
@@ -132,7 +132,7 @@ partial void ProcessPullsCreateReviewCommentResponseContent( /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
/// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
/// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
/// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs index 1595229eed..511c46c98e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDeleteReviewComment.g.verified.cs @@ -10,13 +10,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); @@ -38,7 +38,7 @@ partial void ProcessPullsDeleteReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDismissReview.g.verified.cs index 23f0047c42..d5eee62f10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDismissReview.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsDismissReview.g.verified.cs @@ -33,9 +33,8 @@ partial void ProcessPullsDismissReviewResponseContent( /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -135,9 +134,8 @@ partial void ProcessPullsDismissReviewResponseContent( /// /// Dismiss a review for a pull request
/// Dismisses a specified review on a pull request.
- /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
- /// you must be a repository administrator or be included in the list of people or teams
- /// who can dismiss pull request reviews.
+ /// > [!NOTE]
+ /// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGet.g.verified.cs index feb14410e9..7cf421365b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGet.g.verified.cs @@ -36,7 +36,7 @@ partial void ProcessPullsGetResponseContent( /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
/// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
/// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
- /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs index f825e4597d..bc960b4fdf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsGetReviewComment.g.verified.cs @@ -10,13 +10,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); @@ -43,7 +43,7 @@ partial void ProcessPullsGetReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsListFiles.g.verified.cs index 2ad2beb5dd..34cd7ecbab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsListFiles.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsListFiles.g.verified.cs @@ -33,8 +33,8 @@ partial void ProcessPullsListFilesResponseContent( /// /// List pull requests files
/// Lists the files in a specified pull request.
- /// **Note:** Responses include a maximum of 3000 files. The paginated response
- /// returns 30 files per page by default.
+ /// > [!NOTE]
+ /// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsMerge.g.verified.cs index f7557b4dbb..ea9eebf0e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsMerge.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsMerge.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessPullsMergeResponseContent( /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -122,7 +122,7 @@ partial void ProcessPullsMergeResponseContent( /// /// Merge a pull request
/// Merges a pull request into the base branch.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs index 8285b0d3d6..599391c093 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsRequestReviewers.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessPullsRequestReviewersResponseContent( /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -122,7 +122,7 @@ partial void ProcessPullsRequestReviewersResponseContent( /// /// Request reviewers for a pull request
/// Requests reviews for a pull request from a given set of users and/or teams.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs index 59a3ef0b0f..466bdc2516 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateBranch.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessPullsUpdateBranchResponseContent( /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// @@ -120,7 +121,8 @@ partial void ProcessPullsUpdateBranchResponseContent( /// /// Update a pull request branch
- /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
+ /// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs index 2f33cadc0b..c561c07a2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.PullsUpdateReviewComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PreparePullsUpdateReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.PullsUpdateReviewCommentRequest request); partial void ProcessPullsUpdateReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.PullsUpdateReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent( public async global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs index 1acece236f..9ad7f289c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.RateLimitGet.g.verified.cs @@ -22,7 +22,8 @@ partial void ProcessRateLimitGetResponseContent( /// /// Get rate limit status for the authenticated user
- /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// > [!NOTE]
+ /// > Accessing this endpoint does not count against your REST API rate limit.
/// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
/// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
/// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
@@ -32,8 +33,9 @@ partial void ProcessRateLimitGetResponseContent( /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
- /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
- /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
+ /// > [!NOTE]
+ /// > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. ///
/// The token to cancel the operation with /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs index 818b623e7b..506f155e2b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForCommitCommentRequest request); partial void ProcessReactionsCreateForCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForCommitCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs index db8467e663..11e62daa55 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForIssueCommentRequest request); partial void ProcessReactionsCreateForIssueCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForIssueCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs index 98c8f0fd2c..689a807156 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsCreateForPullRequestReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.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::G.ReactionsCreateForPullRequestReviewCommentRequest request); partial void ProcessReactionsCreateForPullRequestReviewCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -41,7 +41,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs index ae7f629954..a271367de5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentInOrgResponseContent( /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -131,7 +132,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentInOrgResponseContent( /// Create reaction for a team discussion comment
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs index 325f948308..d046224d70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentLegacyResponseContent /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -124,7 +125,8 @@ partial void ProcessReactionsCreateForTeamDiscussionCommentLegacyResponseContent /// /// Create reaction for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs index 59b17bea8b..b9ca03acd7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReactionsCreateForTeamDiscussionInOrgResponseContent( /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -125,7 +126,8 @@ partial void ProcessReactionsCreateForTeamDiscussionInOrgResponseContent( /// Create reaction for a team discussion
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs index 523e1fb518..b2b65554cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessReactionsCreateForTeamDiscussionLegacyResponseContent( /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. @@ -118,7 +119,8 @@ partial void ProcessReactionsCreateForTeamDiscussionLegacyResponseContent( /// /// Create reaction for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs index 69ee24e045..f0c3eb1fc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForCommitCommentResponse( /// /// Delete a commit comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForCommitCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs index 2524237e41..37b4e6a796 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForIssueResponse( /// /// Delete an issue reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
/// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs index 5b1174e535..9c4f141724 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForIssueCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForIssueCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForIssueCommentResponse( /// /// Delete an issue comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
/// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForIssueCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs index 27056560db..c5e8dcdc5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReactionsDeleteForPullRequestCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref int reactionId); partial void PrepareReactionsDeleteForPullRequestCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, int reactionId); partial void ProcessReactionsDeleteForPullRequestCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForPullRequestCommentResponse( /// /// Delete a pull request comment reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
/// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). ///
/// @@ -37,7 +38,7 @@ partial void ProcessReactionsDeleteForPullRequestCommentResponse( public async global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( string owner, string repo, - int commentId, + long commentId, int reactionId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs index 79f1658f31..0e3eff9664 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForReleaseResponse( /// /// Delete a release reaction
- /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
/// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs index a429e61687..287ea1e217 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessReactionsDeleteForTeamDiscussionResponse( /// /// Delete team discussion reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs index dafa4928a2..f3d04628f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessReactionsDeleteForTeamDiscussionCommentResponse( /// /// Delete team discussion comment reaction
- /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// > [!NOTE]
+ /// > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
/// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs index 6db42325e2..2e676a065a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForCommitCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForCommitCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForCommitCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForCommitCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs index 2b88facd0d..310febb291 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForIssueCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForIssueCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForIssueCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForIssueCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForIssueCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs index 91ba1a1d14..d4e888c09a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, ref global::G.ReactionsListForPullRequestReviewCommentContent? content, ref int? perPage, ref int? page); @@ -19,7 +19,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content, int? perPage, int? page); @@ -51,7 +51,7 @@ partial void ProcessReactionsListForPullRequestReviewCommentResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReactionsListForPullRequestReviewCommentContent? content = default, int? perPage = 30, int? page = 1, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs index 1e64ba5d6c..b82913dd3b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -37,7 +37,8 @@ partial void ProcessReactionsListForTeamDiscussionCommentInOrgResponseContent( /// /// List reactions for a team discussion comment
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs index 9f0154ce2a..472bd9e2e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReactionsListForTeamDiscussionCommentLegacyResponseContent( /// /// List reactions for a team discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs index 7118042759..0e52d6d1c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessReactionsListForTeamDiscussionInOrgResponseContent( /// /// List reactions for a team discussion
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs index 69c309264a..7b76f13de8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReactionsListForTeamDiscussionLegacyResponseContent( /// /// List reactions for a team discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs index 9087c8bd04..36fbdac494 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposAddAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposAddAppAccessRestrictionsRequest request); partial void PrepareReposAddAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposAddAppAccessRestrictionsRequest request); partial void ProcessReposAddAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposAddAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposAddAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposAddAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs index 1308b6df8e..e554fa2f55 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddCollaborator.g.verified.cs @@ -30,7 +30,7 @@ partial void ProcessReposAddCollaboratorResponseContent( /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
@@ -131,7 +131,7 @@ partial void ProcessReposAddCollaboratorResponseContent( /// /// Add a repository collaborator
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
/// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
/// ```
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs index 33819fa997..6f3330c3ed 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposAddUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposAddUserAccessRestrictionsRequest request); partial void PrepareReposAddUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposAddUserAccessRestrictionsRequest request); partial void ProcessReposAddUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposAddUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposAddUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposAddUserAccessRestrictionsRequest { + Users = users, }; return await ReposAddUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs index a9fd3c94ce..51a0853d78 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCompareCommits.g.verified.cs @@ -41,7 +41,7 @@ partial void ProcessReposCompareCommitsResponseContent( /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
/// **Working with large comparisons**
/// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
- /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.
/// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
/// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
/// **Signature verification object**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs new file mode 100644 index 0000000000..e25e17c4e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateAttestation.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.ReposClient.ReposCreateAttestation.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareReposCreateAttestationArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + global::G.ReposCreateAttestationRequest request); + partial void PrepareReposCreateAttestationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + global::G.ReposCreateAttestationRequest request); + partial void ProcessReposCreateAttestationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReposCreateAttestationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareReposCreateAttestationArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/attestations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReposCreateAttestationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReposCreateAttestationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReposCreateAttestationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ReposCreateAttestationResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create an attestation
+ /// Store an artifact attestation and associate it with a repository.
+ /// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
+ /// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposCreateAttestationAsync( + string owner, + string repo, + global::G.ReposCreateAttestationRequestBundle bundle, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.ReposCreateAttestationRequest + { + Bundle = bundle, + }; + + return await ReposCreateAttestationAsync( + owner: owner, + repo: repo, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs index 6235585053..c371303bc4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateCommitComment.g.verified.cs @@ -31,7 +31,7 @@ partial void ProcessReposCreateCommitCommentResponseContent( /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
@@ -127,7 +127,7 @@ partial void ProcessReposCreateCommitCommentResponseContent( /// /// Create a commit comment
/// Create a comment for a commit using its `:commit_sha`.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
/// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
/// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs index 25aece4ca2..a48c9a71fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -131,7 +131,9 @@ partial void ProcessReposCreateDeploymentStatusResponseContent( /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. /// /// - /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.
+ /// > [!NOTE]
+ /// > It's recommended to use the `log_url` parameter, which replaces `target_url`. /// /// /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs index b31dc5b8ca..99c2bf8edf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -181,6 +181,7 @@ partial void ProcessReposCreateForAuthenticatedUserResponseContent( /// Example: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -192,6 +193,7 @@ partial void ProcessReposCreateForAuthenticatedUserResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateFork.g.verified.cs index c2a930d3bd..aa3de6ee9f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateFork.g.verified.cs @@ -29,8 +29,10 @@ partial void ProcessReposCreateForkResponseContent( /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// @@ -117,8 +119,10 @@ partial void ProcessReposCreateForkResponseContent( /// /// Create a fork
/// Create a fork for the authenticated user.
- /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
- /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + /// > [!NOTE]
+ /// > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// > [!NOTE]
+ /// > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs index 5023bb618e..78639542af 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateInOrg.g.verified.cs @@ -184,6 +184,7 @@ partial void ProcessReposCreateInOrgResponseContent( /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -195,6 +196,7 @@ partial void ProcessReposCreateInOrgResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs index b152d90430..3c8f3daf90 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -31,8 +31,10 @@ partial void ProcessReposCreateOrUpdateEnvironmentResponseContent( /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// @@ -124,8 +126,10 @@ partial void ProcessReposCreateOrUpdateEnvironmentResponseContent( /// /// Create or update an environment
/// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
- /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
- /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// > [!NOTE]
+ /// > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// > [!NOTE]
+ /// > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs index 8b1da02e65..f821e402d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposCreateOrUpdateFileContentsResponseContent( /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// @@ -123,7 +124,8 @@ partial void ProcessReposCreateOrUpdateFileContentsResponseContent( /// /// Create or update file contents
/// Creates a new file or replaces an existing file in a repository.
- /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// > [!NOTE]
+ /// > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs index 0674682196..7deda0ed67 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -116,7 +116,7 @@ partial void ProcessReposCreateOrgRulesetResponseContent( /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -125,7 +125,9 @@ partial void ProcessReposCreateOrgRulesetResponseContent( /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. @@ -136,7 +138,7 @@ partial void ProcessReposCreateOrgRulesetResponseContent( string org, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::G.ReposCreateOrgRulesetRequestTarget? target = global::G.ReposCreateOrgRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.OrgRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs index 2c2010d445..40170329c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRelease.g.verified.cs @@ -29,7 +29,7 @@ partial void ProcessReposCreateReleaseResponseContent( /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// @@ -116,7 +116,7 @@ partial void ProcessReposCreateReleaseResponseContent( /// /// Create a release
/// Users with push access to the repository can create a release.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs index c2be38650a..bb5d84112e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -123,7 +123,7 @@ partial void ProcessReposCreateRepoRulesetResponseContent( /// /// /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// Default Value: branch /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -144,7 +144,7 @@ partial void ProcessReposCreateRepoRulesetResponseContent( string repo, string name, global::G.RepositoryRuleEnforcement enforcement, - global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::G.ReposCreateRepoRulesetRequestTarget? target = global::G.ReposCreateRepoRulesetRequestTarget.Branch, global::System.Collections.Generic.IList? bypassActors = default, global::G.RepositoryRulesetConditions? conditions = default, global::System.Collections.Generic.IList? rules = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs index 290917ad7e..c62b17d982 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposCreateTagProtection.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessReposCreateTagProtectionResponseContent( ref string content); /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -36,6 +38,7 @@ partial void ProcessReposCreateTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, @@ -114,7 +117,9 @@ partial void ProcessReposCreateTagProtectionResponseContent( } /// - /// Create a tag protection state for a repository
+ /// Deprecated - Create a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.
/// This creates a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -125,6 +130,7 @@ partial void ProcessReposCreateTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs index 52ba7d9300..e572fd83bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteCommitComment.g.verified.cs @@ -10,13 +10,13 @@ partial void PrepareReposDeleteCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId); + ref long commentId); partial void PrepareReposDeleteCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId); + long commentId); partial void ProcessReposDeleteCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,7 +37,7 @@ partial void ProcessReposDeleteCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs index 72a1728e23..f0df1cd6c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteFile.g.verified.cs @@ -34,7 +34,8 @@ partial void ProcessReposDeleteFileResponseContent( /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// @@ -128,7 +129,8 @@ partial void ProcessReposDeleteFileResponseContent( /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
/// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
/// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
- /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + /// > [!NOTE]
+ /// > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs index b765f6e2b6..f142df5b96 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDeleteTagProtection.g.verified.cs @@ -27,7 +27,9 @@ partial void ProcessReposDeleteTagProtectionResponseContent( ref string content); /// - /// Delete a tag protection state for a repository
+ /// Deprecated - Delete a tag protection state for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.
/// This deletes a tag protection state for a repository.
/// This endpoint is only available to repository administrators. ///
@@ -36,6 +38,7 @@ partial void ProcessReposDeleteTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs index cb32a596ad..b23d9ea264 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessReposDownloadTarballArchiveResponse( /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs index e1ea0efe0b..a0b64e3d95 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessReposDownloadZipballArchiveResponse( /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
/// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
/// the `Location` header to make a second `GET` request.
- /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + /// > [!NOTE]
+ /// > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGet.g.verified.cs index 855a27f2c1..792d851d93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGet.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessReposGetResponseContent( /// /// Get a repository
/// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs index 7631dcf36e..40ec1dd675 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReposGetAccessRestrictionsResponseContent( /// Get access restrictions
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Lists who has access to this protected branch.
- /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + /// > [!NOTE]
+ /// > Users, apps, and teams `restrictions` are only available for organization-owned repositories. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs index 8b5c6f2962..fe04237165 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -27,8 +27,8 @@ partial void ProcessReposGetCodeFrequencyStatsResponseContent( /// /// Get the weekly commit activity
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
- /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
- /// 10,000 or more commits, a 422 status code will be returned. + /// > [!NOTE]
+ /// > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommit.g.verified.cs index b608bbf9e1..22cbee5ca6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommit.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommit.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessReposGetCommitResponseContent( /// /// Get a commit
/// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
- /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// > [!NOTE]
+ /// > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
/// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
/// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs index 665c3a1673..bb6ee7700a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitComment.g.verified.cs @@ -10,13 +10,13 @@ partial void PrepareReposGetCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId); + ref long commentId); partial void PrepareReposGetCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId); + long commentId); partial void ProcessReposGetCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,7 +43,7 @@ partial void ProcessReposGetCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs index 69c2158b63..9ac2c67b4c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessReposGetCommitSignatureProtectionResponseContent( /// Get commit signature protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
- /// **Note**: You must enable branch protection to require signed commits. + /// > [!NOTE]
+ /// > You must enable branch protection to require signed commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs index 8fa3ea2ac5..8c7fccf275 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetContributorsStats.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposGetContributorsStatsResponseContent( /// * `a` - Number of additions
/// * `d` - Number of deletions
/// * `c` - Number of commits
- /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + /// > [!NOTE]
+ /// > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs index 8d1903540d..9667c23f08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetEnvironment.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessReposGetEnvironmentResponseContent( /// /// Get an environment
- /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// > [!NOTE]
+ /// > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
/// Anyone with read access to the repository can use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs index ab344b628e..80e501d1b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -9,6 +9,7 @@ public partial class ReposClient partial void PrepareReposGetOrgRuleSuitesArguments( global::System.Net.Http.HttpClient httpClient, ref string org, + ref string? @ref, ref int? repositoryName, ref global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod, ref string? actorName, @@ -19,6 +20,7 @@ partial void PrepareReposGetOrgRuleSuitesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, + string? @ref, int? repositoryName, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod, string? actorName, @@ -40,6 +42,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." ///
/// + /// /// /// /// Default Value: day @@ -58,6 +61,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( /// public async global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( string org, + string? @ref = default, int? repositoryName = default, global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, string? actorName = default, @@ -71,6 +75,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( PrepareReposGetOrgRuleSuitesArguments( httpClient: _httpClient, org: ref org, + @ref: ref @ref, repositoryName: ref repositoryName, timePeriod: ref timePeriod, actorName: ref actorName, @@ -82,6 +87,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( path: $"/orgs/{org}/rulesets/rule-suites", baseUri: _httpClient.BaseAddress); __pathBuilder + .AddOptionalParameter("ref", @ref) .AddOptionalParameter("repository_name", repositoryName?.ToString()) .AddOptionalParameter("time_period", timePeriod?.ToValueString()) .AddOptionalParameter("actor_name", actorName) @@ -101,6 +107,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( httpClient: _httpClient, httpRequestMessage: httpRequest, org: org, + @ref: @ref, repositoryName: repositoryName, timePeriod: timePeriod, actorName: actorName, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs index 3416abaf3d..e8b2d90128 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRuleset.g.verified.cs @@ -26,7 +26,9 @@ partial void ProcessReposGetOrgRulesetResponseContent( /// /// Get an organization repository ruleset
- /// Get a repository ruleset for an organization. + /// Get a repository ruleset for an organization.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs index db3124f8a2..809cd1cadf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetOrgRulesets.g.verified.cs @@ -10,13 +10,15 @@ partial void PrepareReposGetOrgRulesetsArguments( global::System.Net.Http.HttpClient httpClient, ref string org, ref int? perPage, - ref int? page); + ref int? page, + ref string? targets); partial void PrepareReposGetOrgRulesetsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int? perPage, - int? page); + int? page, + string? targets); partial void ProcessReposGetOrgRulesetsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,12 +39,16 @@ partial void ProcessReposGetOrgRulesetsResponseContent( /// /// Default Value: 1 /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( string org, int? perPage = 30, int? page = 1, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +57,8 @@ partial void ProcessReposGetOrgRulesetsResponseContent( httpClient: _httpClient, org: ref org, perPage: ref perPage, - page: ref page); + page: ref page, + targets: ref targets); var __pathBuilder = new PathBuilder( path: $"/orgs/{org}/rulesets", @@ -59,6 +66,7 @@ partial void ProcessReposGetOrgRulesetsResponseContent( __pathBuilder .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("page", page?.ToString()) + .AddOptionalParameter("targets", targets) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -73,7 +81,8 @@ partial void ProcessReposGetOrgRulesetsResponseContent( httpRequestMessage: httpRequest, org: org, perPage: perPage, - page: page); + page: page, + targets: targets); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRelease.g.verified.cs index 78bc0d640b..bd53ae303a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRelease.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRelease.g.verified.cs @@ -29,9 +29,8 @@ partial void ProcessReposGetReleaseResponseContent( /// /// Get a release
/// Gets a public release with the specified release ID.
- /// **Note:** This returns an `upload_url` key corresponding to the endpoint
- /// for uploading release assets. This key is a hypermedia resource. For more information, see
- /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + /// > [!NOTE]
+ /// > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs index 5e185d0896..b4a1081176 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetReleaseAsset.g.verified.cs @@ -28,7 +28,7 @@ partial void ProcessReposGetReleaseAssetResponseContent( /// /// Get a release asset
- /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs index 3a038c902f..27f222157d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRuleset.g.verified.cs @@ -30,7 +30,9 @@ partial void ProcessReposGetRepoRulesetResponseContent( /// /// Get a repository ruleset
- /// Get a ruleset for a repository. + /// Get a ruleset for a repository.
+ /// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
+ /// making the API request has write access to the ruleset. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs index 7c76ea71b4..632d82eccc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposGetRepoRulesets.g.verified.cs @@ -12,7 +12,8 @@ partial void PrepareReposGetRepoRulesetsArguments( ref string repo, ref int? perPage, ref int? page, - ref bool? includesParents); + ref bool? includesParents, + ref string? targets); partial void PrepareReposGetRepoRulesetsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -20,7 +21,8 @@ partial void PrepareReposGetRepoRulesetsRequest( string repo, int? perPage, int? page, - bool? includesParents); + bool? includesParents, + string? targets); partial void ProcessReposGetRepoRulesetsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,6 +47,9 @@ partial void ProcessReposGetRepoRulesetsResponseContent( /// /// Default Value: true /// + /// + /// Example: branch,tag,push + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( @@ -53,6 +58,7 @@ partial void ProcessReposGetRepoRulesetsResponseContent( int? perPage = 30, int? page = 1, bool? includesParents = true, + string? targets = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -63,7 +69,8 @@ partial void ProcessReposGetRepoRulesetsResponseContent( repo: ref repo, perPage: ref perPage, page: ref page, - includesParents: ref includesParents); + includesParents: ref includesParents, + targets: ref targets); var __pathBuilder = new PathBuilder( path: $"/repos/{owner}/{repo}/rulesets", @@ -72,6 +79,7 @@ partial void ProcessReposGetRepoRulesetsResponseContent( .AddOptionalParameter("per_page", perPage?.ToString()) .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("includes_parents", includesParents?.ToString()) + .AddOptionalParameter("targets", targets) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -88,7 +96,8 @@ partial void ProcessReposGetRepoRulesetsResponseContent( repo: repo, perPage: perPage, page: page, - includesParents: includesParents); + includesParents: includesParents, + targets: targets); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListAttestations.g.verified.cs new file mode 100644 index 0000000000..241784e6f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListAttestations.g.verified.cs @@ -0,0 +1,134 @@ +//HintName: G.ReposClient.ReposListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareReposListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + ref int? perPage, + ref string? before, + ref string? after, + ref string subjectDigest); + partial void PrepareReposListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + int? perPage, + string? before, + string? after, + string subjectDigest); + partial void ProcessReposListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReposListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with a repository.
+ /// The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReposListAttestationsAsync( + string owner, + string repo, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareReposListAttestationsArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + perPage: ref perPage, + before: ref before, + after: ref after, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReposListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + perPage: perPage, + before: before, + after: after, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReposListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReposListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.ReposListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs index 3e96effa08..1c4ccc50cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReposListCustomDeploymentRuleIntegrationsResponseContent( /// /// List custom deployment rule integrations available for an environment
- /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// Gets all custom deployment protection rule integrations that are available for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
/// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListForOrg.g.verified.cs index c981104cce..fa328bf36a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListForOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListForOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessReposListForOrgResponseContent( /// /// List organization repositories
/// Lists repositories for the specified organization.
- /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + /// > [!NOTE]
+ /// > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs index 318a057ba1..a41bc5ab20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposListTagProtection.g.verified.cs @@ -25,7 +25,9 @@ partial void ProcessReposListTagProtectionResponseContent( ref string content); /// - /// List tag protection states for a repository
+ /// Deprecated - List tag protection states for a repository
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.
/// This returns the tag protection states of a repository.
/// This information is only available to repository administrators. ///
@@ -33,6 +35,7 @@ partial void ProcessReposListTagProtectionResponseContent( /// /// The token to cancel the operation with /// + [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( string owner, string repo, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs index 36f521e307..d7bf4b5bc3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposRemoveAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposRemoveAppAccessRestrictionsRequest request); partial void PrepareReposRemoveAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposRemoveAppAccessRestrictionsRequest request); partial void ProcessReposRemoveAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposRemoveAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposRemoveAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposRemoveAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs index 5283b48e38..aa312eea1a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveCollaborator.g.verified.cs @@ -40,7 +40,8 @@ partial void ProcessReposRemoveCollaboratorResponseContent( /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
/// - If the user had their own fork of the repository, the fork will be deleted.
/// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
- /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// > [!NOTE]
+ /// > A user can still have access to the repository through organization permissions like base repository permissions.
/// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
/// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs index 97401b5208..146422bcbb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposRemoveUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposRemoveUserAccessRestrictionsRequest request); partial void PrepareReposRemoveUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposRemoveUserAccessRestrictionsRequest request); partial void ProcessReposRemoveUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposRemoveUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposRemoveUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposRemoveUserAccessRestrictionsRequest { + Users = users, }; return await ReposRemoveUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs index 7f920a9bab..5709a7de97 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposRenameBranch.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessReposRenameBranchResponseContent( /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
@@ -124,7 +125,8 @@ partial void ProcessReposRenameBranchResponseContent( /// /// Rename a branch
/// Renames a branch in a repository.
- /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// > [!NOTE]
+ /// > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
/// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
/// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs index 08ba8914ae..e42d62cbec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposSetAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposSetAppAccessRestrictionsRequest request); partial void PrepareReposSetAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposSetAppAccessRestrictionsRequest request); partial void ProcessReposSetAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,9 +43,11 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetAppAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposSetAppAccessRestrictionsArguments( @@ -125,16 +127,21 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( /// /// /// + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposSetAppAccessRestrictionsRequest { + Apps = apps, }; return await ReposSetAppAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs index 6c87ceca3f..a14705b2f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -11,14 +11,14 @@ partial void PrepareReposSetUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::G.OneOf> request); + global::G.ReposSetUserAccessRestrictionsRequest request); partial void PrepareReposSetUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::G.OneOf> request); + global::G.ReposSetUserAccessRestrictionsRequest request); partial void ProcessReposSetUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,9 +46,11 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::G.OneOf> request, + global::G.ReposSetUserAccessRestrictionsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareReposSetUserAccessRestrictionsArguments( @@ -131,16 +133,21 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( /// /// /// + /// + /// The username for users + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( string owner, string repo, string branch, + global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.OneOf> + var request = new global::G.ReposSetUserAccessRestrictionsRequest { + Users = users, }; return await ReposSetUserAccessRestrictionsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs index f72ceb7721..de7bee3a08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposTestPushWebhook.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessReposTestPushWebhookResponseContent( /// /// Test the push repository webhook
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
- /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + /// > [!NOTE]
+ /// > Previously `/repos/:owner/:repo/hooks/:hook_id/test` ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdate.g.verified.cs index 7603d44d66..2d04fe2079 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdate.g.verified.cs @@ -186,6 +186,7 @@ partial void ProcessReposUpdateResponseContent( /// Default Value: false /// /// + /// Required when using `squash_merge_commit_message`.
/// The default value for a squash merge commit title:
/// - `PR_TITLE` - default to the pull request's title.
/// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -197,6 +198,7 @@ partial void ProcessReposUpdateResponseContent( /// - `BLANK` - default to a blank commit message. /// /// + /// Required when using `merge_commit_message`.
/// The default value for a merge commit title.
/// - `PR_TITLE` - default to the pull request's title.
/// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs index 4593ebc88c..9f893e19c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -32,8 +32,10 @@ partial void ProcessReposUpdateBranchProtectionResponseContent( /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// @@ -125,8 +127,10 @@ partial void ProcessReposUpdateBranchProtectionResponseContent( /// Update branch protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Protecting a branch requires admin or owner permissions to the repository.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
- /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values.
+ /// > [!NOTE]
+ /// > The list of users, apps, and teams in total is limited to 100 items. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs index b8f59ba1bf..0c19b19eca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateCommitComment.g.verified.cs @@ -10,14 +10,14 @@ partial void PrepareReposUpdateCommitCommentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref int commentId, + ref long commentId, global::G.ReposUpdateCommitCommentRequest request); partial void PrepareReposUpdateCommitCommentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request); partial void ProcessReposUpdateCommitCommentResponse( global::System.Net.Http.HttpClient httpClient, @@ -46,7 +46,7 @@ partial void ProcessReposUpdateCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, global::G.ReposUpdateCommitCommentRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -143,7 +143,7 @@ partial void ProcessReposUpdateCommitCommentResponseContent( public async global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( string owner, string repo, - int commentId, + long commentId, string body, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs index 6a92ad6435..d2c56b0a20 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -122,8 +122,7 @@ partial void ProcessReposUpdateOrgRulesetResponseContent( /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). @@ -132,7 +131,9 @@ partial void ProcessReposUpdateOrgRulesetResponseContent( /// The actors that can bypass the rules in this ruleset /// /// - /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + /// Conditions for an organization ruleset.
+ /// The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.
+ /// The push rulesets conditions object does not require the `ref_name` property. /// /// /// An array of rules within the ruleset. diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs index f66458f02d..e26655a6c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessReposUpdatePullRequestReviewProtectionResponseContent( /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// @@ -124,7 +125,8 @@ partial void ProcessReposUpdatePullRequestReviewProtectionResponseContent( /// Update pull request review protection
/// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
- /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + /// > [!NOTE]
+ /// > Passing new arrays of `users` and `teams` replaces their previous values. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs index 88cc9d8801..63eaef66c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -129,8 +129,7 @@ partial void ProcessReposUpdateRepoRulesetResponseContent( /// The name of the ruleset. /// /// - /// The target of the ruleset
- /// **Note**: The `push` target is in beta and is subject to change. + /// The target of the ruleset /// /// /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs index 1138d680e7..e37dd271b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -38,7 +38,8 @@ partial void ProcessSearchIssuesAndPullRequestsResponseContent( /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
/// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
/// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
- /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + /// > [!NOTE]
+ /// > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs new file mode 100644 index 0000000000..fc7559cd1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.SecretScanningClient.SecretScanningCreatePushProtectionBypass.g.cs + +#nullable enable + +namespace G +{ + public partial class SecretScanningClient + { + partial void PrepareSecretScanningCreatePushProtectionBypassArguments( + global::System.Net.Http.HttpClient httpClient, + ref string owner, + ref string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request); + partial void PrepareSecretScanningCreatePushProtectionBypassRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request); + partial void ProcessSecretScanningCreatePushProtectionBypassResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSecretScanningCreatePushProtectionBypassResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningCreatePushProtectionBypassRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSecretScanningCreatePushProtectionBypassArguments( + httpClient: _httpClient, + owner: ref owner, + repo: ref repo, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = request.ToJson(JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSecretScanningCreatePushProtectionBypassRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + owner: owner, + repo: repo, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSecretScanningCreatePushProtectionBypassResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSecretScanningCreatePushProtectionBypassResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.SecretScanningPushProtectionBypass.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a push protection bypass
+ /// Creates a bypass for a previously push protected secret.
+ /// The authenticated user must be the original author of the committed secret.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The reason for bypassing push protection. + /// + /// + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SecretScanningCreatePushProtectionBypassAsync( + string owner, + string repo, + global::G.SecretScanningPushProtectionBypassReason reason, + string placeholderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SecretScanningCreatePushProtectionBypassRequest + { + Reason = reason, + PlaceholderId = placeholderId, + }; + + return await SecretScanningCreatePushProtectionBypassAsync( + owner: owner, + repo: repo, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs index cc97bff9df..9baca28485 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessSecurityAdvisoriesCreateForkResponseContent( /// /// Create a temporary private fork
/// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
- /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + /// > [!NOTE]
+ /// > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs index d0292ecb3b..0099771d4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -19,6 +19,8 @@ partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesArguments( ref string? published, ref string? updated, ref string? modified, + ref string? epssPercentage, + ref string? epssPercentile, ref string? before, ref string? after, ref global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, @@ -38,6 +40,8 @@ partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesRequest( string? published, string? updated, string? modified, + string? epssPercentage, + string? epssPercentile, string? before, string? after, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, @@ -72,6 +76,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( /// /// /// + /// + /// /// /// /// @@ -97,6 +103,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( string? published = default, string? updated = default, string? modified = default, + string? epssPercentage = default, + string? epssPercentile = default, string? before = default, string? after = default, global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, @@ -119,6 +127,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( published: ref published, updated: ref updated, modified: ref modified, + epssPercentage: ref epssPercentage, + epssPercentile: ref epssPercentile, before: ref before, after: ref after, direction: ref direction, @@ -140,6 +150,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( .AddOptionalParameter("published", published) .AddOptionalParameter("updated", updated) .AddOptionalParameter("modified", modified) + .AddOptionalParameter("epss_percentage", epssPercentage) + .AddOptionalParameter("epss_percentile", epssPercentile) .AddOptionalParameter("before", before) .AddOptionalParameter("after", after) .AddOptionalParameter("direction", direction?.ToValueString()) @@ -168,6 +180,8 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( published: published, updated: updated, modified: modified, + epssPercentage: epssPercentage, + epssPercentile: epssPercentile, before: before, after: after, direction: direction, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs index 84a2d8f41b..265a8148b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsAddMemberLegacyResponseContent( /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs index 125e4ee195..70c7d764a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -32,10 +32,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserInOrgResponseContent( /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// @@ -127,10 +129,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserInOrgResponseContent( /// Add or update team membership for a user
/// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs index 7ddcaebc38..ef230a5100 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -28,10 +28,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserLegacyResponseContent( /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
@@ -120,10 +122,12 @@ partial void ProcessTeamsAddOrUpdateMembershipForUserLegacyResponseContent( /// /// Add or update team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
/// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
/// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs index 8a41e2e5e5..ae1baf933a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsInOrgResponseContent( /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// @@ -122,7 +123,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsInOrgResponseContent( /// /// Add or update team project permissions
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs index dacd1556f4..1eb2fca371 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsLegacyResponseContent( /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// @@ -116,7 +117,8 @@ partial void ProcessTeamsAddOrUpdateProjectPermissionsLegacyResponseContent( /// /// Add or update team project permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
/// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs index e96eb3e58a..3202cb479b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -101,7 +102,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// Add or update team repository permissions
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
/// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". ///
/// @@ -109,8 +111,7 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( /// /// /// - /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
- /// Default Value: push + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. /// /// The token to cancel the operation with /// @@ -119,7 +120,7 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsInOrgResponse( string teamSlug, string owner, string repo, - string? permission = "push", + string? permission = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs index 9440ada989..70d09b23e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsLegacyResponseContent( /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
@@ -123,7 +124,8 @@ partial void ProcessTeamsAddOrUpdateRepoPermissionsLegacyResponseContent( /// /// Add or update team repository permissions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
/// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
/// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs index 9f972cc5c2..6e1d92c3df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsCheckPermissionsForProjectInOrgResponseContent( /// /// Check team permissions for a project
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs index 85ff11f6ef..6fdede6ad6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsCheckPermissionsForProjectLegacyResponseContent( /// /// Check team permissions for a project (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
/// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs index b5b37eb3e7..a7a5a8d6ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -31,10 +31,11 @@ partial void ProcessTeamsCheckPermissionsForRepoInOrgResponseContent( /// /// Check team permissions for a repository
/// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.
/// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
/// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs index 2912f77077..5f8ce8644e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -28,9 +28,11 @@ partial void ProcessTeamsCheckPermissionsForRepoLegacyResponseContent( /// /// Check team permissions for a repository (Legacy)
- /// **Note**: Repositories inherited through a parent team will also be checked.
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
- /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// > [!NOTE]
+ /// > Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs index 587a88a61c..57a014b82a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -31,8 +31,9 @@ partial void ProcessTeamsCreateDiscussionCommentInOrgResponseContent( /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -124,8 +125,9 @@ partial void ProcessTeamsCreateDiscussionCommentInOrgResponseContent( /// /// Create a discussion comment
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs index fd3c304997..8c85b6a275 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -28,9 +28,10 @@ partial void ProcessTeamsCreateDiscussionCommentLegacyResponseContent( /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -118,9 +119,10 @@ partial void ProcessTeamsCreateDiscussionCommentLegacyResponseContent( /// /// Create a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
/// Creates a new comment on a team discussion.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs index 7daee3405e..d35799ccbd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -29,8 +29,9 @@ partial void ProcessTeamsCreateDiscussionInOrgResponseContent( /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -118,8 +119,9 @@ partial void ProcessTeamsCreateDiscussionInOrgResponseContent( /// /// Create a discussion
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs index 1c957564db..8c69d4a200 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -26,9 +26,10 @@ partial void ProcessTeamsCreateDiscussionLegacyResponseContent( /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -112,9 +113,10 @@ partial void ProcessTeamsCreateDiscussionLegacyResponseContent( /// /// Create a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
/// Creates a new discussion post on a team's page.
- /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs index 4b678a3d38..fca99a6eca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsDeleteDiscussionCommentInOrgResponse( /// /// Delete a discussion comment
/// Deletes a comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs index dedbdd5770..fd34641290 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsDeleteDiscussionCommentLegacyResponse( /// /// Delete a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
/// Deletes a comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs index 2be44c9b8b..4f0b19c047 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsDeleteDiscussionInOrgResponse( /// /// Delete a discussion
/// Delete a discussion from a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs index 12a549d0ad..6614d525c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -21,7 +21,8 @@ partial void ProcessTeamsDeleteDiscussionLegacyResponse( /// /// Delete a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
/// Delete a discussion from a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs index f9bee08497..b02f5e291b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsDeleteInOrgResponse( /// Delete a team
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs index f60f29d9b1..b271f21cb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsDeleteLegacyResponseContent( /// /// Delete a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
/// To delete a team, the authenticated user must be an organization owner or team maintainer.
/// If you are an organization owner, deleting a parent team will delete all of its child teams as well. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs index 43a36be38f..a16b8becca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetByName.g.verified.cs @@ -27,7 +27,8 @@ partial void ProcessTeamsGetByNameResponseContent( /// /// Get a team by name
/// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs index 0a57cd606e..ee77dd1aa0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsGetDiscussionCommentInOrgResponseContent( /// /// Get a discussion comment
/// Get a specific comment on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs index c414bba61d..c56ca0ed7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsGetDiscussionCommentLegacyResponseContent( /// /// Get a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
/// Get a specific comment on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs index e50876b998..087c868907 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsGetDiscussionInOrgResponseContent( /// /// Get a discussion
/// Get a specific discussion on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs index 48ec2ff154..39af70dc8f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsGetDiscussionLegacyResponseContent( /// /// Get a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
/// Get a specific discussion on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs index 7941b2b655..4c609b585d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetLegacy.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsGetLegacyResponseContent( /// /// Get a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. ///
/// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs index 2bd7af1305..615d7ca625 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -30,9 +30,10 @@ partial void ProcessTeamsGetMembershipForUserInOrgResponseContent( /// Get team membership for a user
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
- /// **Note:**
- /// The response contains the `state` of the membership and the member's `role`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// > [!NOTE]
+ /// > The response contains the `state` of the membership and the member's `role`.
/// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs index 40080a4d1e..a79709cda8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsGetMembershipForUserLegacyResponseContent( /// /// Get team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
/// Team members will include the members of child teams.
/// To get a user's membership with a team, the team must be visible to the authenticated user.
/// **Note:**
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs index 104816c8c9..8bfce2d697 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListChildInOrgResponseContent( /// /// List child teams
/// Lists the child teams of the team specified by `{team_slug}`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs index b62a8ca6c7..bca3d25297 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListChildLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListChildLegacyResponseContent( /// /// List child teams (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs index 0c8a58583d..ddbbe06b4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessTeamsListDiscussionCommentsInOrgResponseContent( /// /// List discussion comments
/// List all comments on a team discussion.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs index 80e2aed537..6ff927650c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -32,7 +32,8 @@ partial void ProcessTeamsListDiscussionCommentsLegacyResponseContent( /// /// List discussion comments (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
/// List all comments on a team discussion.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs index a83911b313..7f55cac7d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -35,7 +35,8 @@ partial void ProcessTeamsListDiscussionsInOrgResponseContent( /// /// List discussions
/// List all discussions on a team's page.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs index be8df3d4a6..777225d312 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsListDiscussionsLegacyResponseContent( /// /// List discussions (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
/// List all discussions on a team's page.
/// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs index 3986fb065b..8d90f81d3a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsListMembersLegacyResponseContent( /// /// List team members (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
/// Team members will include the members of child teams. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs index 2485b32e74..8ef2f83faf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListPendingInvitationsInOrgResponseContent( /// /// List pending team invitations
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs index 394bc4ca75..561adc30a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListPendingInvitationsLegacyResponseContent( /// /// List pending team invitations (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
/// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs index 9cc5717d99..fa1d7c65c6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListProjectsInOrgResponseContent( /// /// List team projects
/// Lists the organization projects for a team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs index e299dddcba..6b43ff1784 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListProjectsLegacyResponseContent( /// /// List team projects (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
/// Lists the organization projects for a team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs index f58aade08d..ac1c923ee5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsListReposInOrgResponseContent( /// /// List team repositories
/// Lists a team's repositories visible to the authenticated user.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs index 42e21d52ab..238e968555 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsListReposLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsListReposLegacyResponseContent( /// /// List team repositories (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs index 45ceb10efb..00920a4ec2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -25,7 +25,8 @@ partial void ProcessTeamsRemoveMemberLegacyResponse( /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs index 9871be5076..720bb0e910 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -25,8 +25,10 @@ partial void ProcessTeamsRemoveMembershipForUserInOrgResponse( /// Remove team membership for a user
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs index 028f066506..12acd695f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -21,10 +21,12 @@ partial void ProcessTeamsRemoveMembershipForUserLegacyResponse( /// /// Remove team membership for a user (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
/// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
/// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
- /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + /// > [!NOTE]
+ /// > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs index 02c440fb22..77511b0398 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -24,7 +24,8 @@ partial void ProcessTeamsRemoveProjectInOrgResponse( /// /// Remove a project from a team
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs index 65b07a91ac..caca58fc49 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsRemoveProjectLegacyResponseContent( /// /// Remove a project from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
/// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs index 1a3e5078eb..9bbc31acba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -26,7 +26,8 @@ partial void ProcessTeamsRemoveRepoInOrgResponse( /// /// Remove a repository from a team
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs index ab1afb1525..eddf3eab99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -23,7 +23,8 @@ partial void ProcessTeamsRemoveRepoLegacyResponse( /// /// Remove a repository from a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
/// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs index 26bcb2f7d8..4785401367 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -33,7 +33,8 @@ partial void ProcessTeamsUpdateDiscussionCommentInOrgResponseContent( /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -129,7 +130,8 @@ partial void ProcessTeamsUpdateDiscussionCommentInOrgResponseContent( /// /// Update a discussion comment
/// Edits the body text of a discussion comment.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs index 0ca744b313..a9d8c76bf4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -30,7 +30,8 @@ partial void ProcessTeamsUpdateDiscussionCommentLegacyResponseContent( /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -123,7 +124,8 @@ partial void ProcessTeamsUpdateDiscussionCommentLegacyResponseContent( /// /// Update a discussion comment (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
/// Edits the body text of a discussion comment.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs index 08728be98b..ea6a32974c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -31,7 +31,8 @@ partial void ProcessTeamsUpdateDiscussionInOrgResponseContent( /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// @@ -123,7 +124,8 @@ partial void ProcessTeamsUpdateDiscussionInOrgResponseContent( /// /// Update a discussion
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
/// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs index cfd29f7a04..51aa7b99c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -28,7 +28,8 @@ partial void ProcessTeamsUpdateDiscussionLegacyResponseContent( /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
@@ -117,7 +118,8 @@ partial void ProcessTeamsUpdateDiscussionLegacyResponseContent( /// /// Update a discussion (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
/// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
/// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. ///
diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs index 06f2b7e1ff..5aa6be37e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -29,7 +29,8 @@ partial void ProcessTeamsUpdateInOrgResponseContent( /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// @@ -116,7 +117,8 @@ partial void ProcessTeamsUpdateInOrgResponseContent( /// /// Update a team
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + /// > [!NOTE]
+ /// > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs index 2b5923e35b..5a74f24bd4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -26,9 +26,11 @@ partial void ProcessTeamsUpdateLegacyResponseContent( /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// @@ -111,9 +113,11 @@ partial void ProcessTeamsUpdateLegacyResponseContent( /// /// Update a team (Legacy)
- /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// > [!WARNING]
+ /// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
/// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
- /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + /// > [!NOTE]
+ /// > With nested teams, the `privacy` for parent teams cannot be `secret`. ///
/// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersGetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersGetById.g.verified.cs new file mode 100644 index 0000000000..7a4f85c012 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersGetById.g.verified.cs @@ -0,0 +1,97 @@ +//HintName: G.UsersClient.UsersGetById.g.cs + +#nullable enable + +namespace G +{ + public partial class UsersClient + { + partial void PrepareUsersGetByIdArguments( + global::System.Net.Http.HttpClient httpClient, + ref int accountId); + partial void PrepareUsersGetByIdRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int accountId); + partial void ProcessUsersGetByIdResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUsersGetByIdResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a user using their ID
+ /// 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> UsersGetByIdAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareUsersGetByIdArguments( + httpClient: _httpClient, + accountId: ref accountId); + + var __pathBuilder = new PathBuilder( + path: $"/user/{accountId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUsersGetByIdRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + accountId: accountId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUsersGetByIdResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUsersGetByIdResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.OneOf.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersListAttestations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersListAttestations.g.verified.cs new file mode 100644 index 0000000000..bbfd6547e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.UsersListAttestations.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.UsersClient.UsersListAttestations.g.cs + +#nullable enable + +namespace G +{ + public partial class UsersClient + { + partial void PrepareUsersListAttestationsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? perPage, + ref string? before, + ref string? after, + ref string username, + ref string subjectDigest); + partial void PrepareUsersListAttestationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? perPage, + string? before, + string? after, + string username, + string subjectDigest); + partial void ProcessUsersListAttestationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUsersListAttestationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List attestations
+ /// List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.
+ /// The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.
+ /// **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UsersListAttestationsAsync( + string username, + string subjectDigest, + int? perPage = 30, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareUsersListAttestationsArguments( + httpClient: _httpClient, + perPage: ref perPage, + before: ref before, + after: ref after, + username: ref username, + subjectDigest: ref subjectDigest); + + var __pathBuilder = new PathBuilder( + path: $"/users/{username}/attestations/{subjectDigest}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("per_page", perPage?.ToString()) + .AddOptionalParameter("before", before) + .AddOptionalParameter("after", after) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUsersListAttestationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + perPage: perPage, + before: before, + after: after, + username: username, + subjectDigest: subjectDigest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUsersListAttestationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUsersListAttestationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::G.UsersListAttestationsResponse.FromJson(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..ab36c4d2df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs new file mode 100644 index 0000000000..725806b9d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs new file mode 100644 index 0000000000..b454091f69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs new file mode 100644 index 0000000000..5acef259a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScope.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScope.g.verified.cs new file mode 100644 index 0000000000..4719d13bb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScope.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityAttachConfigurationRequestScope.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityAttachConfigurationRequestScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityAttachConfigurationRequestScope Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityAttachConfigurationRequestScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityAttachConfigurationRequestScope)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityAttachConfigurationRequestScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityAttachConfigurationRequestScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullable.g.verified.cs new file mode 100644 index 0000000000..3d0bd5cb84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityAttachConfigurationRequestScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityAttachConfigurationRequestScope? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityAttachConfigurationRequestScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityAttachConfigurationRequestScope)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityAttachConfigurationRequestScope? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityAttachConfigurationRequestScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..361fb49b00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurity.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationAdvancedSecurity.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationAdvancedSecurityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationAdvancedSecurity Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationAdvancedSecurityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationAdvancedSecurity value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationAdvancedSecurityExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullable.g.verified.cs new file mode 100644 index 0000000000..c945cdf30b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationAdvancedSecurityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationAdvancedSecurity? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationAdvancedSecurityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationAdvancedSecurity? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationAdvancedSecurityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..994f0233ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetup.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationCodeScanningDefaultSetupJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationCodeScanningDefaultSetup Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationCodeScanningDefaultSetupExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationCodeScanningDefaultSetup value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationCodeScanningDefaultSetupExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullable.g.verified.cs new file mode 100644 index 0000000000..dfc947fad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationCodeScanningDefaultSetupNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationCodeScanningDefaultSetup? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationCodeScanningDefaultSetupExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationCodeScanningDefaultSetup? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationCodeScanningDefaultSetupExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..d36329c31a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlerts.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependabotAlerts.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependabotAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependabotAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependabotAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependabotAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependabotAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlertsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlertsNullable.g.verified.cs new file mode 100644 index 0000000000..8a792e5bbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotAlertsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependabotAlertsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependabotAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependabotAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependabotAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependabotAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependabotAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..04bcdecc41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdates.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependabotSecurityUpdatesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependabotSecurityUpdates Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependabotSecurityUpdatesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependabotSecurityUpdates value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependabotSecurityUpdatesExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullable.g.verified.cs new file mode 100644 index 0000000000..fa6aa5fce1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependabotSecurityUpdatesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependabotSecurityUpdates? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependabotSecurityUpdatesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependabotSecurityUpdates? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependabotSecurityUpdatesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..514b7e0e4a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraph.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependencyGraph.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependencyGraphJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependencyGraph Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependencyGraphExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependencyGraph value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependencyGraphExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..b19aaeab07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependencyGraphAutosubmitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullable.g.verified.cs new file mode 100644 index 0000000000..ffc34a6fc5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependencyGraphAutosubmitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphNullable.g.verified.cs new file mode 100644 index 0000000000..b36ba16602 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationDependencyGraphNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationDependencyGraphNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationDependencyGraphNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationDependencyGraph? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationDependencyGraphExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationDependencyGraph? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationDependencyGraphExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcement.g.verified.cs new file mode 100644 index 0000000000..de55668008 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcement.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationEnforcement.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationEnforcementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationEnforcement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationEnforcementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationEnforcement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationEnforcementExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcementNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcementNullable.g.verified.cs new file mode 100644 index 0000000000..99b813a999 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationEnforcementNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationEnforcementNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationEnforcementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationEnforcement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationEnforcementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationEnforcement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationEnforcementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs new file mode 100644 index 0000000000..3f833f2f1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationForRepositoryStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationForRepositoryStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationForRepositoryStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationForRepositoryStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationForRepositoryStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationForRepositoryStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationForRepositoryStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullable.g.verified.cs new file mode 100644 index 0000000000..b80c34f4ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationForRepositoryStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationForRepositoryStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationForRepositoryStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationForRepositoryStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationForRepositoryStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationForRepositoryStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..76b25bbc0d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationPrivateVulnerabilityReportingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullable.g.verified.cs new file mode 100644 index 0000000000..bff79f3e72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationPrivateVulnerabilityReportingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationPrivateVulnerabilityReportingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs new file mode 100644 index 0000000000..81beb9ffdc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationRepositoriesStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationRepositoriesStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationRepositoriesStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationRepositoriesStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationRepositoriesStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationRepositoriesStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationRepositoriesStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullable.g.verified.cs new file mode 100644 index 0000000000..0d9b6a81eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationRepositoriesStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationRepositoriesStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationRepositoriesStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationRepositoriesStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationRepositoriesStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationRepositoriesStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanning.g.verified.cs similarity index 66% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedAction.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanning.g.verified.cs index 81dfc16008..aa066c557e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedAction.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanning.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.WebhookSecretScanningAlertRevokedAction.g.cs +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanning.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class WebhookSecretScanningAlertRevokedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CodeSecurityConfigurationSecretScanningJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.WebhookSecretScanningAlertRevokedAction Read( + public override global::G.CodeSecurityConfigurationSecretScanning Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class WebhookSecretScanningAlertRevokedActionJsonConverter : globa var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.WebhookSecretScanningAlertRevokedActionExtensions.ToEnum(stringValue) ?? default; + return global::G.CodeSecurityConfigurationSecretScanningExtensions.ToEnum(stringValue) ?? default; } break; @@ -27,7 +27,7 @@ public sealed class WebhookSecretScanningAlertRevokedActionJsonConverter : globa case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.WebhookSecretScanningAlertRevokedAction)numValue; + return (global::G.CodeSecurityConfigurationSecretScanning)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,12 +39,12 @@ public sealed class WebhookSecretScanningAlertRevokedActionJsonConverter : globa /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.WebhookSecretScanningAlertRevokedAction value, + global::G.CodeSecurityConfigurationSecretScanning value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::G.WebhookSecretScanningAlertRevokedActionExtensions.ToValueString(value)); + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningExtensions.ToValueString(value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..467d390676 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatterns.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningNonProviderPatternsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullable.g.verified.cs new file mode 100644 index 0000000000..d8e64f41fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningNonProviderPatternsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningNonProviderPatternsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNullable.g.verified.cs similarity index 68% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedActionNullable.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNullable.g.verified.cs index 24f1f64fbc..f14be16aaa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSecretScanningAlertRevokedActionNullable.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningNullable.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.WebhookSecretScanningAlertRevokedActionNullable.g.cs +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningNullable.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class WebhookSecretScanningAlertRevokedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CodeSecurityConfigurationSecretScanningNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.WebhookSecretScanningAlertRevokedAction? Read( + public override global::G.CodeSecurityConfigurationSecretScanning? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class WebhookSecretScanningAlertRevokedActionNullableJsonConverter var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.WebhookSecretScanningAlertRevokedActionExtensions.ToEnum(stringValue); + return global::G.CodeSecurityConfigurationSecretScanningExtensions.ToEnum(stringValue); } break; @@ -27,7 +27,7 @@ public sealed class WebhookSecretScanningAlertRevokedActionNullableJsonConverter case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.WebhookSecretScanningAlertRevokedAction)numValue; + return (global::G.CodeSecurityConfigurationSecretScanning)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,7 +39,7 @@ public sealed class WebhookSecretScanningAlertRevokedActionNullableJsonConverter /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.WebhookSecretScanningAlertRevokedAction? value, + global::G.CodeSecurityConfigurationSecretScanning? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -50,7 +50,7 @@ public override void Write( } else { - writer.WriteStringValue(global::G.WebhookSecretScanningAlertRevokedActionExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningExtensions.ToValueString(value.Value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..ceaebf087b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningPushProtection.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningPushProtectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningPushProtection Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningPushProtectionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningPushProtection value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningPushProtectionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullable.g.verified.cs new file mode 100644 index 0000000000..36947631b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningPushProtectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningPushProtection? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningPushProtectionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningPushProtection? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningPushProtectionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..5e7b7a208d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecks.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningValidityChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningValidityChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningValidityChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningValidityChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningValidityChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullable.g.verified.cs new file mode 100644 index 0000000000..c594e63908 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationSecretScanningValidityChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationSecretScanningValidityChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationSecretScanningValidityChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationSecretScanningValidityChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationSecretScanningValidityChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetType.g.verified.cs new file mode 100644 index 0000000000..6c6a487d80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityConfigurationTargetType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationTargetTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationTargetType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationTargetTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationTargetType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationTargetType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityConfigurationTargetTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetTypeNullable.g.verified.cs new file mode 100644 index 0000000000..7a1ef9c145 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityConfigurationTargetTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityConfigurationTargetTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityConfigurationTargetTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityConfigurationTargetType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityConfigurationTargetTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityConfigurationTargetType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityConfigurationTargetType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityConfigurationTargetTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..b454c5d1c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurity.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestAdvancedSecurityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullable.g.verified.cs new file mode 100644 index 0000000000..4d6473bd35 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestAdvancedSecurityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..7b433e47e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs new file mode 100644 index 0000000000..6bb1777fec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..4c3c9e266a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlerts.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependabotAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullable.g.verified.cs new file mode 100644 index 0000000000..7a4b5e6434 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependabotAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependabotAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..e56fe7dc7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs new file mode 100644 index 0000000000..3a59e43b01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..0be8d58aa6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraph.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependencyGraphJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependencyGraph Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependencyGraphExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependencyGraphExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..52bead3bf8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs new file mode 100644 index 0000000000..42ee1403f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullable.g.verified.cs new file mode 100644 index 0000000000..453e92fb68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestDependencyGraphNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestDependencyGraphExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestDependencyGraphExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..5cb504a0f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestEnforcement.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestEnforcementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestEnforcement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestEnforcementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestEnforcement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestEnforcementExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullable.g.verified.cs new file mode 100644 index 0000000000..befe15d442 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestEnforcementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestEnforcement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestEnforcementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestEnforcement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestEnforcementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..07c9148395 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs new file mode 100644 index 0000000000..c235f253e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..a76f41d56a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanning.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanning Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanning)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..f2c2dfa688 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs new file mode 100644 index 0000000000..f15ff8d947 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullable.g.verified.cs new file mode 100644 index 0000000000..ddc54cc6e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanning? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanning)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanning? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..e8bee8d351 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs new file mode 100644 index 0000000000..8e44a40c11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..964ac53947 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs new file mode 100644 index 0000000000..00e8f5a54f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..280d352426 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityDefaultConfigurationDefaultForNewReposJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityDefaultConfigurationDefaultForNewReposExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityDefaultConfigurationDefaultForNewReposExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullable.g.verified.cs new file mode 100644 index 0000000000..8dbf66bba2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityDefaultConfigurationDefaultForNewReposNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityDefaultConfigurationDefaultForNewReposExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityDefaultConfigurationDefaultForNewReposExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs new file mode 100644 index 0000000000..d8c94ec450 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityGetConfigurationsForOrgTargetType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityGetConfigurationsForOrgTargetTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityGetConfigurationsForOrgTargetType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityGetConfigurationsForOrgTargetTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityGetConfigurationsForOrgTargetType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityGetConfigurationsForOrgTargetType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityGetConfigurationsForOrgTargetTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullable.g.verified.cs new file mode 100644 index 0000000000..1e6d06acb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityGetConfigurationsForOrgTargetTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityGetConfigurationsForOrgTargetType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityGetConfigurationsForOrgTargetTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityGetConfigurationsForOrgTargetType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityGetConfigurationsForOrgTargetType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityGetConfigurationsForOrgTargetTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..dfc727ee7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullable.g.verified.cs new file mode 100644 index 0000000000..321d05f8cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs new file mode 100644 index 0000000000..de5c3e5c8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullable.g.verified.cs new file mode 100644 index 0000000000..65b95a659b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs new file mode 100644 index 0000000000..068fb94e90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurity.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestAdvancedSecurityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullable.g.verified.cs new file mode 100644 index 0000000000..8ec624e2b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..890a43671f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs new file mode 100644 index 0000000000..3ce6759cd4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs new file mode 100644 index 0000000000..0a81eb512f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlerts.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependabotAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullable.g.verified.cs new file mode 100644 index 0000000000..72c9885208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependabotAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependabotAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs new file mode 100644 index 0000000000..1d80a57190 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs new file mode 100644 index 0000000000..8b45a570cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs new file mode 100644 index 0000000000..9c451ff13a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraph.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependencyGraphJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs new file mode 100644 index 0000000000..05b0da9ff9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs new file mode 100644 index 0000000000..d514051474 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullable.g.verified.cs new file mode 100644 index 0000000000..4e5ec18fdd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestDependencyGraphNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs new file mode 100644 index 0000000000..a9c73c5ad9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcement.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcement.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestEnforcementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestEnforcement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestEnforcementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestEnforcementExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullable.g.verified.cs new file mode 100644 index 0000000000..8ca2e29a09 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestEnforcementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestEnforcement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestEnforcementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestEnforcement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestEnforcementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..6a26c0dd39 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs new file mode 100644 index 0000000000..524716413c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs new file mode 100644 index 0000000000..0cb649ed94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanning.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanning.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanning Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanning)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs new file mode 100644 index 0000000000..31018e4935 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs new file mode 100644 index 0000000000..1d5e853cda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullable.g.verified.cs new file mode 100644 index 0000000000..6ac1e419c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanning)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs new file mode 100644 index 0000000000..7b151fc93c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs new file mode 100644 index 0000000000..fcfba10175 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs new file mode 100644 index 0000000000..a2028ebc94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs new file mode 100644 index 0000000000..888258be79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanType.g.verified.cs new file mode 100644 index 0000000000..04388bdba9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CopilotOrganizationDetailsPlanType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CopilotOrganizationDetailsPlanTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CopilotOrganizationDetailsPlanType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CopilotOrganizationDetailsPlanTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CopilotOrganizationDetailsPlanType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CopilotOrganizationDetailsPlanType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CopilotOrganizationDetailsPlanTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanTypeNullable.g.verified.cs new file mode 100644 index 0000000000..0fca5bd0e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotOrganizationDetailsPlanTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CopilotOrganizationDetailsPlanTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CopilotOrganizationDetailsPlanTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CopilotOrganizationDetailsPlanType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CopilotOrganizationDetailsPlanTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CopilotOrganizationDetailsPlanType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CopilotOrganizationDetailsPlanType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CopilotOrganizationDetailsPlanTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanType.g.verified.cs similarity index 73% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueType.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanType.g.verified.cs index 7b3a83b11e..372d2e4abd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanType.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.OrgCustomPropertyValueType.g.cs +//HintName: JsonConverters.CopilotSeatDetailsPlanType.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class OrgCustomPropertyValueTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CopilotSeatDetailsPlanTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.OrgCustomPropertyValueType Read( + public override global::G.CopilotSeatDetailsPlanType Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class OrgCustomPropertyValueTypeJsonConverter : global::System.Tex var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.OrgCustomPropertyValueTypeExtensions.ToEnum(stringValue) ?? default; + return global::G.CopilotSeatDetailsPlanTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -27,7 +27,7 @@ public sealed class OrgCustomPropertyValueTypeJsonConverter : global::System.Tex case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.OrgCustomPropertyValueType)numValue; + return (global::G.CopilotSeatDetailsPlanType)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,12 +39,12 @@ public sealed class OrgCustomPropertyValueTypeJsonConverter : global::System.Tex /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.OrgCustomPropertyValueType value, + global::G.CopilotSeatDetailsPlanType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::G.OrgCustomPropertyValueTypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::G.CopilotSeatDetailsPlanTypeExtensions.ToValueString(value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanTypeNullable.g.verified.cs similarity index 74% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueTypeNullable.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanTypeNullable.g.verified.cs index 2d64cfdc0e..269b9a0ffd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValueTypeNullable.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CopilotSeatDetailsPlanTypeNullable.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.OrgCustomPropertyValueTypeNullable.g.cs +//HintName: JsonConverters.CopilotSeatDetailsPlanTypeNullable.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class OrgCustomPropertyValueTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CopilotSeatDetailsPlanTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.OrgCustomPropertyValueType? Read( + public override global::G.CopilotSeatDetailsPlanType? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class OrgCustomPropertyValueTypeNullableJsonConverter : global::Sy var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.OrgCustomPropertyValueTypeExtensions.ToEnum(stringValue); + return global::G.CopilotSeatDetailsPlanTypeExtensions.ToEnum(stringValue); } break; @@ -27,7 +27,7 @@ public sealed class OrgCustomPropertyValueTypeNullableJsonConverter : global::Sy case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.OrgCustomPropertyValueType)numValue; + return (global::G.CopilotSeatDetailsPlanType)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,7 +39,7 @@ public sealed class OrgCustomPropertyValueTypeNullableJsonConverter : global::Sy /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.OrgCustomPropertyValueType? value, + global::G.CopilotSeatDetailsPlanType? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -50,7 +50,7 @@ public override void Write( } else { - writer.WriteStringValue(global::G.OrgCustomPropertyValueTypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::G.CopilotSeatDetailsPlanTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableBy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueType.g.verified.cs similarity index 65% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableBy.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueType.g.verified.cs index 4b3cff0d48..3839d346c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableBy.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueType.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.OrgCustomPropertyValuesEditableBy.g.cs +//HintName: JsonConverters.CustomPropertyValueType.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class OrgCustomPropertyValuesEditableByJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CustomPropertyValueTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.OrgCustomPropertyValuesEditableBy Read( + public override global::G.CustomPropertyValueType Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class OrgCustomPropertyValuesEditableByJsonConverter : global::Sys var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.OrgCustomPropertyValuesEditableByExtensions.ToEnum(stringValue) ?? default; + return global::G.CustomPropertyValueTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -27,7 +27,7 @@ public sealed class OrgCustomPropertyValuesEditableByJsonConverter : global::Sys case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.OrgCustomPropertyValuesEditableBy)numValue; + return (global::G.CustomPropertyValueType)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,12 +39,12 @@ public sealed class OrgCustomPropertyValuesEditableByJsonConverter : global::Sys /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.OrgCustomPropertyValuesEditableBy value, + global::G.CustomPropertyValueType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::G.OrgCustomPropertyValuesEditableByExtensions.ToValueString(value)); + writer.WriteStringValue(global::G.CustomPropertyValueTypeExtensions.ToValueString(value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableByNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueTypeNullable.g.verified.cs similarity index 66% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableByNullable.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueTypeNullable.g.verified.cs index 051a96e3e0..fe7eb8f858 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.OrgCustomPropertyValuesEditableByNullable.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValueTypeNullable.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.OrgCustomPropertyValuesEditableByNullable.g.cs +//HintName: JsonConverters.CustomPropertyValueTypeNullable.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class OrgCustomPropertyValuesEditableByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CustomPropertyValueTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.OrgCustomPropertyValuesEditableBy? Read( + public override global::G.CustomPropertyValueType? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class OrgCustomPropertyValuesEditableByNullableJsonConverter : glo var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.OrgCustomPropertyValuesEditableByExtensions.ToEnum(stringValue); + return global::G.CustomPropertyValueTypeExtensions.ToEnum(stringValue); } break; @@ -27,7 +27,7 @@ public sealed class OrgCustomPropertyValuesEditableByNullableJsonConverter : glo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.OrgCustomPropertyValuesEditableBy)numValue; + return (global::G.CustomPropertyValueType)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,7 +39,7 @@ public sealed class OrgCustomPropertyValuesEditableByNullableJsonConverter : glo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.OrgCustomPropertyValuesEditableBy? value, + global::G.CustomPropertyValueType? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -50,7 +50,7 @@ public override void Write( } else { - writer.WriteStringValue(global::G.OrgCustomPropertyValuesEditableByExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::G.CustomPropertyValueTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableBy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableBy.g.verified.cs new file mode 100644 index 0000000000..1f554d9315 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableBy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.CustomPropertyValuesEditableBy.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CustomPropertyValuesEditableByJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CustomPropertyValuesEditableBy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CustomPropertyValuesEditableByExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CustomPropertyValuesEditableBy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CustomPropertyValuesEditableBy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.CustomPropertyValuesEditableByExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableByNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableByNullable.g.verified.cs new file mode 100644 index 0000000000..62f32f1e92 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.CustomPropertyValuesEditableByNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.CustomPropertyValuesEditableByNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class CustomPropertyValuesEditableByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.CustomPropertyValuesEditableBy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.CustomPropertyValuesEditableByExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.CustomPropertyValuesEditableBy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.CustomPropertyValuesEditableBy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.CustomPropertyValuesEditableByExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..71f419aeca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.ProjectsV2StatusUpdateStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ProjectsV2StatusUpdateStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ProjectsV2StatusUpdateStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ProjectsV2StatusUpdateStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ProjectsV2StatusUpdateStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ProjectsV2StatusUpdateStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.ProjectsV2StatusUpdateStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatusNullable.g.verified.cs new file mode 100644 index 0000000000..48189ca3ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ProjectsV2StatusUpdateStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.ProjectsV2StatusUpdateStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ProjectsV2StatusUpdateStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ProjectsV2StatusUpdateStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ProjectsV2StatusUpdateStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ProjectsV2StatusUpdateStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ProjectsV2StatusUpdateStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.ProjectsV2StatusUpdateStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponse.g.verified.cs new file mode 100644 index 0000000000..e5784f68f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponse.g.verified.cs @@ -0,0 +1,138 @@ +//HintName: JsonConverters.ReposGetContentResponse.g.cs +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace G.JsonConverters +{ + /// + public class ReposGetContentResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ReposGetContentResponse Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + var + readerCopy = reader; + global::System.Collections.Generic.IList? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::G.ContentFile? file = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentFile).Name}"); + file = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::G.ContentSymlink? symlink = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSymlink), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSymlink).Name}"); + symlink = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::G.ContentSubmodule? submodule = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSubmodule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSubmodule).Name}"); + submodule = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + var result = new global::G.ReposGetContentResponse( + value1, + file, + symlink, + submodule + ); + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (file != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentFile).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (symlink != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSymlink), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSymlink).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (submodule != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSubmodule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSubmodule).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ReposGetContentResponse value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + else if (value.IsFile) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentFile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.File, typeInfo); + } + else if (value.IsSymlink) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSymlink), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSymlink).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Symlink, typeInfo); + } + else if (value.IsSubmodule) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.ContentSubmodule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.ContentSubmodule).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Submodule, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorType.g.verified.cs new file mode 100644 index 0000000000..dd94844ff3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.ReposGetContentResponseDiscriminatorType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ReposGetContentResponseDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ReposGetContentResponseDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ReposGetContentResponseDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ReposGetContentResponseDiscriminatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ReposGetContentResponseDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.ReposGetContentResponseDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorTypeNullable.g.verified.cs new file mode 100644 index 0000000000..8ad6c97c35 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.ReposGetContentResponseDiscriminatorTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.ReposGetContentResponseDiscriminatorTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ReposGetContentResponseDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ReposGetContentResponseDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.ReposGetContentResponseDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ReposGetContentResponseDiscriminatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ReposGetContentResponseDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.ReposGetContentResponseDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRule.g.verified.cs index 6f4b9f7c67..f0f1d4fd7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRule.g.verified.cs @@ -50,112 +50,119 @@ public class RepositoryRuleJsonConverter : global::System.Text.Json.Serializatio throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleRequiredLinearHistory)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleRequiredDeployments? value5 = default; + global::G.RepositoryRuleMergeQueue? value5 = default; + if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.MergeQueue) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleMergeQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleMergeQueue)}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::G.RepositoryRuleRequiredDeployments? value6 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.RequiredDeployments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredDeployments), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleRequiredDeployments)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleRequiredSignatures? value6 = default; + global::G.RepositoryRuleRequiredSignatures? value7 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.RequiredSignatures) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredSignatures), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleRequiredSignatures)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRulePullRequest? value7 = default; + global::G.RepositoryRulePullRequest? value8 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.PullRequest) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRulePullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRulePullRequest)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleRequiredStatusChecks? value8 = default; + global::G.RepositoryRuleRequiredStatusChecks? value9 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.RequiredStatusChecks) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredStatusChecks), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleRequiredStatusChecks)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleNonFastForward? value9 = default; + global::G.RepositoryRuleNonFastForward? value10 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.NonFastForward) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleNonFastForward), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleNonFastForward)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleCommitMessagePattern? value10 = default; + global::G.RepositoryRuleCommitMessagePattern? value11 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.CommitMessagePattern) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitMessagePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleCommitMessagePattern)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleCommitAuthorEmailPattern? value11 = default; + global::G.RepositoryRuleCommitAuthorEmailPattern? value12 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.CommitAuthorEmailPattern) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleCommitAuthorEmailPattern)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleCommitterEmailPattern? value12 = default; + global::G.RepositoryRuleCommitterEmailPattern? value13 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.CommitterEmailPattern) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitterEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleCommitterEmailPattern)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleBranchNamePattern? value13 = default; + global::G.RepositoryRuleBranchNamePattern? value14 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.BranchNamePattern) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleBranchNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleBranchNamePattern)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleTagNamePattern? value14 = default; + global::G.RepositoryRuleTagNamePattern? value15 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.TagNamePattern) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleTagNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleTagNamePattern)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleVariant15? value15 = default; - if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.FilePathRestriction) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleVariant15)}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } global::G.RepositoryRuleVariant16? value16 = default; - if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.MaxFilePathLength) + if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.FilePathRestriction) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleVariant16)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::G.RepositoryRuleVariant17? value17 = default; - if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.FileExtensionRestriction) + if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.MaxFilePathLength) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleVariant17)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::G.RepositoryRuleVariant18? value18 = default; - if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.MaxFileSize) + if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.FileExtensionRestriction) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleVariant18)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleWorkflows? value19 = default; + global::G.RepositoryRuleVariant19? value19 = default; + if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.MaxFileSize) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleVariant19)}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::G.RepositoryRuleWorkflows? value20 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.Workflows) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleWorkflows), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::G.RepositoryRuleWorkflows)}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::G.RepositoryRuleCodeScanning? value20 = default; + global::G.RepositoryRuleCodeScanning? value21 = default; if (discriminator?.Type == global::G.RepositoryRuleDiscriminatorType.CodeScanning) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCodeScanning), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -184,7 +191,8 @@ public class RepositoryRuleJsonConverter : global::System.Text.Json.Serializatio value17, value18, value19, - value20 + value20, + value21 ); return result; @@ -225,68 +233,68 @@ public override void Write( } else if (value.IsValue5) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredDeployments), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredDeployments).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleMergeQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleMergeQueue).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); } else if (value.IsValue6) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredSignatures), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredSignatures).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredDeployments), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredDeployments).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6, typeInfo); } else if (value.IsValue7) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRulePullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRulePullRequest).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredSignatures), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredSignatures).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7, typeInfo); } else if (value.IsValue8) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredStatusChecks), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredStatusChecks).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRulePullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRulePullRequest).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8, typeInfo); } else if (value.IsValue9) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleNonFastForward), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleNonFastForward).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleRequiredStatusChecks), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleRequiredStatusChecks).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9, typeInfo); } else if (value.IsValue10) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitMessagePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitMessagePattern).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleNonFastForward), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleNonFastForward).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10, typeInfo); } else if (value.IsValue11) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitAuthorEmailPattern).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitMessagePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitMessagePattern).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11, typeInfo); } else if (value.IsValue12) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitterEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitterEmailPattern).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitAuthorEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitAuthorEmailPattern).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12, typeInfo); } else if (value.IsValue13) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleBranchNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleBranchNamePattern).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCommitterEmailPattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCommitterEmailPattern).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13, typeInfo); } else if (value.IsValue14) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleTagNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleTagNamePattern).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleBranchNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleBranchNamePattern).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value14, typeInfo); } else if (value.IsValue15) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleVariant15).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleTagNamePattern), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleTagNamePattern).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value15, typeInfo); } else if (value.IsValue16) @@ -309,15 +317,21 @@ public override void Write( } else if (value.IsValue19) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleWorkflows), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleWorkflows).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleVariant19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleVariant19).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value19, typeInfo); } else if (value.IsValue20) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleWorkflows), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleWorkflows).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value20, typeInfo); + } + else if (value.IsValue21) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.RepositoryRuleCodeScanning), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.RepositoryRuleCodeScanning).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value20, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value21, typeInfo); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleDetailed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleDetailed.g.verified.cs index 4b240cdd88..7d231c0e23 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleDetailed.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleDetailed.g.verified.cs @@ -66,144 +66,156 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::G.AllOf? value5 = default; + global::G.AllOf? value5 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::G.AllOf? value6 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value6 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value6 = default; + global::G.AllOf? value7 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value6 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value7 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value7 = default; + global::G.AllOf? value8 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value7 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value8 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value8 = default; + global::G.AllOf? value9 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value8 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value9 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value9 = default; + global::G.AllOf? value10 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value9 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value10 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value10 = default; + global::G.AllOf? value11 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value10 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value11 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value11 = default; + global::G.AllOf? value12 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value11 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value12 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value12 = default; + global::G.AllOf? value13 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value12 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value13 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value13 = default; + global::G.AllOf? value14 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value13 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value14 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value14 = default; + global::G.AllOf? value15 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value14 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value15 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value15 = default; + global::G.AllOf? value16 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value15 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value16 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::G.AllOf? value16 = default; + global::G.AllOf? value17 = default; try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - value16 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + value17 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -225,7 +237,8 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri value13, value14, value15, - value16 + value16, + value17 ); if (value1 != null) @@ -253,72 +266,78 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value5 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (value6 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value6 != null) + else if (value7 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value7 != null) + else if (value8 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value8 != null) + else if (value9 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value9 != null) + else if (value10 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value10 != null) + else if (value11 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value11 != null) + else if (value12 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value12 != null) + else if (value13 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value13 != null) + else if (value14 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value14 != null) + else if (value15 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value15 != null) + else if (value16 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (value16 != null) + else if (value17 != null) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); @@ -363,75 +382,81 @@ public override void Write( } else if (value.IsValue5) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); } else if (value.IsValue6) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6, typeInfo); } else if (value.IsValue7) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7, typeInfo); } else if (value.IsValue8) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8, typeInfo); } else if (value.IsValue9) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9, typeInfo); } else if (value.IsValue10) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10, typeInfo); } else if (value.IsValue11) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11, typeInfo); } else if (value.IsValue12) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12, typeInfo); } else if (value.IsValue13) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13, typeInfo); } else if (value.IsValue14) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value14, typeInfo); } else if (value.IsValue15) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value15, typeInfo); } else if (value.IsValue16) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value16, typeInfo); + } + else if (value.IsValue17) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::G.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::G.AllOf).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value16, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value17, typeInfo); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs new file mode 100644 index 0000000000..caecc08e04 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategy.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueParametersGroupingStrategyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueParametersGroupingStrategy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueParametersGroupingStrategyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueParametersGroupingStrategy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueParametersGroupingStrategy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueParametersGroupingStrategyExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullable.g.verified.cs new file mode 100644 index 0000000000..53528bbb97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueParametersGroupingStrategyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueParametersGroupingStrategy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueParametersGroupingStrategyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueParametersGroupingStrategy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueParametersGroupingStrategy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueParametersGroupingStrategyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs new file mode 100644 index 0000000000..50c055bc4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethod.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueParametersMergeMethod.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueParametersMergeMethodJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueParametersMergeMethod Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueParametersMergeMethodExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueParametersMergeMethod)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueParametersMergeMethod value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueParametersMergeMethodExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullable.g.verified.cs new file mode 100644 index 0000000000..9232cdb9f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueParametersMergeMethodNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueParametersMergeMethod? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueParametersMergeMethodExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueParametersMergeMethod)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueParametersMergeMethod? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueParametersMergeMethodExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueType.g.verified.cs new file mode 100644 index 0000000000..38b78f015e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueTypeNullable.g.verified.cs new file mode 100644 index 0000000000..8eece97032 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleMergeQueueTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.RepositoryRuleMergeQueueTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRuleMergeQueueTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRuleMergeQueueType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRuleMergeQueueTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRuleMergeQueueType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRuleMergeQueueType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.RepositoryRuleMergeQueueTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15Type.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19Type.g.verified.cs similarity index 76% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15Type.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19Type.g.verified.cs index a79cebcee0..7cdb18c7fc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15Type.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19Type.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.RepositoryRuleVariant15Type.g.cs +//HintName: JsonConverters.RepositoryRuleVariant19Type.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class RepositoryRuleVariant15TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class RepositoryRuleVariant19TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.RepositoryRuleVariant15Type Read( + public override global::G.RepositoryRuleVariant19Type Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class RepositoryRuleVariant15TypeJsonConverter : global::System.Te var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.RepositoryRuleVariant15TypeExtensions.ToEnum(stringValue) ?? default; + return global::G.RepositoryRuleVariant19TypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -27,7 +27,7 @@ public sealed class RepositoryRuleVariant15TypeJsonConverter : global::System.Te case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.RepositoryRuleVariant15Type)numValue; + return (global::G.RepositoryRuleVariant19Type)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,12 +39,12 @@ public sealed class RepositoryRuleVariant15TypeJsonConverter : global::System.Te /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.RepositoryRuleVariant15Type value, + global::G.RepositoryRuleVariant19Type value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::G.RepositoryRuleVariant15TypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::G.RepositoryRuleVariant19TypeExtensions.ToValueString(value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15TypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19TypeNullable.g.verified.cs similarity index 77% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15TypeNullable.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19TypeNullable.g.verified.cs index c2d979f28d..632a2b0797 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant15TypeNullable.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRuleVariant19TypeNullable.g.verified.cs @@ -1,13 +1,13 @@ -//HintName: JsonConverters.RepositoryRuleVariant15TypeNullable.g.cs +//HintName: JsonConverters.RepositoryRuleVariant19TypeNullable.g.cs #nullable enable namespace G.JsonConverters { /// - public sealed class RepositoryRuleVariant15TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class RepositoryRuleVariant19TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::G.RepositoryRuleVariant15Type? Read( + public override global::G.RepositoryRuleVariant19Type? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -19,7 +19,7 @@ public sealed class RepositoryRuleVariant15TypeNullableJsonConverter : global::S var stringValue = reader.GetString(); if (stringValue != null) { - return global::G.RepositoryRuleVariant15TypeExtensions.ToEnum(stringValue); + return global::G.RepositoryRuleVariant19TypeExtensions.ToEnum(stringValue); } break; @@ -27,7 +27,7 @@ public sealed class RepositoryRuleVariant15TypeNullableJsonConverter : global::S case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::G.RepositoryRuleVariant15Type)numValue; + return (global::G.RepositoryRuleVariant19Type)numValue; } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -39,7 +39,7 @@ public sealed class RepositoryRuleVariant15TypeNullableJsonConverter : global::S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::G.RepositoryRuleVariant15Type? value, + global::G.RepositoryRuleVariant19Type? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -50,7 +50,7 @@ public override void Write( } else { - writer.WriteStringValue(global::G.RepositoryRuleVariant15TypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::G.RepositoryRuleVariant19TypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs new file mode 100644 index 0000000000..6ede086ae3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSource.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRulesetConditionsRepositoryPropertySpecSourceJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullable.g.verified.cs new file mode 100644 index 0000000000..dbf558bfed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class RepositoryRulesetConditionsRepositoryPropertySpecSourceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.RepositoryRulesetConditionsRepositoryPropertySpecSourceExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReason.g.verified.cs new file mode 100644 index 0000000000..a287269211 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReason.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.SecretScanningPushProtectionBypassReason.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecretScanningPushProtectionBypassReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecretScanningPushProtectionBypassReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecretScanningPushProtectionBypassReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecretScanningPushProtectionBypassReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecretScanningPushProtectionBypassReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.SecretScanningPushProtectionBypassReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReasonNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReasonNullable.g.verified.cs new file mode 100644 index 0000000000..105bcfd0f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecretScanningPushProtectionBypassReasonNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.SecretScanningPushProtectionBypassReasonNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecretScanningPushProtectionBypassReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecretScanningPushProtectionBypassReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecretScanningPushProtectionBypassReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecretScanningPushProtectionBypassReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecretScanningPushProtectionBypassReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.SecretScanningPushProtectionBypassReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs new file mode 100644 index 0000000000..c0723b6d19 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs new file mode 100644 index 0000000000..b758d23da9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningAiDetectionStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs new file mode 100644 index 0000000000..a8f9cda5d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs new file mode 100644 index 0000000000..35dbbac742 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..8511bf15dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullable.g.verified.cs new file mode 100644 index 0000000000..5f4d8709a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs new file mode 100644 index 0000000000..3ae35d69d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullable.g.verified.cs new file mode 100644 index 0000000000..2a2fbfd575 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs new file mode 100644 index 0000000000..079ba21d91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateCreatedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateCreatedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateCreatedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateCreatedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateCreatedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateCreatedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateCreatedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullable.g.verified.cs new file mode 100644 index 0000000000..402b9fe846 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateCreatedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateCreatedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateCreatedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateCreatedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateCreatedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateCreatedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs new file mode 100644 index 0000000000..6ea40aa3ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateDeletedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateDeletedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateDeletedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateDeletedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateDeletedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateDeletedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateDeletedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullable.g.verified.cs new file mode 100644 index 0000000000..d71caa373e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateDeletedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateDeletedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateDeletedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateDeletedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateDeletedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateDeletedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs new file mode 100644 index 0000000000..5ff6d47bf7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullable.g.verified.cs new file mode 100644 index 0000000000..60ad885e77 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs new file mode 100644 index 0000000000..ad7dcacb3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedChangesStatusFromJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullable.g.verified.cs new file mode 100644 index 0000000000..d97096d7d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFromExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs new file mode 100644 index 0000000000..17f9ab8671 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusTo.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedChangesStatusToJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullable.g.verified.cs new file mode 100644 index 0000000000..679c5b0214 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookProjectsV2StatusUpdateEditedChangesStatusToNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusToExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReason.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReason.g.verified.cs new file mode 100644 index 0000000000..51b2fe5990 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReason.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookPullRequestDequeuedReason.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookPullRequestDequeuedReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookPullRequestDequeuedReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookPullRequestDequeuedReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookPullRequestDequeuedReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookPullRequestDequeuedReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReasonNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReasonNullable.g.verified.cs new file mode 100644 index 0000000000..189a556798 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookPullRequestDequeuedReasonNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookPullRequestDequeuedReasonNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookPullRequestDequeuedReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookPullRequestDequeuedReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookPullRequestDequeuedReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookPullRequestDequeuedReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookPullRequestDequeuedReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..06f476c1b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookSubIssuesParentIssueAddedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesParentIssueAddedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesParentIssueAddedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesParentIssueAddedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesParentIssueAddedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesParentIssueAddedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookSubIssuesParentIssueAddedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedActionNullable.g.verified.cs new file mode 100644 index 0000000000..4df750a0b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueAddedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookSubIssuesParentIssueAddedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesParentIssueAddedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesParentIssueAddedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesParentIssueAddedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesParentIssueAddedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesParentIssueAddedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookSubIssuesParentIssueAddedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..8dfb1eed33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookSubIssuesParentIssueRemovedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesParentIssueRemovedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesParentIssueRemovedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesParentIssueRemovedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesParentIssueRemovedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesParentIssueRemovedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookSubIssuesParentIssueRemovedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullable.g.verified.cs new file mode 100644 index 0000000000..3dc742e6ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesParentIssueRemovedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesParentIssueRemovedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesParentIssueRemovedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesParentIssueRemovedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesParentIssueRemovedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookSubIssuesParentIssueRemovedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedAction.g.verified.cs new file mode 100644 index 0000000000..7f61913aad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookSubIssuesSubIssueAddedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesSubIssueAddedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesSubIssueAddedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesSubIssueAddedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesSubIssueAddedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesSubIssueAddedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookSubIssuesSubIssueAddedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedActionNullable.g.verified.cs new file mode 100644 index 0000000000..5a79b7e2e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueAddedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookSubIssuesSubIssueAddedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesSubIssueAddedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesSubIssueAddedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesSubIssueAddedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesSubIssueAddedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesSubIssueAddedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookSubIssuesSubIssueAddedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs new file mode 100644 index 0000000000..7e513d38ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedAction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhookSubIssuesSubIssueRemovedAction.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesSubIssueRemovedActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesSubIssueRemovedAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesSubIssueRemovedActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesSubIssueRemovedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesSubIssueRemovedAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhookSubIssuesSubIssueRemovedActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullable.g.verified.cs new file mode 100644 index 0000000000..324cc8678b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhookSubIssuesSubIssueRemovedActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhookSubIssuesSubIssueRemovedAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhookSubIssuesSubIssueRemovedActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhookSubIssuesSubIssueRemovedAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhookSubIssuesSubIssueRemovedAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhookSubIssuesSubIssueRemovedActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs new file mode 100644 index 0000000000..582bcf626e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevel.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.WebhooksRuleLockBranchEnforcementLevel.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhooksRuleLockBranchEnforcementLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhooksRuleLockBranchEnforcementLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhooksRuleLockBranchEnforcementLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhooksRuleLockBranchEnforcementLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhooksRuleLockBranchEnforcementLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.WebhooksRuleLockBranchEnforcementLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullable.g.verified.cs new file mode 100644 index 0000000000..d0bd392ac8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class WebhooksRuleLockBranchEnforcementLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.WebhooksRuleLockBranchEnforcementLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::G.WebhooksRuleLockBranchEnforcementLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.WebhooksRuleLockBranchEnforcementLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.WebhooksRuleLockBranchEnforcementLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::G.WebhooksRuleLockBranchEnforcementLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 573fdc51e5..acc0b66b74 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -135,6 +135,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.ClassroomAssignmentTypeNullableJsonConverter), typeof(global::G.JsonConverters.SimpleClassroomAssignmentTypeJsonConverter), typeof(global::G.JsonConverters.SimpleClassroomAssignmentTypeNullableJsonConverter), + typeof(global::G.JsonConverters.CopilotSeatDetailsPlanTypeJsonConverter), + typeof(global::G.JsonConverters.CopilotSeatDetailsPlanTypeNullableJsonConverter), typeof(global::G.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityJsonConverter), typeof(global::G.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityNullableJsonConverter), typeof(global::G.JsonConverters.DependabotAlertSecurityAdvisorySeverityJsonConverter), @@ -169,6 +171,10 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningStatusNullableJsonConverter), typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusJsonConverter), typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningPushProtectionStatusNullableJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningNonProviderPatternsStatusNullableJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusJsonConverter), + typeof(global::G.JsonConverters.SecurityAndAnalysisSecretScanningAiDetectionStatusNullableJsonConverter), typeof(global::G.JsonConverters.EnabledRepositoriesJsonConverter), typeof(global::G.JsonConverters.EnabledRepositoriesNullableJsonConverter), typeof(global::G.JsonConverters.AllowedActionsJsonConverter), @@ -197,6 +203,36 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CodeScanningAlertRuleSummarySecuritySeverityLevelNullableJsonConverter), typeof(global::G.JsonConverters.CodeScanningAlertClassificationJsonConverter), typeof(global::G.JsonConverters.CodeScanningAlertClassificationNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationTargetTypeJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationTargetTypeNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationAdvancedSecurityJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationAdvancedSecurityNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependencyGraphAutosubmitActionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotAlertsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotAlertsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationDependabotSecurityUpdatesNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationCodeScanningDefaultSetupNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningPushProtectionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningValidityChecksNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationSecretScanningNonProviderPatternsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationPrivateVulnerabilityReportingNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationEnforcementJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationEnforcementNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityDefaultConfigurationDefaultForNewReposNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationRepositoriesStatusJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationRepositoriesStatusNullableJsonConverter), typeof(global::G.JsonConverters.NullableCodespaceMachinePrebuildAvailabilityJsonConverter), typeof(global::G.JsonConverters.NullableCodespaceMachinePrebuildAvailabilityNullableJsonConverter), typeof(global::G.JsonConverters.CodespaceStateJsonConverter), @@ -215,6 +251,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CopilotOrganizationDetailsCliNullableJsonConverter), typeof(global::G.JsonConverters.CopilotOrganizationDetailsSeatManagementSettingJsonConverter), typeof(global::G.JsonConverters.CopilotOrganizationDetailsSeatManagementSettingNullableJsonConverter), + typeof(global::G.JsonConverters.CopilotOrganizationDetailsPlanTypeJsonConverter), + typeof(global::G.JsonConverters.CopilotOrganizationDetailsPlanTypeNullableJsonConverter), typeof(global::G.JsonConverters.OrganizationDependabotSecretVisibilityJsonConverter), typeof(global::G.JsonConverters.OrganizationDependabotSecretVisibilityNullableJsonConverter), typeof(global::G.JsonConverters.PackagePackageTypeJsonConverter), @@ -237,10 +275,10 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OrganizationProgrammaticAccessGrantRepositorySelectionNullableJsonConverter), typeof(global::G.JsonConverters.ProjectOrganizationPermissionJsonConverter), typeof(global::G.JsonConverters.ProjectOrganizationPermissionNullableJsonConverter), - typeof(global::G.JsonConverters.OrgCustomPropertyValueTypeJsonConverter), - typeof(global::G.JsonConverters.OrgCustomPropertyValueTypeNullableJsonConverter), - typeof(global::G.JsonConverters.OrgCustomPropertyValuesEditableByJsonConverter), - typeof(global::G.JsonConverters.OrgCustomPropertyValuesEditableByNullableJsonConverter), + typeof(global::G.JsonConverters.CustomPropertyValueTypeJsonConverter), + typeof(global::G.JsonConverters.CustomPropertyValueTypeNullableJsonConverter), + typeof(global::G.JsonConverters.CustomPropertyValuesEditableByJsonConverter), + typeof(global::G.JsonConverters.CustomPropertyValuesEditableByNullableJsonConverter), typeof(global::G.JsonConverters.NullableRepositorySquashMergeCommitTitleJsonConverter), typeof(global::G.JsonConverters.NullableRepositorySquashMergeCommitTitleNullableJsonConverter), typeof(global::G.JsonConverters.NullableRepositorySquashMergeCommitMessageJsonConverter), @@ -263,6 +301,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.RepositoryRulesetBypassActorActorTypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRulesetBypassActorBypassModeJsonConverter), typeof(global::G.JsonConverters.RepositoryRulesetBypassActorBypassModeNullableJsonConverter), + typeof(global::G.JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceJsonConverter), + typeof(global::G.JsonConverters.RepositoryRulesetConditionsRepositoryPropertySpecSourceNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleCreationTypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleCreationTypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleUpdateTypeJsonConverter), @@ -271,6 +311,12 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.RepositoryRuleDeletionTypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeNullableJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueTypeJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueTypeNullableJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullableJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleRequiredDeploymentsTypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleRequiredDeploymentsTypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleRequiredSignaturesTypeJsonConverter), @@ -309,14 +355,14 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.RepositoryRuleParamsCodeScanningToolSecurityAlertsThresholdNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleCodeScanningTypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleCodeScanningTypeNullableJsonConverter), - typeof(global::G.JsonConverters.RepositoryRuleVariant15TypeJsonConverter), - typeof(global::G.JsonConverters.RepositoryRuleVariant15TypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant16TypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant16TypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant17TypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant17TypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant18TypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleVariant18TypeNullableJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleVariant19TypeJsonConverter), + typeof(global::G.JsonConverters.RepositoryRuleVariant19TypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleDiscriminatorTypeJsonConverter), typeof(global::G.JsonConverters.RepositoryRuleDiscriminatorTypeNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryRulesetTargetJsonConverter), @@ -413,6 +459,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullableJsonConverter), typeof(global::G.JsonConverters.CodeScanningSarifsStatusProcessingStatusJsonConverter), typeof(global::G.JsonConverters.CodeScanningSarifsStatusProcessingStatusNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationForRepositoryStatusJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityConfigurationForRepositoryStatusNullableJsonConverter), typeof(global::G.JsonConverters.CodespaceMachinePrebuildAvailabilityJsonConverter), typeof(global::G.JsonConverters.CodespaceMachinePrebuildAvailabilityNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryInvitationPermissionsJsonConverter), @@ -487,6 +535,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.SecretScanningAlertValidityNullableJsonConverter), typeof(global::G.JsonConverters.SecretScanningLocationTypeJsonConverter), typeof(global::G.JsonConverters.SecretScanningLocationTypeNullableJsonConverter), + typeof(global::G.JsonConverters.SecretScanningPushProtectionBypassReasonJsonConverter), + typeof(global::G.JsonConverters.SecretScanningPushProtectionBypassReasonNullableJsonConverter), typeof(global::G.JsonConverters.RepositoryAdvisoryCreateSeverityJsonConverter), typeof(global::G.JsonConverters.RepositoryAdvisoryCreateSeverityNullableJsonConverter), typeof(global::G.JsonConverters.PrivateVulnerabilityReportCreateSeverityJsonConverter), @@ -523,6 +573,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhooksRuleAllowForcePushesEnforcementLevelNullableJsonConverter), typeof(global::G.JsonConverters.WebhooksRuleLinearHistoryRequirementEnforcementLevelJsonConverter), typeof(global::G.JsonConverters.WebhooksRuleLinearHistoryRequirementEnforcementLevelNullableJsonConverter), + typeof(global::G.JsonConverters.WebhooksRuleLockBranchEnforcementLevelJsonConverter), + typeof(global::G.JsonConverters.WebhooksRuleLockBranchEnforcementLevelNullableJsonConverter), typeof(global::G.JsonConverters.WebhooksRuleMergeQueueEnforcementLevelJsonConverter), typeof(global::G.JsonConverters.WebhooksRuleMergeQueueEnforcementLevelNullableJsonConverter), typeof(global::G.JsonConverters.WebhooksRulePullRequestReviewsEnforcementLevelJsonConverter), @@ -803,6 +855,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhooksProjectStateNullableJsonConverter), typeof(global::G.JsonConverters.ProjectsV2ItemContentTypeJsonConverter), typeof(global::G.JsonConverters.ProjectsV2ItemContentTypeNullableJsonConverter), + typeof(global::G.JsonConverters.ProjectsV2StatusUpdateStatusJsonConverter), + typeof(global::G.JsonConverters.ProjectsV2StatusUpdateStatusNullableJsonConverter), typeof(global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitMessageJsonConverter), typeof(global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitMessageNullableJsonConverter), typeof(global::G.JsonConverters.PullRequestWebhookVariant2MergeCommitTitleJsonConverter), @@ -929,6 +983,10 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromJsonConverter), typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromJsonConverter), + typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromJsonConverter), + typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullableJsonConverter), typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromJsonConverter), typeof(global::G.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromNullableJsonConverter), typeof(global::G.JsonConverters.WebhookCheckRunCompletedActionJsonConverter), @@ -3201,6 +3259,16 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookProjectsV2ItemRestoredActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookProjectsV2ProjectReopenedActionJsonConverter), typeof(global::G.JsonConverters.WebhookProjectsV2ProjectReopenedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToJsonConverter), + typeof(global::G.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullableJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestAssignedActionJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestAssignedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonJsonConverter), @@ -3455,6 +3523,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestStateNullableJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookPullRequestDequeuedReasonJsonConverter), + typeof(global::G.JsonConverters.WebhookPullRequestDequeuedReasonNullableJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestEditedActionJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestEditedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestEnqueuedActionJsonConverter), @@ -4711,8 +4781,6 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookSecretScanningAlertReopenedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookSecretScanningAlertResolvedActionJsonConverter), typeof(global::G.JsonConverters.WebhookSecretScanningAlertResolvedActionNullableJsonConverter), - typeof(global::G.JsonConverters.WebhookSecretScanningAlertRevokedActionJsonConverter), - typeof(global::G.JsonConverters.WebhookSecretScanningAlertRevokedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookSecretScanningAlertValidatedActionJsonConverter), typeof(global::G.JsonConverters.WebhookSecretScanningAlertValidatedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookSecurityAdvisoryPublishedActionJsonConverter), @@ -4745,6 +4813,14 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookStatusCommitCommitterTypeNullableJsonConverter), typeof(global::G.JsonConverters.WebhookStatusStateJsonConverter), typeof(global::G.JsonConverters.WebhookStatusStateNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueAddedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueAddedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueRemovedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesParentIssueRemovedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueAddedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueAddedActionNullableJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueRemovedActionJsonConverter), + typeof(global::G.JsonConverters.WebhookSubIssuesSubIssueRemovedActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookTeamAddedToRepositoryActionJsonConverter), typeof(global::G.JsonConverters.WebhookTeamAddedToRepositoryActionNullableJsonConverter), typeof(global::G.JsonConverters.WebhookTeamAddedToRepositoryRepositoryOwnerTypeJsonConverter), @@ -4869,12 +4945,68 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OrgsUpdateRequestDefaultRepositoryPermissionNullableJsonConverter), typeof(global::G.JsonConverters.OrgsUpdateRequestMembersAllowedRepositoryCreationTypeJsonConverter), typeof(global::G.JsonConverters.OrgsUpdateRequestMembersAllowedRepositoryCreationTypeNullableJsonConverter), + typeof(global::G.JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter), + typeof(global::G.JsonConverters.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter), + typeof(global::G.JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityJsonConverter), + typeof(global::G.JsonConverters.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibilityNullableJsonConverter), typeof(global::G.JsonConverters.ActionsCreateOrUpdateOrgSecretRequestVisibilityJsonConverter), typeof(global::G.JsonConverters.ActionsCreateOrUpdateOrgSecretRequestVisibilityNullableJsonConverter), typeof(global::G.JsonConverters.ActionsCreateOrgVariableRequestVisibilityJsonConverter), typeof(global::G.JsonConverters.ActionsCreateOrgVariableRequestVisibilityNullableJsonConverter), typeof(global::G.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityJsonConverter), typeof(global::G.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotAlertsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityCreateConfigurationRequestEnforcementNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestAdvancedSecurityNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotAlertsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdatesNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetupNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtectionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecksNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatternsNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReportingNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityAttachConfigurationRequestScopeJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposJsonConverter), + typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullableJsonConverter), typeof(global::G.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityJsonConverter), typeof(global::G.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityNullableJsonConverter), typeof(global::G.JsonConverters.CodespacesCreateOrUpdateOrgSecretRequestVisibilityJsonConverter), @@ -5123,6 +5255,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CodeScanningListAlertsForOrgDirectionNullableJsonConverter), typeof(global::G.JsonConverters.CodeScanningListAlertsForOrgSortJsonConverter), typeof(global::G.JsonConverters.CodeScanningListAlertsForOrgSortNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeJsonConverter), + typeof(global::G.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullableJsonConverter), typeof(global::G.JsonConverters.DependabotListAlertsForOrgScopeJsonConverter), typeof(global::G.JsonConverters.DependabotListAlertsForOrgScopeNullableJsonConverter), typeof(global::G.JsonConverters.DependabotListAlertsForOrgSortJsonConverter), @@ -5435,6 +5569,10 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.ActivityListReposStarredByUserSortNullableJsonConverter), typeof(global::G.JsonConverters.ActivityListReposStarredByUserDirectionJsonConverter), typeof(global::G.JsonConverters.ActivityListReposStarredByUserDirectionNullableJsonConverter), + typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter), + typeof(global::G.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullableJsonConverter), + typeof(global::G.JsonConverters.ReposGetContentResponseDiscriminatorTypeJsonConverter), + typeof(global::G.JsonConverters.ReposGetContentResponseDiscriminatorTypeNullableJsonConverter), typeof(global::G.JsonConverters.WebhookConfigInsecureSslJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverterFactory3), typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2), @@ -5452,6 +5590,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.WebhookPullRequestReviewRequestRemovedJsonConverter), typeof(global::G.JsonConverters.WebhookPullRequestReviewRequestedJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverterFactory5), + typeof(global::G.JsonConverters.ReposGetContentResponseJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs index 7dc459e3cc..5fd76da139 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs @@ -43,25622 +43,26262 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::G.SimpleUser? Type6 { get; set; } + public global::G.CvssSeverities? Type6 { get; set; } /// /// /// - public int? Type7 { get; set; } + public global::G.CvssSeveritiesCvssV3? Type7 { get; set; } /// /// /// - public bool? Type8 { get; set; } + public double? Type8 { get; set; } /// /// /// - public global::G.SecurityAdvisoryCreditTypes? Type9 { get; set; } + public global::G.CvssSeveritiesCvssV4? Type9 { get; set; } /// /// /// - public global::G.GlobalAdvisory? Type10 { get; set; } + public global::G.SimpleUser? Type10 { get; set; } /// /// /// - public global::G.GlobalAdvisoryType? Type11 { get; set; } + public long? Type11 { get; set; } /// /// /// - public global::G.GlobalAdvisorySeverity? Type12 { get; set; } + public bool? Type12 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type13 { get; set; } + public global::G.SecurityAdvisoryCreditTypes? Type13 { get; set; } /// /// /// - public global::G.GlobalAdvisoryIdentifier? Type14 { get; set; } + public global::G.GlobalAdvisory? Type14 { get; set; } /// /// /// - public global::G.GlobalAdvisoryIdentifierType? Type15 { get; set; } + public global::G.GlobalAdvisoryType? Type15 { get; set; } /// /// /// - public global::System.DateTime? Type16 { get; set; } + public global::G.GlobalAdvisorySeverity? Type16 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type17 { get; set; } + public global::System.Collections.Generic.IList? Type17 { get; set; } /// /// /// - public global::G.GlobalAdvisoryCvss? Type18 { get; set; } + public global::G.GlobalAdvisoryIdentifier? Type18 { get; set; } /// /// /// - public double? Type19 { get; set; } + public global::G.GlobalAdvisoryIdentifierType? Type19 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type20 { get; set; } + public global::System.DateTime? Type20 { get; set; } /// /// /// - public global::G.GlobalAdvisoryCwe? Type21 { get; set; } + public global::System.Collections.Generic.IList? Type21 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type22 { get; set; } + public global::G.GlobalAdvisoryCvss? Type22 { get; set; } /// /// /// - public global::G.GlobalAdvisoryCredit? Type23 { get; set; } + public global::System.Collections.Generic.IList? Type23 { get; set; } /// /// /// - public global::G.BasicError? Type24 { get; set; } + public global::G.GlobalAdvisoryCwe? Type24 { get; set; } /// /// /// - public global::G.ValidationErrorSimple? Type25 { get; set; } + public global::G.GlobalAdvisoryEpss? Type25 { get; set; } /// /// /// - public global::G.NullableSimpleUser? Type26 { get; set; } + public global::System.Collections.Generic.IList? Type26 { get; set; } /// /// /// - public global::G.Integration? Type27 { get; set; } + public global::G.GlobalAdvisoryCredit? Type27 { get; set; } /// /// /// - public global::G.IntegrationPermissions? Type28 { get; set; } + public global::G.BasicError? Type28 { get; set; } /// /// /// - public global::G.WebhookConfigInsecureSsl? Type29 { get; set; } + public global::G.ValidationErrorSimple? Type29 { get; set; } /// /// /// - public global::G.WebhookConfig? Type30 { get; set; } + public global::G.NullableSimpleUser? Type30 { get; set; } /// /// /// - public global::G.HookDeliveryItem? Type31 { get; set; } + public global::G.Integration? Type31 { get; set; } /// /// /// - public global::G.ScimError? Type32 { get; set; } + public int? Type32 { get; set; } /// /// /// - public global::G.ValidationError? Type33 { get; set; } + public global::G.IntegrationPermissions? Type33 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type34 { get; set; } + public global::G.WebhookConfigInsecureSsl? Type34 { get; set; } /// /// /// - public global::G.ValidationErrorError? Type35 { get; set; } + public global::G.WebhookConfig? Type35 { get; set; } /// /// /// - public global::G.OneOf>? Type36 { get; set; } + public global::G.HookDeliveryItem? Type36 { get; set; } /// /// /// - public global::G.HookDelivery? Type37 { get; set; } + public global::G.ScimError? Type37 { get; set; } /// /// /// - public global::G.HookDeliveryRequest? Type38 { get; set; } + public global::G.ValidationError? Type38 { get; set; } /// /// /// - public object? Type39 { get; set; } + public global::System.Collections.Generic.IList? Type39 { get; set; } /// /// /// - public global::G.HookDeliveryResponse? Type40 { get; set; } + public global::G.ValidationErrorError? Type40 { get; set; } /// /// /// - public global::G.Enterprise? Type41 { get; set; } + public global::G.OneOf>? Type41 { get; set; } /// /// /// - public global::G.IntegrationInstallationRequest? Type42 { get; set; } + public global::G.HookDelivery? Type42 { get; set; } /// /// /// - public global::G.AnyOf? Type43 { get; set; } + public global::G.HookDeliveryRequest? Type43 { get; set; } /// /// /// - public global::G.AppPermissions? Type44 { get; set; } + public object? Type44 { get; set; } /// /// /// - public global::G.AppPermissionsActions? Type45 { get; set; } + public global::G.HookDeliveryResponse? Type45 { get; set; } /// /// /// - public global::G.AppPermissionsAdministration? Type46 { get; set; } + public global::G.Enterprise? Type46 { get; set; } /// /// /// - public global::G.AppPermissionsChecks? Type47 { get; set; } + public global::G.IntegrationInstallationRequest? Type47 { get; set; } /// /// /// - public global::G.AppPermissionsCodespaces? Type48 { get; set; } + public global::G.AnyOf? Type48 { get; set; } /// /// /// - public global::G.AppPermissionsContents? Type49 { get; set; } + public global::G.AppPermissions? Type49 { get; set; } /// /// /// - public global::G.AppPermissionsDependabotSecrets? Type50 { get; set; } + public global::G.AppPermissionsActions? Type50 { get; set; } /// /// /// - public global::G.AppPermissionsDeployments? Type51 { get; set; } + public global::G.AppPermissionsAdministration? Type51 { get; set; } /// /// /// - public global::G.AppPermissionsEnvironments? Type52 { get; set; } + public global::G.AppPermissionsChecks? Type52 { get; set; } /// /// /// - public global::G.AppPermissionsIssues? Type53 { get; set; } + public global::G.AppPermissionsCodespaces? Type53 { get; set; } /// /// /// - public global::G.AppPermissionsMetadata? Type54 { get; set; } + public global::G.AppPermissionsContents? Type54 { get; set; } /// /// /// - public global::G.AppPermissionsPackages? Type55 { get; set; } + public global::G.AppPermissionsDependabotSecrets? Type55 { get; set; } /// /// /// - public global::G.AppPermissionsPages? Type56 { get; set; } + public global::G.AppPermissionsDeployments? Type56 { get; set; } /// /// /// - public global::G.AppPermissionsPullRequests? Type57 { get; set; } + public global::G.AppPermissionsEnvironments? Type57 { get; set; } /// /// /// - public global::G.AppPermissionsRepositoryCustomProperties? Type58 { get; set; } + public global::G.AppPermissionsIssues? Type58 { get; set; } /// /// /// - public global::G.AppPermissionsRepositoryHooks? Type59 { get; set; } + public global::G.AppPermissionsMetadata? Type59 { get; set; } /// /// /// - public global::G.AppPermissionsRepositoryProjects? Type60 { get; set; } + public global::G.AppPermissionsPackages? Type60 { get; set; } /// /// /// - public global::G.AppPermissionsSecretScanningAlerts? Type61 { get; set; } + public global::G.AppPermissionsPages? Type61 { get; set; } /// /// /// - public global::G.AppPermissionsSecrets? Type62 { get; set; } + public global::G.AppPermissionsPullRequests? Type62 { get; set; } /// /// /// - public global::G.AppPermissionsSecurityEvents? Type63 { get; set; } + public global::G.AppPermissionsRepositoryCustomProperties? Type63 { get; set; } /// /// /// - public global::G.AppPermissionsSingleFile? Type64 { get; set; } + public global::G.AppPermissionsRepositoryHooks? Type64 { get; set; } /// /// /// - public global::G.AppPermissionsStatuses? Type65 { get; set; } + public global::G.AppPermissionsRepositoryProjects? Type65 { get; set; } /// /// /// - public global::G.AppPermissionsVulnerabilityAlerts? Type66 { get; set; } + public global::G.AppPermissionsSecretScanningAlerts? Type66 { get; set; } /// /// /// - public global::G.AppPermissionsWorkflows? Type67 { get; set; } + public global::G.AppPermissionsSecrets? Type67 { get; set; } /// /// /// - public global::G.AppPermissionsMembers? Type68 { get; set; } + public global::G.AppPermissionsSecurityEvents? Type68 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationAdministration? Type69 { get; set; } + public global::G.AppPermissionsSingleFile? Type69 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationCustomRoles? Type70 { get; set; } + public global::G.AppPermissionsStatuses? Type70 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationCustomOrgRoles? Type71 { get; set; } + public global::G.AppPermissionsVulnerabilityAlerts? Type71 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationCustomProperties? Type72 { get; set; } + public global::G.AppPermissionsWorkflows? Type72 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationCopilotSeatManagement? Type73 { get; set; } + public global::G.AppPermissionsMembers? Type73 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationAnnouncementBanners? Type74 { get; set; } + public global::G.AppPermissionsOrganizationAdministration? Type74 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationEvents? Type75 { get; set; } + public global::G.AppPermissionsOrganizationCustomRoles? Type75 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationHooks? Type76 { get; set; } + public global::G.AppPermissionsOrganizationCustomOrgRoles? Type76 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationPersonalAccessTokens? Type77 { get; set; } + public global::G.AppPermissionsOrganizationCustomProperties? Type77 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationPersonalAccessTokenRequests? Type78 { get; set; } + public global::G.AppPermissionsOrganizationCopilotSeatManagement? Type78 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationPlan? Type79 { get; set; } + public global::G.AppPermissionsOrganizationAnnouncementBanners? Type79 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationProjects? Type80 { get; set; } + public global::G.AppPermissionsOrganizationEvents? Type80 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationPackages? Type81 { get; set; } + public global::G.AppPermissionsOrganizationHooks? Type81 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationSecrets? Type82 { get; set; } + public global::G.AppPermissionsOrganizationPersonalAccessTokens? Type82 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationSelfHostedRunners? Type83 { get; set; } + public global::G.AppPermissionsOrganizationPersonalAccessTokenRequests? Type83 { get; set; } /// /// /// - public global::G.AppPermissionsOrganizationUserBlocking? Type84 { get; set; } + public global::G.AppPermissionsOrganizationPlan? Type84 { get; set; } /// /// /// - public global::G.AppPermissionsTeamDiscussions? Type85 { get; set; } + public global::G.AppPermissionsOrganizationProjects? Type85 { get; set; } /// /// /// - public global::G.AppPermissionsEmailAddresses? Type86 { get; set; } + public global::G.AppPermissionsOrganizationPackages? Type86 { get; set; } /// /// /// - public global::G.AppPermissionsFollowers? Type87 { get; set; } + public global::G.AppPermissionsOrganizationSecrets? Type87 { get; set; } /// /// /// - public global::G.AppPermissionsGitSshKeys? Type88 { get; set; } + public global::G.AppPermissionsOrganizationSelfHostedRunners? Type88 { get; set; } /// /// /// - public global::G.AppPermissionsGpgKeys? Type89 { get; set; } + public global::G.AppPermissionsOrganizationUserBlocking? Type89 { get; set; } /// /// /// - public global::G.AppPermissionsInteractionLimits? Type90 { get; set; } + public global::G.AppPermissionsTeamDiscussions? Type90 { get; set; } /// /// /// - public global::G.AppPermissionsProfile? Type91 { get; set; } + public global::G.AppPermissionsEmailAddresses? Type91 { get; set; } /// /// /// - public global::G.AppPermissionsStarring? Type92 { get; set; } + public global::G.AppPermissionsFollowers? Type92 { get; set; } /// /// /// - public global::G.Installation? Type93 { get; set; } + public global::G.AppPermissionsGitSshKeys? Type93 { get; set; } /// /// /// - public global::G.InstallationRepositorySelection? Type94 { get; set; } + public global::G.AppPermissionsGpgKeys? Type94 { get; set; } /// /// /// - public global::G.NullableLicenseSimple? Type95 { get; set; } + public global::G.AppPermissionsInteractionLimits? Type95 { get; set; } /// /// /// - public global::G.Repository? Type96 { get; set; } + public global::G.AppPermissionsProfile? Type96 { get; set; } /// /// /// - public global::G.RepositoryPermissions? Type97 { get; set; } + public global::G.AppPermissionsStarring? Type97 { get; set; } /// /// /// - public global::G.RepositorySquashMergeCommitTitle? Type98 { get; set; } + public global::G.Installation? Type98 { get; set; } /// /// /// - public global::G.RepositorySquashMergeCommitMessage? Type99 { get; set; } + public global::G.InstallationRepositorySelection? Type99 { get; set; } /// /// /// - public global::G.RepositoryMergeCommitTitle? Type100 { get; set; } + public global::G.NullableLicenseSimple? Type100 { get; set; } /// /// /// - public global::G.RepositoryMergeCommitMessage? Type101 { get; set; } + public global::G.Repository? Type101 { get; set; } /// /// /// - public global::G.InstallationToken? Type102 { get; set; } + public global::G.RepositoryPermissions? Type102 { get; set; } /// /// /// - public global::G.InstallationTokenRepositorySelection? Type103 { get; set; } + public global::G.RepositorySquashMergeCommitTitle? Type103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type104 { get; set; } + public global::G.RepositorySquashMergeCommitMessage? Type104 { get; set; } /// /// /// - public global::G.NullableScopedInstallation? Type105 { get; set; } + public global::G.RepositoryMergeCommitTitle? Type105 { get; set; } /// /// /// - public global::G.NullableScopedInstallationRepositorySelection? Type106 { get; set; } + public global::G.RepositoryMergeCommitMessage? Type106 { get; set; } /// /// /// - public global::G.Authorization? Type107 { get; set; } + public global::G.InstallationToken? Type107 { get; set; } /// /// /// - public global::G.AuthorizationApp? Type108 { get; set; } + public global::G.InstallationTokenRepositorySelection? Type108 { get; set; } /// /// /// - public global::G.SimpleClassroomRepository? Type109 { get; set; } + public global::System.Collections.Generic.IList? Type109 { get; set; } /// /// /// - public global::G.SimpleClassroomOrganization? Type110 { get; set; } + public global::G.NullableScopedInstallation? Type110 { get; set; } /// /// /// - public global::G.Classroom? Type111 { get; set; } + public global::G.NullableScopedInstallationRepositorySelection? Type111 { get; set; } /// /// /// - public global::G.ClassroomAssignment? Type112 { get; set; } + public global::G.Authorization? Type112 { get; set; } /// /// /// - public global::G.ClassroomAssignmentType? Type113 { get; set; } + public global::G.AuthorizationApp? Type113 { get; set; } /// /// /// - public global::G.SimpleClassroomUser? Type114 { get; set; } + public global::G.SimpleClassroomRepository? Type114 { get; set; } /// /// /// - public global::G.SimpleClassroom? Type115 { get; set; } + public global::G.SimpleClassroomOrganization? Type115 { get; set; } /// /// /// - public global::G.SimpleClassroomAssignment? Type116 { get; set; } + public global::G.Classroom? Type116 { get; set; } /// /// /// - public global::G.SimpleClassroomAssignmentType? Type117 { get; set; } + public global::G.ClassroomAssignment? Type117 { get; set; } /// /// /// - public global::G.ClassroomAcceptedAssignment? Type118 { get; set; } + public global::G.ClassroomAssignmentType? Type118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type119 { get; set; } + public global::G.SimpleClassroomUser? Type119 { get; set; } /// /// /// - public global::G.ClassroomAssignmentGrade? Type120 { get; set; } + public global::G.SimpleClassroom? Type120 { get; set; } /// /// /// - public global::G.CodeOfConduct? Type121 { get; set; } + public global::G.SimpleClassroomAssignment? Type121 { get; set; } /// /// /// - public global::G.CopilotUsageMetrics? Type122 { get; set; } + public global::G.SimpleClassroomAssignmentType? Type122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type123 { get; set; } + public global::G.ClassroomAcceptedAssignment? Type123 { get; set; } /// /// /// - public global::G.CopilotUsageMetricsBreakdownItem? Type124 { get; set; } + public global::System.Collections.Generic.IList? Type124 { get; set; } /// /// /// - public global::G.DependabotAlertPackage? Type125 { get; set; } + public global::G.ClassroomAssignmentGrade? Type125 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityVulnerability? Type126 { get; set; } + public global::G.CodeOfConduct? Type126 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityVulnerabilitySeverity? Type127 { get; set; } + public global::G.NullableOrganizationSimple? Type127 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityVulnerabilityFirstPatchedVersion? Type128 { get; set; } + public global::G.NullableTeamSimple? Type128 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisory? Type129 { get; set; } + public global::G.Team? Type129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type130 { get; set; } + public global::G.TeamPermissions? Type130 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisorySeverity? Type131 { get; set; } + public global::G.EnterpriseTeam? Type131 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisoryCvss? Type132 { get; set; } + public global::G.CopilotSeatDetails? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::G.OneOf? Type133 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisoryCwe? Type134 { get; set; } + public global::G.CopilotSeatDetailsPlanType? Type134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type135 { get; set; } + public global::G.CopilotUsageMetrics? Type135 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisoryIdentifier? Type136 { get; set; } + public global::System.Collections.Generic.IList? Type136 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisoryIdentifierType? Type137 { get; set; } + public global::G.CopilotUsageMetricsBreakdownItem? Type137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type138 { get; set; } + public global::G.DependabotAlertPackage? Type138 { get; set; } /// /// /// - public global::G.DependabotAlertSecurityAdvisoryReference? Type139 { get; set; } + public global::G.DependabotAlertSecurityVulnerability? Type139 { get; set; } /// /// /// - public global::G.SimpleRepository? Type140 { get; set; } + public global::G.DependabotAlertSecurityVulnerabilitySeverity? Type140 { get; set; } /// /// /// - public global::G.DependabotAlertWithRepository? Type141 { get; set; } + public global::G.DependabotAlertSecurityVulnerabilityFirstPatchedVersion? Type141 { get; set; } /// /// /// - public global::G.DependabotAlertWithRepositoryState? Type142 { get; set; } + public global::G.DependabotAlertSecurityAdvisory? Type142 { get; set; } /// /// /// - public global::G.DependabotAlertWithRepositoryDependency? Type143 { get; set; } + public global::System.Collections.Generic.IList? Type143 { get; set; } /// /// /// - public global::G.DependabotAlertWithRepositoryDependencyScope? Type144 { get; set; } + public global::G.DependabotAlertSecurityAdvisorySeverity? Type144 { get; set; } /// /// /// - public global::G.DependabotAlertWithRepositoryDismissedReason? Type145 { get; set; } + public global::G.DependabotAlertSecurityAdvisoryCvss? Type145 { get; set; } /// /// /// - public global::G.SecretScanningAlertState? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::G.SecretScanningAlertResolution? Type147 { get; set; } + public global::G.DependabotAlertSecurityAdvisoryCwe? Type147 { get; set; } /// /// /// - public global::G.OrganizationSecretScanningAlert? Type148 { get; set; } + public global::System.Collections.Generic.IList? Type148 { get; set; } /// /// /// - public global::G.OrganizationSecretScanningAlertValidity? Type149 { get; set; } + public global::G.DependabotAlertSecurityAdvisoryIdentifier? Type149 { get; set; } /// /// /// - public global::G.Actor? Type150 { get; set; } + public global::G.DependabotAlertSecurityAdvisoryIdentifierType? Type150 { get; set; } /// /// /// - public global::G.NullableMilestone? Type151 { get; set; } + public global::System.Collections.Generic.IList? Type151 { get; set; } /// /// /// - public global::G.NullableMilestoneState? Type152 { get; set; } + public global::G.DependabotAlertSecurityAdvisoryReference? Type152 { get; set; } /// /// /// - public global::G.NullableIntegration? Type153 { get; set; } + public global::G.SimpleRepository? Type153 { get; set; } /// /// /// - public global::G.NullableIntegrationPermissions? Type154 { get; set; } + public global::G.DependabotAlertWithRepository? Type154 { get; set; } /// /// /// - public global::G.AuthorAssociation? Type155 { get; set; } + public global::G.DependabotAlertWithRepositoryState? Type155 { get; set; } /// /// /// - public global::G.ReactionRollup? Type156 { get; set; } + public global::G.DependabotAlertWithRepositoryDependency? Type156 { get; set; } /// /// /// - public global::G.Issue? Type157 { get; set; } + public global::G.DependabotAlertWithRepositoryDependencyScope? Type157 { get; set; } /// /// /// - public long? Type158 { get; set; } + public global::G.DependabotAlertWithRepositoryDismissedReason? Type158 { get; set; } /// /// /// - public global::G.IssueStateReason? Type159 { get; set; } + public global::G.SecretScanningAlertState? Type159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type160 { get; set; } + public global::G.SecretScanningAlertResolution? Type160 { get; set; } /// /// /// - public global::G.OneOf? Type161 { get; set; } + public global::G.OrganizationSecretScanningAlert? Type161 { get; set; } /// /// /// - public global::G.IssueLabel? Type162 { get; set; } + public global::G.OrganizationSecretScanningAlertValidity? Type162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type163 { get; set; } + public global::G.Actor? Type163 { get; set; } /// /// /// - public global::G.IssuePullRequest? Type164 { get; set; } + public global::G.NullableMilestone? Type164 { get; set; } /// /// /// - public global::G.IssueComment? Type165 { get; set; } + public global::G.NullableMilestoneState? Type165 { get; set; } /// /// /// - public global::G.Event? Type166 { get; set; } + public global::G.NullableIntegration? Type166 { get; set; } /// /// /// - public global::G.EventRepo? Type167 { get; set; } + public global::G.NullableIntegrationPermissions? Type167 { get; set; } /// /// /// - public global::G.EventPayload? Type168 { get; set; } + public global::G.AuthorAssociation? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::G.ReactionRollup? Type169 { get; set; } /// /// /// - public global::G.EventPayloadPage? Type170 { get; set; } + public global::G.Issue? Type170 { get; set; } /// /// /// - public global::G.LinkWithType? Type171 { get; set; } + public global::G.IssueStateReason? Type171 { get; set; } /// /// /// - public global::G.Feed? Type172 { get; set; } + public global::System.Collections.Generic.IList>? Type172 { get; set; } /// /// /// - public global::G.FeedLinks? Type173 { get; set; } + public global::G.OneOf? Type173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type174 { get; set; } + public global::G.IssueLabel? Type174 { get; set; } /// /// /// - public global::G.BaseGist? Type175 { get; set; } + public global::System.Collections.Generic.IList? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type176 { get; set; } + public global::G.IssuePullRequest? Type176 { get; set; } /// /// /// - public global::G.BaseGistFiles2? Type177 { get; set; } + public global::G.IssueComment? Type177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type178 { get; set; } + public global::G.Event? Type178 { get; set; } /// /// /// - public global::G.PublicUser? Type179 { get; set; } + public global::G.EventRepo? Type179 { get; set; } /// /// /// - public global::G.PublicUserPlan? Type180 { get; set; } + public global::G.EventPayload? Type180 { get; set; } /// /// /// - public global::G.GistHistory? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::G.GistHistoryChangeStatus? Type182 { get; set; } + public global::G.EventPayloadPage? Type182 { get; set; } /// /// /// - public global::G.GistSimple? Type183 { get; set; } + public global::G.LinkWithType? Type183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type184 { get; set; } + public global::G.Feed? Type184 { get; set; } /// /// /// - public global::G.GistSimpleFork? Type185 { get; set; } + public global::G.FeedLinks? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::System.Collections.Generic.IList? Type186 { get; set; } /// /// /// - public global::G.GistSimpleForkOf? Type187 { get; set; } + public global::G.BaseGist? Type187 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type188 { get; set; } + public global::System.Collections.Generic.Dictionary? Type188 { get; set; } /// /// /// - public global::G.GistSimpleForkOfFiles2? Type189 { get; set; } + public global::G.BaseGistFiles2? Type189 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::G.GistSimpleFiles2? Type191 { get; set; } + public global::G.PublicUser? Type191 { get; set; } /// /// /// - public global::G.GistComment? Type192 { get; set; } + public global::G.PublicUserPlan? Type192 { get; set; } /// /// /// - public global::G.GistCommit? Type193 { get; set; } + public global::G.GistHistory? Type193 { get; set; } /// /// /// - public global::G.GistCommitChangeStatus? Type194 { get; set; } + public global::G.GistHistoryChangeStatus? Type194 { get; set; } /// /// /// - public global::G.GitignoreTemplate? Type195 { get; set; } + public global::G.GistSimple? Type195 { get; set; } /// /// /// - public global::G.LicenseSimple? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::G.License? Type197 { get; set; } + public global::G.GistSimpleFork? Type197 { get; set; } /// /// /// - public global::G.MarketplaceListingPlan? Type198 { get; set; } + public global::System.Collections.Generic.IList? Type198 { get; set; } /// /// /// - public global::G.MarketplaceListingPlanPriceModel? Type199 { get; set; } + public global::G.GistSimpleForkOf? Type199 { get; set; } /// /// /// - public global::G.MarketplacePurchase? Type200 { get; set; } + public global::System.Collections.Generic.Dictionary? Type200 { get; set; } /// /// /// - public global::G.MarketplacePurchaseMarketplacePendingChange? Type201 { get; set; } + public global::G.GistSimpleForkOfFiles2? Type201 { get; set; } /// /// /// - public global::G.MarketplacePurchaseMarketplacePurchase1? Type202 { get; set; } + public global::System.Collections.Generic.Dictionary? Type202 { get; set; } /// /// /// - public global::G.ApiOverview? Type203 { get; set; } + public global::G.GistSimpleFiles2? Type203 { get; set; } /// /// /// - public global::G.ApiOverviewSshKeyFingerprints? Type204 { get; set; } + public global::G.GistComment? Type204 { get; set; } /// /// /// - public global::G.ApiOverviewDomains? Type205 { get; set; } + public global::G.GistCommit? Type205 { get; set; } /// /// /// - public global::G.SecurityAndAnalysis? Type206 { get; set; } + public global::G.GistCommitChangeStatus? Type206 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisAdvancedSecurity? Type207 { get; set; } + public global::G.GitignoreTemplate? Type207 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisAdvancedSecurityStatus? Type208 { get; set; } + public global::G.LicenseSimple? Type208 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisDependabotSecurityUpdates? Type209 { get; set; } + public global::G.License? Type209 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type210 { get; set; } + public global::G.MarketplaceListingPlan? Type210 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanning? Type211 { get; set; } + public global::G.MarketplaceListingPlanPriceModel? Type211 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningStatus? Type212 { get; set; } + public global::G.MarketplacePurchase? Type212 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningPushProtection? Type213 { get; set; } + public global::G.MarketplacePurchaseMarketplacePendingChange? Type213 { get; set; } /// /// /// - public global::G.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type214 { get; set; } + public global::G.MarketplacePurchaseMarketplacePurchase1? Type214 { get; set; } /// /// /// - public global::G.MinimalRepository? Type215 { get; set; } + public global::G.ApiOverview? Type215 { get; set; } /// /// /// - public global::G.MinimalRepositoryPermissions? Type216 { get; set; } + public global::G.ApiOverviewSshKeyFingerprints? Type216 { get; set; } /// /// /// - public global::G.MinimalRepositoryLicense? Type217 { get; set; } + public global::G.ApiOverviewDomains? Type217 { get; set; } /// /// /// - public global::G.Thread? Type218 { get; set; } + public global::G.ApiOverviewDomainsArtifactAttestations? Type218 { get; set; } /// /// /// - public global::G.ThreadSubject? Type219 { get; set; } + public global::G.SecurityAndAnalysis? Type219 { get; set; } /// /// /// - public global::G.ThreadSubscription? Type220 { get; set; } + public global::G.SecurityAndAnalysisAdvancedSecurity? Type220 { get; set; } /// /// /// - public global::G.OrganizationSimple? Type221 { get; set; } + public global::G.SecurityAndAnalysisAdvancedSecurityStatus? Type221 { get; set; } /// /// /// - public global::G.OrganizationFull? Type222 { get; set; } + public global::G.SecurityAndAnalysisDependabotSecurityUpdates? Type222 { get; set; } /// /// /// - public global::G.OrganizationFullPlan? Type223 { get; set; } + public global::G.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type223 { get; set; } /// /// /// - public global::G.ActionsCacheUsageOrgEnterprise? Type224 { get; set; } + public global::G.SecurityAndAnalysisSecretScanning? Type224 { get; set; } /// /// /// - public global::G.ActionsCacheUsageByRepository? Type225 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningStatus? Type225 { get; set; } /// /// /// - public global::G.OidcCustomSub? Type226 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningPushProtection? Type226 { get; set; } /// /// /// - public global::G.EmptyObject? Type227 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type227 { get; set; } /// /// /// - public global::G.EnabledRepositories? Type228 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatterns? Type228 { get; set; } /// /// /// - public global::G.AllowedActions? Type229 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Type229 { get; set; } /// /// /// - public global::G.ActionsOrganizationPermissions? Type230 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningAiDetection? Type230 { get; set; } /// /// /// - public global::G.SelectedActions? Type231 { get; set; } + public global::G.SecurityAndAnalysisSecretScanningAiDetectionStatus? Type231 { get; set; } /// /// /// - public global::G.ActionsDefaultWorkflowPermissions? Type232 { get; set; } + public global::G.MinimalRepository? Type232 { get; set; } /// /// /// - public global::G.ActionsGetDefaultWorkflowPermissions? Type233 { get; set; } + public global::G.MinimalRepositoryPermissions? Type233 { get; set; } /// /// /// - public global::G.ActionsSetDefaultWorkflowPermissions? Type234 { get; set; } + public global::G.MinimalRepositoryLicense? Type234 { get; set; } /// /// /// - public global::G.RunnerLabel? Type235 { get; set; } + public global::G.Thread? Type235 { get; set; } /// /// /// - public global::G.RunnerLabelType? Type236 { get; set; } + public global::G.ThreadSubject? Type236 { get; set; } /// /// /// - public global::G.Runner? Type237 { get; set; } + public global::G.ThreadSubscription? Type237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type238 { get; set; } + public global::G.OrganizationSimple? Type238 { get; set; } /// /// /// - public global::G.RunnerApplication? Type239 { get; set; } + public global::G.OrganizationFull? Type239 { get; set; } /// /// /// - public global::G.AuthenticationToken? Type240 { get; set; } + public global::G.OrganizationFullPlan? Type240 { get; set; } /// /// /// - public global::G.AuthenticationTokenRepositorySelection? Type241 { get; set; } + public global::G.ActionsCacheUsageOrgEnterprise? Type241 { get; set; } /// /// /// - public global::G.OrganizationActionsSecret? Type242 { get; set; } + public global::G.ActionsCacheUsageByRepository? Type242 { get; set; } /// /// /// - public global::G.OrganizationActionsSecretVisibility? Type243 { get; set; } + public global::G.OidcCustomSub? Type243 { get; set; } /// /// /// - public global::G.ActionsPublicKey? Type244 { get; set; } + public global::G.EmptyObject? Type244 { get; set; } /// /// /// - public global::G.OrganizationActionsVariable? Type245 { get; set; } + public global::G.EnabledRepositories? Type245 { get; set; } /// /// /// - public global::G.OrganizationActionsVariableVisibility? Type246 { get; set; } + public global::G.AllowedActions? Type246 { get; set; } /// /// /// - public global::G.CodeScanningAlertStateQuery? Type247 { get; set; } + public global::G.ActionsOrganizationPermissions? Type247 { get; set; } /// /// /// - public global::G.CodeScanningAlertSeverity? Type248 { get; set; } + public global::G.SelectedActions? Type248 { get; set; } /// /// /// - public global::G.CodeScanningAlertState? Type249 { get; set; } + public global::G.ActionsDefaultWorkflowPermissions? Type249 { get; set; } /// /// /// - public global::G.CodeScanningAlertDismissedReason? Type250 { get; set; } + public global::G.ActionsGetDefaultWorkflowPermissions? Type250 { get; set; } /// /// /// - public global::G.CodeScanningAlertRuleSummary? Type251 { get; set; } + public global::G.ActionsSetDefaultWorkflowPermissions? Type251 { get; set; } /// /// /// - public global::G.CodeScanningAlertRuleSummarySeverity? Type252 { get; set; } + public global::G.RunnerGroupsOrg? Type252 { get; set; } /// /// /// - public global::G.CodeScanningAlertRuleSummarySecuritySeverityLevel? Type253 { get; set; } + public global::G.RunnerLabel? Type253 { get; set; } /// /// /// - public global::G.CodeScanningAnalysisTool? Type254 { get; set; } + public global::G.RunnerLabelType? Type254 { get; set; } /// /// /// - public global::G.CodeScanningAlertLocation? Type255 { get; set; } + public global::G.Runner? Type255 { get; set; } /// /// /// - public global::G.CodeScanningAlertClassification? Type256 { get; set; } + public global::System.Collections.Generic.IList? Type256 { get; set; } /// /// /// - public global::G.CodeScanningAlertInstance? Type257 { get; set; } + public global::G.RunnerApplication? Type257 { get; set; } /// /// /// - public global::G.CodeScanningAlertInstanceMessage? Type258 { get; set; } + public global::G.AuthenticationToken? Type258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type259 { get; set; } + public global::G.AuthenticationTokenRepositorySelection? Type259 { get; set; } /// /// /// - public global::G.CodeScanningOrganizationAlertItems? Type260 { get; set; } + public global::G.OrganizationActionsSecret? Type260 { get; set; } /// /// /// - public global::G.NullableCodespaceMachine? Type261 { get; set; } + public global::G.OrganizationActionsSecretVisibility? Type261 { get; set; } /// /// /// - public global::G.NullableCodespaceMachinePrebuildAvailability? Type262 { get; set; } + public global::G.ActionsPublicKey? Type262 { get; set; } /// /// /// - public global::G.Codespace? Type263 { get; set; } + public global::G.OrganizationActionsVariable? Type263 { get; set; } /// /// /// - public global::G.CodespaceState? Type264 { get; set; } + public global::G.OrganizationActionsVariableVisibility? Type264 { get; set; } /// /// /// - public global::G.CodespaceGitStatus? Type265 { get; set; } + public global::G.CodeScanningAlertStateQuery? Type265 { get; set; } /// /// /// - public global::G.CodespaceLocation? Type266 { get; set; } + public global::G.CodeScanningAlertSeverity? Type266 { get; set; } /// /// /// - public global::G.CodespaceRuntimeConstraints? Type267 { get; set; } + public global::G.CodeScanningAlertState? Type267 { get; set; } /// /// /// - public global::G.CodespacesOrgSecret? Type268 { get; set; } + public global::G.CodeScanningAlertDismissedReason? Type268 { get; set; } /// /// /// - public global::G.CodespacesOrgSecretVisibility? Type269 { get; set; } + public global::G.CodeScanningAlertRuleSummary? Type269 { get; set; } /// /// /// - public global::G.CodespacesPublicKey? Type270 { get; set; } + public global::G.CodeScanningAlertRuleSummarySeverity? Type270 { get; set; } /// /// /// - public global::G.CopilotSeatBreakdown? Type271 { get; set; } + public global::G.CodeScanningAlertRuleSummarySecuritySeverityLevel? Type271 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetails? Type272 { get; set; } + public global::G.CodeScanningAnalysisTool? Type272 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetailsPublicCodeSuggestions? Type273 { get; set; } + public global::G.CodeScanningAlertLocation? Type273 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetailsIdeChat? Type274 { get; set; } + public global::G.CodeScanningAlertClassification? Type274 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetailsPlatformChat? Type275 { get; set; } + public global::G.CodeScanningAlertInstance? Type275 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetailsCli? Type276 { get; set; } + public global::G.CodeScanningAlertInstanceMessage? Type276 { get; set; } /// /// /// - public global::G.CopilotOrganizationDetailsSeatManagementSetting? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::G.NullableTeamSimple? Type278 { get; set; } + public global::G.CodeScanningOrganizationAlertItems? Type278 { get; set; } /// /// /// - public global::G.Team? Type279 { get; set; } + public global::G.CodeSecurityConfiguration? Type279 { get; set; } /// /// /// - public global::G.TeamPermissions? Type280 { get; set; } + public global::G.CodeSecurityConfigurationTargetType? Type280 { get; set; } /// /// /// - public global::G.Organization? Type281 { get; set; } + public global::G.CodeSecurityConfigurationAdvancedSecurity? Type281 { get; set; } /// /// /// - public global::G.OrganizationPlan? Type282 { get; set; } + public global::G.CodeSecurityConfigurationDependencyGraph? Type282 { get; set; } /// /// /// - public global::G.CopilotSeatDetails? Type283 { get; set; } + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitAction? Type283 { get; set; } /// /// /// - public global::G.OneOf? Type284 { get; set; } + public global::G.CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions? Type284 { get; set; } /// /// /// - public global::G.OrganizationDependabotSecret? Type285 { get; set; } + public global::G.CodeSecurityConfigurationDependabotAlerts? Type285 { get; set; } /// /// /// - public global::G.OrganizationDependabotSecretVisibility? Type286 { get; set; } + public global::G.CodeSecurityConfigurationDependabotSecurityUpdates? Type286 { get; set; } /// /// /// - public global::G.DependabotPublicKey? Type287 { get; set; } + public global::G.CodeSecurityConfigurationCodeScanningDefaultSetup? Type287 { get; set; } /// /// /// - public global::G.NullableMinimalRepository? Type288 { get; set; } + public global::G.CodeSecurityConfigurationSecretScanning? Type288 { get; set; } /// /// /// - public global::G.NullableMinimalRepositoryPermissions? Type289 { get; set; } + public global::G.CodeSecurityConfigurationSecretScanningPushProtection? Type289 { get; set; } /// /// /// - public global::G.NullableMinimalRepositoryLicense? Type290 { get; set; } + public global::G.CodeSecurityConfigurationSecretScanningValidityChecks? Type290 { get; set; } /// /// /// - public global::G.Package? Type291 { get; set; } + public global::G.CodeSecurityConfigurationSecretScanningNonProviderPatterns? Type291 { get; set; } /// /// /// - public global::G.PackagePackageType? Type292 { get; set; } + public global::G.CodeSecurityConfigurationPrivateVulnerabilityReporting? Type292 { get; set; } /// /// /// - public global::G.PackageVisibility? Type293 { get; set; } + public global::G.CodeSecurityConfigurationEnforcement? Type293 { get; set; } /// /// /// - public global::G.OrganizationInvitation? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::G.OrgHook? Type295 { get; set; } + public global::G.CodeSecurityDefaultConfiguration? Type295 { get; set; } /// /// /// - public global::G.OrgHookConfig? Type296 { get; set; } + public global::G.CodeSecurityDefaultConfigurationDefaultForNewRepos? Type296 { get; set; } /// /// /// - public global::G.InteractionGroup? Type297 { get; set; } + public global::G.CodeSecurityConfigurationRepositories? Type297 { get; set; } /// /// /// - public global::G.InteractionLimitResponse? Type298 { get; set; } + public global::G.CodeSecurityConfigurationRepositoriesStatus? Type298 { get; set; } /// /// /// - public global::G.InteractionExpiry? Type299 { get; set; } + public global::G.NullableCodespaceMachine? Type299 { get; set; } /// /// /// - public global::G.InteractionLimit? Type300 { get; set; } + public global::G.NullableCodespaceMachinePrebuildAvailability? Type300 { get; set; } /// /// /// - public global::G.OrgMembership? Type301 { get; set; } + public global::G.Codespace? Type301 { get; set; } /// /// /// - public global::G.OrgMembershipState? Type302 { get; set; } + public global::G.CodespaceState? Type302 { get; set; } /// /// /// - public global::G.OrgMembershipRole? Type303 { get; set; } + public global::G.CodespaceGitStatus? Type303 { get; set; } /// /// /// - public global::G.OrgMembershipPermissions? Type304 { get; set; } + public global::G.CodespaceLocation? Type304 { get; set; } /// /// /// - public global::G.Migration? Type305 { get; set; } + public global::G.CodespaceRuntimeConstraints? Type305 { get; set; } /// /// /// - public global::G.OrganizationFineGrainedPermission? Type306 { get; set; } + public global::G.CodespacesOrgSecret? Type306 { get; set; } /// /// /// - public global::G.OrganizationRole? Type307 { get; set; } + public global::G.CodespacesOrgSecretVisibility? Type307 { get; set; } /// /// /// - public global::G.PackageVersion? Type308 { get; set; } + public global::G.CodespacesPublicKey? Type308 { get; set; } /// /// /// - public global::G.PackageVersionMetadata? Type309 { get; set; } + public global::G.CopilotSeatBreakdown? Type309 { get; set; } /// /// /// - public global::G.PackageVersionMetadataPackageType? Type310 { get; set; } + public global::G.CopilotOrganizationDetails? Type310 { get; set; } /// /// /// - public global::G.PackageVersionMetadataContainer? Type311 { get; set; } + public global::G.CopilotOrganizationDetailsPublicCodeSuggestions? Type311 { get; set; } /// /// /// - public global::G.PackageVersionMetadataDocker? Type312 { get; set; } + public global::G.CopilotOrganizationDetailsIdeChat? Type312 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrantRequest? Type313 { get; set; } + public global::G.CopilotOrganizationDetailsPlatformChat? Type313 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrantRequestRepositorySelection? Type314 { get; set; } + public global::G.CopilotOrganizationDetailsCli? Type314 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrantRequestPermissions? Type315 { get; set; } + public global::G.CopilotOrganizationDetailsSeatManagementSetting? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type316 { get; set; } + public global::G.CopilotOrganizationDetailsPlanType? Type316 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrant? Type317 { get; set; } + public global::G.OrganizationDependabotSecret? Type317 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrantRepositorySelection? Type318 { get; set; } + public global::G.OrganizationDependabotSecretVisibility? Type318 { get; set; } /// /// /// - public global::G.OrganizationProgrammaticAccessGrantPermissions? Type319 { get; set; } + public global::G.DependabotPublicKey? Type319 { get; set; } /// /// /// - public global::G.Project? Type320 { get; set; } + public global::G.NullableMinimalRepository? Type320 { get; set; } /// /// /// - public global::G.ProjectOrganizationPermission? Type321 { get; set; } + public global::G.NullableMinimalRepositoryPermissions? Type321 { get; set; } /// /// /// - public global::G.OrgCustomProperty? Type322 { get; set; } + public global::G.NullableMinimalRepositoryLicense? Type322 { get; set; } /// /// /// - public global::G.OrgCustomPropertyValueType? Type323 { get; set; } + public global::G.Package? Type323 { get; set; } /// /// /// - public global::G.OneOf>? Type324 { get; set; } + public global::G.PackagePackageType? Type324 { get; set; } /// /// /// - public global::G.OrgCustomPropertyValuesEditableBy? Type325 { get; set; } + public global::G.PackageVisibility? Type325 { get; set; } /// /// /// - public global::G.CustomPropertyValue? Type326 { get; set; } + public global::G.OrganizationInvitation? Type326 { get; set; } /// /// /// - public global::G.OrgRepoCustomPropertyValues? Type327 { get; set; } + public global::G.OrgHook? Type327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type328 { get; set; } + public global::G.OrgHookConfig? Type328 { get; set; } /// /// /// - public global::G.NullableRepository? Type329 { get; set; } + public global::G.InteractionGroup? Type329 { get; set; } /// /// /// - public global::G.NullableRepositoryPermissions? Type330 { get; set; } + public global::G.InteractionLimitResponse? Type330 { get; set; } /// /// /// - public global::G.NullableRepositorySquashMergeCommitTitle? Type331 { get; set; } + public global::G.InteractionExpiry? Type331 { get; set; } /// /// /// - public global::G.NullableRepositorySquashMergeCommitMessage? Type332 { get; set; } + public global::G.InteractionLimit? Type332 { get; set; } /// /// /// - public global::G.NullableRepositoryMergeCommitTitle? Type333 { get; set; } + public global::G.OrgMembership? Type333 { get; set; } /// /// /// - public global::G.NullableRepositoryMergeCommitMessage? Type334 { get; set; } + public global::G.OrgMembershipState? Type334 { get; set; } /// /// /// - public global::G.CodeOfConductSimple? Type335 { get; set; } + public global::G.OrgMembershipRole? Type335 { get; set; } /// /// /// - public global::G.FullRepository? Type336 { get; set; } + public global::G.OrgMembershipPermissions? Type336 { get; set; } /// /// /// - public global::G.FullRepositoryPermissions? Type337 { get; set; } + public global::G.Migration? Type337 { get; set; } /// /// /// - public global::G.FullRepositorySquashMergeCommitTitle? Type338 { get; set; } + public global::G.OrganizationRole? Type338 { get; set; } /// /// /// - public global::G.FullRepositorySquashMergeCommitMessage? Type339 { get; set; } + public global::G.TeamRoleAssignment? Type339 { get; set; } /// /// /// - public global::G.FullRepositoryMergeCommitTitle? Type340 { get; set; } + public global::G.TeamRoleAssignmentPermissions? Type340 { get; set; } /// /// /// - public global::G.FullRepositoryMergeCommitMessage? Type341 { get; set; } + public global::G.TeamSimple? Type341 { get; set; } /// /// /// - public global::G.RepositoryRuleEnforcement? Type342 { get; set; } + public global::G.UserRoleAssignment? Type342 { get; set; } /// /// /// - public global::G.RepositoryRulesetBypassActor? Type343 { get; set; } + public global::G.PackageVersion? Type343 { get; set; } /// /// /// - public global::G.RepositoryRulesetBypassActorActorType? Type344 { get; set; } + public global::G.PackageVersionMetadata? Type344 { get; set; } /// /// /// - public global::G.RepositoryRulesetBypassActorBypassMode? Type345 { get; set; } + public global::G.PackageVersionMetadataPackageType? Type345 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditions? Type346 { get; set; } + public global::G.PackageVersionMetadataContainer? Type346 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRefName? Type347 { get; set; } + public global::G.PackageVersionMetadataDocker? Type347 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryNameTarget? Type348 { get; set; } + public global::G.OrganizationProgrammaticAccessGrantRequest? Type348 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName? Type349 { get; set; } + public global::G.OrganizationProgrammaticAccessGrantRequestRepositorySelection? Type349 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryIdTarget? Type350 { get; set; } + public global::G.OrganizationProgrammaticAccessGrantRequestPermissions? Type350 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryIdTargetRepositoryId? Type351 { get; set; } + public global::System.Collections.Generic.Dictionary? Type351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type352 { get; set; } + public global::G.OrganizationProgrammaticAccessGrant? Type352 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryPropertySpec? Type353 { get; set; } + public global::G.OrganizationProgrammaticAccessGrantRepositorySelection? Type353 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryPropertyTarget? Type354 { get; set; } + public global::G.OrganizationProgrammaticAccessGrantPermissions? Type354 { get; set; } /// /// /// - public global::G.RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty? Type355 { get; set; } + public global::G.Project? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::G.ProjectOrganizationPermission? Type356 { get; set; } /// /// /// - public global::G.OrgRulesetConditions? Type357 { get; set; } + public global::G.CustomProperty? Type357 { get; set; } /// /// /// - public global::G.AllOf? Type358 { get; set; } + public global::G.CustomPropertyValueType? Type358 { get; set; } /// /// /// - public global::G.AllOf? Type359 { get; set; } + public global::G.OneOf>? Type359 { get; set; } /// /// /// - public global::G.AllOf? Type360 { get; set; } + public global::G.CustomPropertyValuesEditableBy? Type360 { get; set; } /// /// /// - public global::G.RepositoryRuleCreation? Type361 { get; set; } + public global::G.CustomPropertyValue? Type361 { get; set; } /// /// /// - public global::G.RepositoryRuleCreationType? Type362 { get; set; } + public global::G.OrgRepoCustomPropertyValues? Type362 { get; set; } /// /// /// - public global::G.RepositoryRuleUpdate? Type363 { get; set; } + public global::System.Collections.Generic.IList? Type363 { get; set; } /// /// /// - public global::G.RepositoryRuleUpdateType? Type364 { get; set; } + public global::G.NullableRepository? Type364 { get; set; } /// /// /// - public global::G.RepositoryRuleUpdateParameters? Type365 { get; set; } + public global::G.NullableRepositoryPermissions? Type365 { get; set; } /// /// /// - public global::G.RepositoryRuleDeletion? Type366 { get; set; } + public global::G.NullableRepositorySquashMergeCommitTitle? Type366 { get; set; } /// /// /// - public global::G.RepositoryRuleDeletionType? Type367 { get; set; } + public global::G.NullableRepositorySquashMergeCommitMessage? Type367 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredLinearHistory? Type368 { get; set; } + public global::G.NullableRepositoryMergeCommitTitle? Type368 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredLinearHistoryType? Type369 { get; set; } + public global::G.NullableRepositoryMergeCommitMessage? Type369 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredDeployments? Type370 { get; set; } + public global::G.CodeOfConductSimple? Type370 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredDeploymentsType? Type371 { get; set; } + public global::G.FullRepository? Type371 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredDeploymentsParameters? Type372 { get; set; } + public global::G.FullRepositoryPermissions? Type372 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredSignatures? Type373 { get; set; } + public global::G.FullRepositorySquashMergeCommitTitle? Type373 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredSignaturesType? Type374 { get; set; } + public global::G.FullRepositorySquashMergeCommitMessage? Type374 { get; set; } /// /// /// - public global::G.RepositoryRulePullRequest? Type375 { get; set; } + public global::G.FullRepositoryMergeCommitTitle? Type375 { get; set; } /// /// /// - public global::G.RepositoryRulePullRequestType? Type376 { get; set; } + public global::G.FullRepositoryMergeCommitMessage? Type376 { get; set; } /// /// /// - public global::G.RepositoryRulePullRequestParameters? Type377 { get; set; } + public global::G.RepositoryRuleEnforcement? Type377 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsStatusCheckConfiguration? Type378 { get; set; } + public global::G.RepositoryRulesetBypassActor? Type378 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredStatusChecks? Type379 { get; set; } + public global::G.RepositoryRulesetBypassActorActorType? Type379 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredStatusChecksType? Type380 { get; set; } + public global::G.RepositoryRulesetBypassActorBypassMode? Type380 { get; set; } /// /// /// - public global::G.RepositoryRuleRequiredStatusChecksParameters? Type381 { get; set; } + public global::G.RepositoryRulesetConditions? Type381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type382 { get; set; } + public global::G.RepositoryRulesetConditionsRefName? Type382 { get; set; } /// /// /// - public global::G.RepositoryRuleNonFastForward? Type383 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryNameTarget? Type383 { get; set; } /// /// /// - public global::G.RepositoryRuleNonFastForwardType? Type384 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName? Type384 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitMessagePattern? Type385 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryIdTarget? Type385 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitMessagePatternType? Type386 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryIdTargetRepositoryId? Type386 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitMessagePatternParameters? Type387 { get; set; } + public global::System.Collections.Generic.IList? Type387 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitMessagePatternParametersOperator? Type388 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryPropertySpec? Type388 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitAuthorEmailPattern? Type389 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryPropertySpecSource? Type389 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitAuthorEmailPatternType? Type390 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryPropertyTarget? Type390 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitAuthorEmailPatternParameters? Type391 { get; set; } + public global::G.RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty? Type391 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitAuthorEmailPatternParametersOperator? Type392 { get; set; } + public global::System.Collections.Generic.IList? Type392 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitterEmailPattern? Type393 { get; set; } + public global::G.OrgRulesetConditions? Type393 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitterEmailPatternType? Type394 { get; set; } + public global::G.AllOf? Type394 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitterEmailPatternParameters? Type395 { get; set; } + public global::G.AllOf? Type395 { get; set; } /// /// /// - public global::G.RepositoryRuleCommitterEmailPatternParametersOperator? Type396 { get; set; } + public global::G.AllOf? Type396 { get; set; } /// /// /// - public global::G.RepositoryRuleBranchNamePattern? Type397 { get; set; } + public global::G.RepositoryRuleCreation? Type397 { get; set; } /// /// /// - public global::G.RepositoryRuleBranchNamePatternType? Type398 { get; set; } + public global::G.RepositoryRuleCreationType? Type398 { get; set; } /// /// /// - public global::G.RepositoryRuleBranchNamePatternParameters? Type399 { get; set; } + public global::G.RepositoryRuleUpdate? Type399 { get; set; } /// /// /// - public global::G.RepositoryRuleBranchNamePatternParametersOperator? Type400 { get; set; } + public global::G.RepositoryRuleUpdateType? Type400 { get; set; } /// /// /// - public global::G.RepositoryRuleTagNamePattern? Type401 { get; set; } + public global::G.RepositoryRuleUpdateParameters? Type401 { get; set; } /// /// /// - public global::G.RepositoryRuleTagNamePatternType? Type402 { get; set; } + public global::G.RepositoryRuleDeletion? Type402 { get; set; } /// /// /// - public global::G.RepositoryRuleTagNamePatternParameters? Type403 { get; set; } + public global::G.RepositoryRuleDeletionType? Type403 { get; set; } /// /// /// - public global::G.RepositoryRuleTagNamePatternParametersOperator? Type404 { get; set; } + public global::G.RepositoryRuleRequiredLinearHistory? Type404 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsRestrictedCommits? Type405 { get; set; } + public global::G.RepositoryRuleRequiredLinearHistoryType? Type405 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsWorkflowFileReference? Type406 { get; set; } + public global::G.RepositoryRuleMergeQueue? Type406 { get; set; } /// /// /// - public global::G.RepositoryRuleWorkflows? Type407 { get; set; } + public global::G.RepositoryRuleMergeQueueType? Type407 { get; set; } /// /// /// - public global::G.RepositoryRuleWorkflowsType? Type408 { get; set; } + public global::G.RepositoryRuleMergeQueueParameters? Type408 { get; set; } /// /// /// - public global::G.RepositoryRuleWorkflowsParameters? Type409 { get; set; } + public global::G.RepositoryRuleMergeQueueParametersGroupingStrategy? Type409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type410 { get; set; } + public global::G.RepositoryRuleMergeQueueParametersMergeMethod? Type410 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsCodeScanningTool? Type411 { get; set; } + public global::G.RepositoryRuleRequiredDeployments? Type411 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsCodeScanningToolAlertsThreshold? Type412 { get; set; } + public global::G.RepositoryRuleRequiredDeploymentsType? Type412 { get; set; } /// /// /// - public global::G.RepositoryRuleParamsCodeScanningToolSecurityAlertsThreshold? Type413 { get; set; } + public global::G.RepositoryRuleRequiredDeploymentsParameters? Type413 { get; set; } /// /// /// - public global::G.RepositoryRuleCodeScanning? Type414 { get; set; } + public global::G.RepositoryRuleRequiredSignatures? Type414 { get; set; } /// /// /// - public global::G.RepositoryRuleCodeScanningType? Type415 { get; set; } + public global::G.RepositoryRuleRequiredSignaturesType? Type415 { get; set; } /// /// /// - public global::G.RepositoryRuleCodeScanningParameters? Type416 { get; set; } + public global::G.RepositoryRulePullRequest? Type416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type417 { get; set; } + public global::G.RepositoryRulePullRequestType? Type417 { get; set; } /// /// /// - public global::G.RepositoryRule? Type418 { get; set; } + public global::G.RepositoryRulePullRequestParameters? Type418 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant15? Type419 { get; set; } + public global::G.RepositoryRuleParamsStatusCheckConfiguration? Type419 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant15Type? Type420 { get; set; } + public global::G.RepositoryRuleRequiredStatusChecks? Type420 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant15Parameters? Type421 { get; set; } + public global::G.RepositoryRuleRequiredStatusChecksType? Type421 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant16? Type422 { get; set; } + public global::G.RepositoryRuleRequiredStatusChecksParameters? Type422 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant16Type? Type423 { get; set; } + public global::System.Collections.Generic.IList? Type423 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant16Parameters? Type424 { get; set; } + public global::G.RepositoryRuleNonFastForward? Type424 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant17? Type425 { get; set; } + public global::G.RepositoryRuleNonFastForwardType? Type425 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant17Type? Type426 { get; set; } + public global::G.RepositoryRuleCommitMessagePattern? Type426 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant17Parameters? Type427 { get; set; } + public global::G.RepositoryRuleCommitMessagePatternType? Type427 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant18? Type428 { get; set; } + public global::G.RepositoryRuleCommitMessagePatternParameters? Type428 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant18Type? Type429 { get; set; } + public global::G.RepositoryRuleCommitMessagePatternParametersOperator? Type429 { get; set; } /// /// /// - public global::G.RepositoryRuleVariant18Parameters? Type430 { get; set; } + public global::G.RepositoryRuleCommitAuthorEmailPattern? Type430 { get; set; } /// /// /// - public global::G.RepositoryRuleDiscriminator? Type431 { get; set; } + public global::G.RepositoryRuleCommitAuthorEmailPatternType? Type431 { get; set; } /// /// /// - public global::G.RepositoryRuleDiscriminatorType? Type432 { get; set; } + public global::G.RepositoryRuleCommitAuthorEmailPatternParameters? Type432 { get; set; } /// /// /// - public global::G.RepositoryRuleset? Type433 { get; set; } + public global::G.RepositoryRuleCommitAuthorEmailPatternParametersOperator? Type433 { get; set; } /// /// /// - public global::G.RepositoryRulesetTarget? Type434 { get; set; } + public global::G.RepositoryRuleCommitterEmailPattern? Type434 { get; set; } /// /// /// - public global::G.RepositoryRulesetSourceType? Type435 { get; set; } + public global::G.RepositoryRuleCommitterEmailPatternType? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::G.RepositoryRuleCommitterEmailPatternParameters? Type436 { get; set; } /// /// /// - public global::G.RepositoryRulesetCurrentUserCanBypass? Type437 { get; set; } + public global::G.RepositoryRuleCommitterEmailPatternParametersOperator? Type437 { get; set; } /// /// /// - public global::G.RepositoryRulesetLinks? Type438 { get; set; } + public global::G.RepositoryRuleBranchNamePattern? Type438 { get; set; } /// /// /// - public global::G.RepositoryRulesetLinksSelf? Type439 { get; set; } + public global::G.RepositoryRuleBranchNamePatternType? Type439 { get; set; } /// /// /// - public global::G.RepositoryRulesetLinksHtml? Type440 { get; set; } + public global::G.RepositoryRuleBranchNamePatternParameters? Type440 { get; set; } /// /// /// - public global::G.AnyOf? Type441 { get; set; } + public global::G.RepositoryRuleBranchNamePatternParametersOperator? Type441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type442 { get; set; } + public global::G.RepositoryRuleTagNamePattern? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::G.RepositoryRuleTagNamePatternType? Type443 { get; set; } /// /// /// - public global::G.RuleSuite? Type444 { get; set; } + public global::G.RepositoryRuleTagNamePatternParameters? Type444 { get; set; } /// /// /// - public global::G.RuleSuiteResult? Type445 { get; set; } + public global::G.RepositoryRuleTagNamePatternParametersOperator? Type445 { get; set; } /// /// /// - public global::G.RuleSuiteEvaluationResult? Type446 { get; set; } + public global::G.RepositoryRuleParamsRestrictedCommits? Type446 { get; set; } /// /// /// - public global::G.RuleSuite2? Type447 { get; set; } + public global::G.RepositoryRuleParamsWorkflowFileReference? Type447 { get; set; } /// /// /// - public global::G.RuleSuiteResult2? Type448 { get; set; } + public global::G.RepositoryRuleWorkflows? Type448 { get; set; } /// /// /// - public global::G.RuleSuiteEvaluationResult2? Type449 { get; set; } + public global::G.RepositoryRuleWorkflowsType? Type449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type450 { get; set; } + public global::G.RepositoryRuleWorkflowsParameters? Type450 { get; set; } /// /// /// - public global::G.RuleSuiteRuleEvaluation? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::G.RuleSuiteRuleEvaluationRuleSource? Type452 { get; set; } + public global::G.RepositoryRuleParamsCodeScanningTool? Type452 { get; set; } /// /// /// - public global::G.RuleSuiteRuleEvaluationEnforcement? Type453 { get; set; } + public global::G.RepositoryRuleParamsCodeScanningToolAlertsThreshold? Type453 { get; set; } /// /// /// - public global::G.RuleSuiteRuleEvaluationResult? Type454 { get; set; } + public global::G.RepositoryRuleParamsCodeScanningToolSecurityAlertsThreshold? Type454 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryVulnerability? Type455 { get; set; } + public global::G.RepositoryRuleCodeScanning? Type455 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryVulnerabilityPackage? Type456 { get; set; } + public global::G.RepositoryRuleCodeScanningType? Type456 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCredit? Type457 { get; set; } + public global::G.RepositoryRuleCodeScanningParameters? Type457 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreditState? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::G.RepositoryAdvisory? Type459 { get; set; } + public global::G.RepositoryRule? Type459 { get; set; } /// /// /// - public global::G.RepositoryAdvisorySeverity? Type460 { get; set; } + public global::G.RepositoryRuleVariant16? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::G.RepositoryRuleVariant16Type? Type461 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryIdentifier? Type462 { get; set; } + public global::G.RepositoryRuleVariant16Parameters? Type462 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryIdentifierType? Type463 { get; set; } + public global::G.RepositoryRuleVariant17? Type463 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryState? Type464 { get; set; } + public global::G.RepositoryRuleVariant17Type? Type464 { get; set; } /// /// /// - public global::G.RepositoryAdvisorySubmission? Type465 { get; set; } + public global::G.RepositoryRuleVariant17Parameters? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::G.RepositoryRuleVariant18? Type466 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCvss? Type467 { get; set; } + public global::G.RepositoryRuleVariant18Type? Type467 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type468 { get; set; } + public global::G.RepositoryRuleVariant18Parameters? Type468 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCwe? Type469 { get; set; } + public global::G.RepositoryRuleVariant19? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type470 { get; set; } + public global::G.RepositoryRuleVariant19Type? Type470 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCredit2? Type471 { get; set; } + public global::G.RepositoryRuleVariant19Parameters? Type471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type472 { get; set; } + public global::G.RepositoryRuleDiscriminator? Type472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type473 { get; set; } + public global::G.RepositoryRuleDiscriminatorType? Type473 { get; set; } /// /// /// - public global::G.TeamSimple? Type474 { get; set; } + public global::G.RepositoryRuleset? Type474 { get; set; } /// /// /// - public global::G.ActionsBillingUsage? Type475 { get; set; } + public global::G.RepositoryRulesetTarget? Type475 { get; set; } /// /// /// - public global::G.ActionsBillingUsageMinutesUsedBreakdown? Type476 { get; set; } + public global::G.RepositoryRulesetSourceType? Type476 { get; set; } /// /// /// - public global::G.PackagesBillingUsage? Type477 { get; set; } + public global::System.Collections.Generic.IList? Type477 { get; set; } /// /// /// - public global::G.CombinedBillingUsage? Type478 { get; set; } + public global::G.RepositoryRulesetCurrentUserCanBypass? Type478 { get; set; } /// /// /// - public global::G.TeamOrganization? Type479 { get; set; } + public global::G.RepositoryRulesetLinks? Type479 { get; set; } /// /// /// - public global::G.TeamOrganizationPlan? Type480 { get; set; } + public global::G.RepositoryRulesetLinksSelf? Type480 { get; set; } /// /// /// - public global::G.TeamFull? Type481 { get; set; } + public global::G.RepositoryRulesetLinksHtml? Type481 { get; set; } /// /// /// - public global::G.TeamFullPrivacy? Type482 { get; set; } + public global::G.AnyOf? Type482 { get; set; } /// /// /// - public global::G.TeamFullNotificationSetting? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::G.TeamDiscussion? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::G.TeamDiscussionComment? Type485 { get; set; } + public global::G.RuleSuite? Type485 { get; set; } /// /// /// - public global::G.Reaction? Type486 { get; set; } + public global::G.RuleSuiteResult? Type486 { get; set; } /// /// /// - public global::G.ReactionContent? Type487 { get; set; } + public global::G.RuleSuiteEvaluationResult? Type487 { get; set; } /// /// /// - public global::G.TeamMembership? Type488 { get; set; } + public global::G.RuleSuite2? Type488 { get; set; } /// /// /// - public global::G.TeamMembershipRole? Type489 { get; set; } + public global::G.RuleSuiteResult2? Type489 { get; set; } /// /// /// - public global::G.TeamMembershipState? Type490 { get; set; } + public global::G.RuleSuiteEvaluationResult2? Type490 { get; set; } /// /// /// - public global::G.TeamProject? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::G.TeamProjectPermissions? Type492 { get; set; } + public global::G.RuleSuiteRuleEvaluation? Type492 { get; set; } /// /// /// - public global::G.TeamRepository? Type493 { get; set; } + public global::G.RuleSuiteRuleEvaluationRuleSource? Type493 { get; set; } /// /// /// - public global::G.TeamRepositoryPermissions? Type494 { get; set; } + public global::G.RuleSuiteRuleEvaluationEnforcement? Type494 { get; set; } /// /// /// - public global::G.ProjectCard? Type495 { get; set; } + public global::G.RuleSuiteRuleEvaluationResult? Type495 { get; set; } /// /// /// - public global::G.ProjectColumn? Type496 { get; set; } + public global::G.RepositoryAdvisoryVulnerability? Type496 { get; set; } /// /// /// - public global::G.ProjectCollaboratorPermission? Type497 { get; set; } + public global::G.RepositoryAdvisoryVulnerabilityPackage? Type497 { get; set; } /// /// /// - public global::G.RateLimit? Type498 { get; set; } + public global::G.RepositoryAdvisoryCredit? Type498 { get; set; } /// /// /// - public global::G.RateLimitOverview? Type499 { get; set; } + public global::G.RepositoryAdvisoryCreditState? Type499 { get; set; } /// /// /// - public global::G.RateLimitOverviewResources? Type500 { get; set; } + public global::G.RepositoryAdvisory? Type500 { get; set; } /// /// /// - public global::G.Artifact? Type501 { get; set; } + public global::G.RepositoryAdvisorySeverity? Type501 { get; set; } /// /// /// - public global::G.ArtifactWorkflowRun? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::G.ActionsCacheList? Type503 { get; set; } + public global::G.RepositoryAdvisoryIdentifier? Type503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type504 { get; set; } + public global::G.RepositoryAdvisoryIdentifierType? Type504 { get; set; } /// /// /// - public global::G.ActionsCacheListActionsCache? Type505 { get; set; } + public global::G.RepositoryAdvisoryState? Type505 { get; set; } /// /// /// - public global::G.Job? Type506 { get; set; } + public global::G.RepositoryAdvisorySubmission? Type506 { get; set; } /// /// /// - public global::G.JobStatus? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::G.JobConclusion? Type508 { get; set; } + public global::G.RepositoryAdvisoryCvss? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::G.JobStep? Type510 { get; set; } + public global::G.RepositoryAdvisoryCwe? Type510 { get; set; } /// /// /// - public global::G.JobStepStatus? Type511 { get; set; } + public global::System.Collections.Generic.IList? Type511 { get; set; } /// /// /// - public global::G.OidcCustomSubRepo? Type512 { get; set; } + public global::G.RepositoryAdvisoryCredit2? Type512 { get; set; } /// /// /// - public global::G.ActionsSecret? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::G.ActionsVariable? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::G.ActionsRepositoryPermissions? Type515 { get; set; } + public global::G.ActionsBillingUsage? Type515 { get; set; } /// /// /// - public global::G.ActionsWorkflowAccessToRepository? Type516 { get; set; } + public global::G.ActionsBillingUsageMinutesUsedBreakdown? Type516 { get; set; } /// /// /// - public global::G.ActionsWorkflowAccessToRepositoryAccessLevel? Type517 { get; set; } + public global::G.PackagesBillingUsage? Type517 { get; set; } /// /// /// - public global::G.ReferencedWorkflow? Type518 { get; set; } + public global::G.CombinedBillingUsage? Type518 { get; set; } /// /// /// - public global::G.PullRequestMinimal? Type519 { get; set; } + public global::G.TeamOrganization? Type519 { get; set; } /// /// /// - public global::G.PullRequestMinimalHead? Type520 { get; set; } + public global::G.TeamOrganizationPlan? Type520 { get; set; } /// /// /// - public global::G.PullRequestMinimalHeadRepo? Type521 { get; set; } + public global::G.TeamFull? Type521 { get; set; } /// /// /// - public global::G.PullRequestMinimalBase? Type522 { get; set; } + public global::G.TeamFullPrivacy? Type522 { get; set; } /// /// /// - public global::G.PullRequestMinimalBaseRepo? Type523 { get; set; } + public global::G.TeamFullNotificationSetting? Type523 { get; set; } /// /// /// - public global::G.NullableSimpleCommit? Type524 { get; set; } + public global::G.TeamDiscussion? Type524 { get; set; } /// /// /// - public global::G.NullableSimpleCommitAuthor? Type525 { get; set; } + public global::G.TeamDiscussionComment? Type525 { get; set; } /// /// /// - public global::G.NullableSimpleCommitCommitter? Type526 { get; set; } + public global::G.Reaction? Type526 { get; set; } /// /// /// - public global::G.WorkflowRun? Type527 { get; set; } + public global::G.ReactionContent? Type527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type528 { get; set; } + public global::G.TeamMembership? Type528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type529 { get; set; } + public global::G.TeamMembershipRole? Type529 { get; set; } /// /// /// - public global::G.EnvironmentApprovals? Type530 { get; set; } + public global::G.TeamMembershipState? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::G.TeamProject? Type531 { get; set; } /// /// /// - public global::G.EnvironmentApprovalsEnvironment? Type532 { get; set; } + public global::G.TeamProjectPermissions? Type532 { get; set; } /// /// /// - public global::G.EnvironmentApprovalsState? Type533 { get; set; } + public global::G.TeamRepository? Type533 { get; set; } /// /// /// - public global::G.ReviewCustomGatesCommentRequired? Type534 { get; set; } + public global::G.TeamRepositoryPermissions? Type534 { get; set; } /// /// /// - public global::G.ReviewCustomGatesStateRequired? Type535 { get; set; } + public global::G.ProjectCard? Type535 { get; set; } /// /// /// - public global::G.ReviewCustomGatesStateRequiredState? Type536 { get; set; } + public global::G.ProjectColumn? Type536 { get; set; } /// /// /// - public global::G.DeploymentReviewerType? Type537 { get; set; } + public global::G.ProjectCollaboratorPermission? Type537 { get; set; } /// /// /// - public global::G.PendingDeployment? Type538 { get; set; } + public global::G.RateLimit? Type538 { get; set; } /// /// /// - public global::G.PendingDeploymentEnvironment? Type539 { get; set; } + public global::G.RateLimitOverview? Type539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type540 { get; set; } + public global::G.RateLimitOverviewResources? Type540 { get; set; } /// /// /// - public global::G.PendingDeploymentReviewer? Type541 { get; set; } + public global::G.Artifact? Type541 { get; set; } /// /// /// - public global::G.AnyOf? Type542 { get; set; } + public global::G.ArtifactWorkflowRun? Type542 { get; set; } /// /// /// - public global::G.Deployment? Type543 { get; set; } + public global::G.ActionsCacheList? Type543 { get; set; } /// /// /// - public global::G.OneOf? Type544 { get; set; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::G.WorkflowRunUsage? Type545 { get; set; } + public global::G.ActionsCacheListActionsCache? Type545 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillable? Type546 { get; set; } + public global::G.Job? Type546 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableUBUNTU? Type547 { get; set; } + public global::G.JobStatus? Type547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type548 { get; set; } + public global::G.JobConclusion? Type548 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableUBUNTUJobRun? Type549 { get; set; } + public global::System.Collections.Generic.IList? Type549 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableMACOS? Type550 { get; set; } + public global::G.JobStep? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type551 { get; set; } + public global::G.JobStepStatus? Type551 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableMACOSJobRun? Type552 { get; set; } + public global::G.OidcCustomSubRepo? Type552 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableWINDOWS? Type553 { get; set; } + public global::G.ActionsSecret? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::G.ActionsVariable? Type554 { get; set; } /// /// /// - public global::G.WorkflowRunUsageBillableWINDOWSJobRun? Type555 { get; set; } + public global::G.ActionsRepositoryPermissions? Type555 { get; set; } /// /// /// - public global::G.Workflow? Type556 { get; set; } + public global::G.ActionsWorkflowAccessToRepository? Type556 { get; set; } /// /// /// - public global::G.WorkflowState? Type557 { get; set; } + public global::G.ActionsWorkflowAccessToRepositoryAccessLevel? Type557 { get; set; } /// /// /// - public global::G.WorkflowUsage? Type558 { get; set; } + public global::G.ReferencedWorkflow? Type558 { get; set; } /// /// /// - public global::G.WorkflowUsageBillable? Type559 { get; set; } + public global::G.PullRequestMinimal? Type559 { get; set; } /// /// /// - public global::G.WorkflowUsageBillableUBUNTU? Type560 { get; set; } + public global::G.PullRequestMinimalHead? Type560 { get; set; } /// /// /// - public global::G.WorkflowUsageBillableMACOS? Type561 { get; set; } + public global::G.PullRequestMinimalHeadRepo? Type561 { get; set; } /// /// /// - public global::G.WorkflowUsageBillableWINDOWS? Type562 { get; set; } + public global::G.PullRequestMinimalBase? Type562 { get; set; } /// /// /// - public global::G.Activity? Type563 { get; set; } + public global::G.PullRequestMinimalBaseRepo? Type563 { get; set; } /// /// /// - public global::G.ActivityActivityType? Type564 { get; set; } + public global::G.NullableSimpleCommit? Type564 { get; set; } /// /// /// - public global::G.Autolink? Type565 { get; set; } + public global::G.NullableSimpleCommitAuthor? Type565 { get; set; } /// /// /// - public global::G.CheckAutomatedSecurityFixes? Type566 { get; set; } + public global::G.NullableSimpleCommitCommitter? Type566 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredStatusCheck? Type567 { get; set; } + public global::G.WorkflowRun? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::System.Collections.Generic.IList? Type568 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredStatusCheckCheck? Type569 { get; set; } + public global::System.Collections.Generic.IList? Type569 { get; set; } /// /// /// - public global::G.ProtectedBranchAdminEnforced? Type570 { get; set; } + public global::G.EnvironmentApprovals? Type570 { get; set; } /// /// /// - public global::G.ProtectedBranchPullRequestReview? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::G.ProtectedBranchPullRequestReviewDismissalRestrictions? Type572 { get; set; } + public global::G.EnvironmentApprovalsEnvironment? Type572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type573 { get; set; } + public global::G.EnvironmentApprovalsState? Type573 { get; set; } /// /// /// - public global::G.ProtectedBranchPullRequestReviewBypassPullRequestAllowances? Type574 { get; set; } + public global::G.ReviewCustomGatesCommentRequired? Type574 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicy? Type575 { get; set; } + public global::G.ReviewCustomGatesStateRequired? Type575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type576 { get; set; } + public global::G.ReviewCustomGatesStateRequiredState? Type576 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicyUser? Type577 { get; set; } + public global::G.DeploymentReviewerType? Type577 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type578 { get; set; } + public global::G.PendingDeployment? Type578 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicyTeam? Type579 { get; set; } + public global::G.PendingDeploymentEnvironment? Type579 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type580 { get; set; } + public global::System.Collections.Generic.IList? Type580 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicyApp? Type581 { get; set; } + public global::G.PendingDeploymentReviewer? Type581 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicyAppOwner? Type582 { get; set; } + public global::G.AnyOf? Type582 { get; set; } /// /// /// - public global::G.BranchRestrictionPolicyAppPermissions? Type583 { get; set; } + public global::G.Deployment? Type583 { get; set; } /// /// /// - public global::G.BranchProtection? Type584 { get; set; } + public global::G.OneOf? Type584 { get; set; } /// /// /// - public global::G.BranchProtectionRequiredLinearHistory? Type585 { get; set; } + public global::G.WorkflowRunUsage? Type585 { get; set; } /// /// /// - public global::G.BranchProtectionAllowForcePushes? Type586 { get; set; } + public global::G.WorkflowRunUsageBillable? Type586 { get; set; } /// /// /// - public global::G.BranchProtectionAllowDeletions? Type587 { get; set; } + public global::G.WorkflowRunUsageBillableUBUNTU? Type587 { get; set; } /// /// /// - public global::G.BranchProtectionBlockCreations? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::G.BranchProtectionRequiredConversationResolution? Type589 { get; set; } + public global::G.WorkflowRunUsageBillableUBUNTUJobRun? Type589 { get; set; } /// /// /// - public global::G.BranchProtectionRequiredSignatures? Type590 { get; set; } + public global::G.WorkflowRunUsageBillableMACOS? Type590 { get; set; } /// /// /// - public global::G.BranchProtectionLockBranch? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::G.BranchProtectionAllowForkSyncing? Type592 { get; set; } + public global::G.WorkflowRunUsageBillableMACOSJobRun? Type592 { get; set; } /// /// /// - public global::G.ShortBranch? Type593 { get; set; } + public global::G.WorkflowRunUsageBillableWINDOWS? Type593 { get; set; } /// /// /// - public global::G.ShortBranchCommit? Type594 { get; set; } + public global::System.Collections.Generic.IList? Type594 { get; set; } /// /// /// - public global::G.NullableGitUser? Type595 { get; set; } + public global::G.WorkflowRunUsageBillableWINDOWSJobRun? Type595 { get; set; } /// /// /// - public global::G.Verification? Type596 { get; set; } + public global::G.Workflow? Type596 { get; set; } /// /// /// - public global::G.DiffEntry? Type597 { get; set; } + public global::G.WorkflowState? Type597 { get; set; } /// /// /// - public global::G.DiffEntryStatus? Type598 { get; set; } + public global::G.WorkflowUsage? Type598 { get; set; } /// /// /// - public global::G.Commit? Type599 { get; set; } + public global::G.WorkflowUsageBillable? Type599 { get; set; } /// /// /// - public global::G.CommitCommit1? Type600 { get; set; } + public global::G.WorkflowUsageBillableUBUNTU? Type600 { get; set; } /// /// /// - public global::G.CommitCommit1Tree? Type601 { get; set; } + public global::G.WorkflowUsageBillableMACOS? Type601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type602 { get; set; } + public global::G.WorkflowUsageBillableWINDOWS? Type602 { get; set; } /// /// /// - public global::G.CommitParent? Type603 { get; set; } + public global::G.Activity? Type603 { get; set; } /// /// /// - public global::G.CommitStats? Type604 { get; set; } + public global::G.ActivityActivityType? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::G.Autolink? Type605 { get; set; } /// /// /// - public global::G.BranchWithProtection? Type606 { get; set; } + public global::G.CheckAutomatedSecurityFixes? Type606 { get; set; } /// /// /// - public global::G.BranchWithProtectionLinks? Type607 { get; set; } + public global::G.ProtectedBranchRequiredStatusCheck? Type607 { get; set; } /// /// /// - public global::G.StatusCheckPolicy? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type609 { get; set; } + public global::G.ProtectedBranchRequiredStatusCheckCheck? Type609 { get; set; } /// /// /// - public global::G.StatusCheckPolicyCheck? Type610 { get; set; } + public global::G.ProtectedBranchAdminEnforced? Type610 { get; set; } /// /// /// - public global::G.ProtectedBranch? Type611 { get; set; } + public global::G.ProtectedBranchPullRequestReview? Type611 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredPullRequestReviews? Type612 { get; set; } + public global::G.ProtectedBranchPullRequestReviewDismissalRestrictions? Type612 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions? Type613 { get; set; } + public global::System.Collections.Generic.IList? Type613 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances? Type614 { get; set; } + public global::G.ProtectedBranchPullRequestReviewBypassPullRequestAllowances? Type614 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredSignatures? Type615 { get; set; } + public global::G.BranchRestrictionPolicy? Type615 { get; set; } /// /// /// - public global::G.ProtectedBranchEnforceAdmins? Type616 { get; set; } + public global::System.Collections.Generic.IList? Type616 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredLinearHistory? Type617 { get; set; } + public global::G.BranchRestrictionPolicyUser? Type617 { get; set; } /// /// /// - public global::G.ProtectedBranchAllowForcePushes? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::G.ProtectedBranchAllowDeletions? Type619 { get; set; } + public global::G.BranchRestrictionPolicyTeam? Type619 { get; set; } /// /// /// - public global::G.ProtectedBranchRequiredConversationResolution? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::G.ProtectedBranchBlockCreations? Type621 { get; set; } + public global::G.BranchRestrictionPolicyApp? Type621 { get; set; } /// /// /// - public global::G.ProtectedBranchLockBranch? Type622 { get; set; } + public global::G.BranchRestrictionPolicyAppOwner? Type622 { get; set; } /// /// /// - public global::G.ProtectedBranchAllowForkSyncing? Type623 { get; set; } + public global::G.BranchRestrictionPolicyAppPermissions? Type623 { get; set; } /// /// /// - public global::G.DeploymentSimple? Type624 { get; set; } + public global::G.BranchProtection? Type624 { get; set; } /// /// /// - public global::G.CheckRun? Type625 { get; set; } + public global::G.BranchProtectionRequiredLinearHistory? Type625 { get; set; } /// /// /// - public global::G.CheckRunStatus? Type626 { get; set; } + public global::G.BranchProtectionAllowForcePushes? Type626 { get; set; } /// /// /// - public global::G.CheckRunConclusion? Type627 { get; set; } + public global::G.BranchProtectionAllowDeletions? Type627 { get; set; } /// /// /// - public global::G.CheckRunOutput? Type628 { get; set; } + public global::G.BranchProtectionBlockCreations? Type628 { get; set; } /// /// /// - public global::G.CheckRunCheckSuite? Type629 { get; set; } + public global::G.BranchProtectionRequiredConversationResolution? Type629 { get; set; } /// /// /// - public global::G.CheckAnnotation? Type630 { get; set; } + public global::G.BranchProtectionRequiredSignatures? Type630 { get; set; } /// /// /// - public global::G.SimpleCommit? Type631 { get; set; } + public global::G.BranchProtectionLockBranch? Type631 { get; set; } /// /// /// - public global::G.SimpleCommitAuthor? Type632 { get; set; } + public global::G.BranchProtectionAllowForkSyncing? Type632 { get; set; } /// /// /// - public global::G.SimpleCommitCommitter? Type633 { get; set; } + public global::G.ShortBranch? Type633 { get; set; } /// /// /// - public global::G.CheckSuite? Type634 { get; set; } + public global::G.ShortBranchCommit? Type634 { get; set; } /// /// /// - public global::G.CheckSuiteStatus? Type635 { get; set; } + public global::G.NullableGitUser? Type635 { get; set; } /// /// /// - public global::G.CheckSuiteConclusion? Type636 { get; set; } + public global::G.Verification? Type636 { get; set; } /// /// /// - public global::G.CheckSuitePreference? Type637 { get; set; } + public global::G.DiffEntry? Type637 { get; set; } /// /// /// - public global::G.CheckSuitePreferencePreferences? Type638 { get; set; } + public global::G.DiffEntryStatus? Type638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type639 { get; set; } + public global::G.Commit? Type639 { get; set; } /// /// /// - public global::G.CheckSuitePreferencePreferencesAutoTriggerCheck? Type640 { get; set; } + public global::G.CommitCommit1? Type640 { get; set; } /// /// /// - public global::G.CodeScanningAlertItems? Type641 { get; set; } + public global::G.CommitCommit1Tree? Type641 { get; set; } /// /// /// - public global::G.CodeScanningAlertRule? Type642 { get; set; } + public global::G.OneOf? Type642 { get; set; } /// /// /// - public global::G.CodeScanningAlertRuleSeverity? Type643 { get; set; } + public global::System.Collections.Generic.IList? Type643 { get; set; } /// /// /// - public global::G.CodeScanningAlertRuleSecuritySeverityLevel? Type644 { get; set; } + public global::G.CommitParent? Type644 { get; set; } /// /// /// - public global::G.CodeScanningAlert? Type645 { get; set; } + public global::G.CommitStats? Type645 { get; set; } /// /// /// - public global::G.CodeScanningAlertSetState? Type646 { get; set; } + public global::System.Collections.Generic.IList? Type646 { get; set; } /// /// /// - public global::G.CodeScanningAnalysis? Type647 { get; set; } + public global::G.BranchWithProtection? Type647 { get; set; } /// /// /// - public global::G.CodeScanningAnalysisDeletion? Type648 { get; set; } + public global::G.BranchWithProtectionLinks? Type648 { get; set; } /// /// /// - public global::G.CodeScanningCodeqlDatabase? Type649 { get; set; } + public global::G.StatusCheckPolicy? Type649 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisLanguage? Type650 { get; set; } + public global::System.Collections.Generic.IList? Type650 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisRepository? Type651 { get; set; } + public global::G.StatusCheckPolicyCheck? Type651 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisStatus? Type652 { get; set; } + public global::G.ProtectedBranch? Type652 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisSkippedRepoGroup? Type653 { get; set; } + public global::G.ProtectedBranchRequiredPullRequestReviews? Type653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type654 { get; set; } + public global::G.ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions? Type654 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysis? Type655 { get; set; } + public global::G.ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances? Type655 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisStatus2? Type656 { get; set; } + public global::G.ProtectedBranchRequiredSignatures? Type656 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisFailureReason? Type657 { get; set; } + public global::G.ProtectedBranchEnforceAdmins? Type657 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type658 { get; set; } + public global::G.ProtectedBranchRequiredLinearHistory? Type658 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisScannedRepositorie? Type659 { get; set; } + public global::G.ProtectedBranchAllowForcePushes? Type659 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisSkippedRepositories? Type660 { get; set; } + public global::G.ProtectedBranchAllowDeletions? Type660 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos? Type661 { get; set; } + public global::G.ProtectedBranchRequiredConversationResolution? Type661 { get; set; } /// /// /// - public global::G.CodeScanningVariantAnalysisRepoTask? Type662 { get; set; } + public global::G.ProtectedBranchBlockCreations? Type662 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetup? Type663 { get; set; } + public global::G.ProtectedBranchLockBranch? Type663 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupState? Type664 { get; set; } + public global::G.ProtectedBranchAllowForkSyncing? Type664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type665 { get; set; } + public global::G.DeploymentSimple? Type665 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupLanguage? Type666 { get; set; } + public global::G.CheckRun? Type666 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupQuerySuite? Type667 { get; set; } + public global::G.CheckRunStatus? Type667 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupSchedule? Type668 { get; set; } + public global::G.CheckRunConclusion? Type668 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupUpdate? Type669 { get; set; } + public global::G.CheckRunOutput? Type669 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupUpdateState? Type670 { get; set; } + public global::G.CheckRunCheckSuite? Type670 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupUpdateQuerySuite? Type671 { get; set; } + public global::G.CheckAnnotation? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::G.SimpleCommit? Type672 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupUpdateLanguage? Type673 { get; set; } + public global::G.SimpleCommitAuthor? Type673 { get; set; } /// /// /// - public global::G.CodeScanningDefaultSetupUpdateResponse? Type674 { get; set; } + public global::G.SimpleCommitCommitter? Type674 { get; set; } /// /// /// - public global::G.CodeScanningSarifsReceipt? Type675 { get; set; } + public global::G.CheckSuite? Type675 { get; set; } /// /// /// - public global::G.CodeScanningSarifsStatus? Type676 { get; set; } + public global::G.CheckSuiteStatus? Type676 { get; set; } /// /// /// - public global::G.CodeScanningSarifsStatusProcessingStatus? Type677 { get; set; } + public global::G.CheckSuiteConclusion? Type677 { get; set; } /// /// /// - public global::G.CodeownersErrors? Type678 { get; set; } + public global::G.CheckSuitePreference? Type678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type679 { get; set; } + public global::G.CheckSuitePreferencePreferences? Type679 { get; set; } /// /// /// - public global::G.CodeownersErrorsError? Type680 { get; set; } + public global::System.Collections.Generic.IList? Type680 { get; set; } /// /// /// - public global::G.CodespaceMachine? Type681 { get; set; } + public global::G.CheckSuitePreferencePreferencesAutoTriggerCheck? Type681 { get; set; } /// /// /// - public global::G.CodespaceMachinePrebuildAvailability? Type682 { get; set; } + public global::G.CodeScanningAlertItems? Type682 { get; set; } /// /// /// - public global::G.CodespacesPermissionsCheckForDevcontainer? Type683 { get; set; } + public global::G.CodeScanningAlertRule? Type683 { get; set; } /// /// /// - public global::G.RepoCodespacesSecret? Type684 { get; set; } + public global::G.CodeScanningAlertRuleSeverity? Type684 { get; set; } /// /// /// - public global::G.Collaborator? Type685 { get; set; } + public global::G.CodeScanningAlertRuleSecuritySeverityLevel? Type685 { get; set; } /// /// /// - public global::G.CollaboratorPermissions? Type686 { get; set; } + public global::G.CodeScanningAlert? Type686 { get; set; } /// /// /// - public global::G.RepositoryInvitation? Type687 { get; set; } + public global::G.CodeScanningAlertSetState? Type687 { get; set; } /// /// /// - public global::G.RepositoryInvitationPermissions? Type688 { get; set; } + public global::G.CodeScanningAnalysis? Type688 { get; set; } /// /// /// - public global::G.NullableCollaborator? Type689 { get; set; } + public global::G.CodeScanningAnalysisDeletion? Type689 { get; set; } /// /// /// - public global::G.NullableCollaboratorPermissions? Type690 { get; set; } + public global::G.CodeScanningCodeqlDatabase? Type690 { get; set; } /// /// /// - public global::G.RepositoryCollaboratorPermission? Type691 { get; set; } + public global::G.CodeScanningVariantAnalysisLanguage? Type691 { get; set; } /// /// /// - public global::G.CommitComment? Type692 { get; set; } + public global::G.CodeScanningVariantAnalysisRepository? Type692 { get; set; } /// /// /// - public global::G.BranchShort? Type693 { get; set; } + public global::G.CodeScanningVariantAnalysisStatus? Type693 { get; set; } /// /// /// - public global::G.BranchShortCommit? Type694 { get; set; } + public global::G.CodeScanningVariantAnalysisSkippedRepoGroup? Type694 { get; set; } /// /// /// - public global::G.Link? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::G.AutoMerge? Type696 { get; set; } + public global::G.CodeScanningVariantAnalysis? Type696 { get; set; } /// /// /// - public global::G.AutoMergeMergeMethod? Type697 { get; set; } + public global::G.CodeScanningVariantAnalysisStatus2? Type697 { get; set; } /// /// /// - public global::G.PullRequestSimple? Type698 { get; set; } + public global::G.CodeScanningVariantAnalysisFailureReason? Type698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::G.PullRequestSimpleLabel? Type700 { get; set; } + public global::G.CodeScanningVariantAnalysisScannedRepositorie? Type700 { get; set; } /// /// /// - public global::G.PullRequestSimpleHead? Type701 { get; set; } + public global::G.CodeScanningVariantAnalysisSkippedRepositories? Type701 { get; set; } /// /// /// - public global::G.PullRequestSimpleBase? Type702 { get; set; } + public global::G.CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos? Type702 { get; set; } /// /// /// - public global::G.PullRequestSimpleLinks? Type703 { get; set; } + public global::G.CodeScanningVariantAnalysisRepoTask? Type703 { get; set; } /// /// /// - public global::G.SimpleCommitStatus? Type704 { get; set; } + public global::G.CodeScanningDefaultSetup? Type704 { get; set; } /// /// /// - public global::G.CombinedCommitStatus? Type705 { get; set; } + public global::G.CodeScanningDefaultSetupState? Type705 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type706 { get; set; } + public global::System.Collections.Generic.IList? Type706 { get; set; } /// /// /// - public global::G.Status? Type707 { get; set; } + public global::G.CodeScanningDefaultSetupLanguage? Type707 { get; set; } /// /// /// - public global::G.NullableCodeOfConductSimple? Type708 { get; set; } + public global::G.CodeScanningDefaultSetupQuerySuite? Type708 { get; set; } /// /// /// - public global::G.NullableCommunityHealthFile? Type709 { get; set; } + public global::G.CodeScanningDefaultSetupSchedule? Type709 { get; set; } /// /// /// - public global::G.CommunityProfile? Type710 { get; set; } + public global::G.CodeScanningDefaultSetupUpdate? Type710 { get; set; } /// /// /// - public global::G.CommunityProfileFiles? Type711 { get; set; } + public global::G.CodeScanningDefaultSetupUpdateState? Type711 { get; set; } /// /// /// - public global::G.CommitComparison? Type712 { get; set; } + public global::G.CodeScanningDefaultSetupUpdateQuerySuite? Type712 { get; set; } /// /// /// - public global::G.CommitComparisonStatus? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type714 { get; set; } + public global::G.CodeScanningDefaultSetupUpdateLanguage? Type714 { get; set; } /// /// /// - public global::G.ContentTree? Type715 { get; set; } + public global::G.CodeScanningDefaultSetupUpdateResponse? Type715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type716 { get; set; } + public global::G.CodeScanningSarifsReceipt? Type716 { get; set; } /// /// /// - public global::G.ContentTreeEntrie? Type717 { get; set; } + public global::G.CodeScanningSarifsStatus? Type717 { get; set; } /// /// /// - public global::G.ContentTreeEntrieLinks? Type718 { get; set; } + public global::G.CodeScanningSarifsStatusProcessingStatus? Type718 { get; set; } /// /// /// - public global::G.ContentTreeLinks? Type719 { get; set; } + public global::G.CodeSecurityConfigurationForRepository? Type719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type720 { get; set; } + public global::G.CodeSecurityConfigurationForRepositoryStatus? Type720 { get; set; } /// /// /// - public global::G.ContentDirectoryItem? Type721 { get; set; } + public global::G.CodeownersErrors? Type721 { get; set; } /// /// /// - public global::G.ContentDirectoryItemType? Type722 { get; set; } + public global::System.Collections.Generic.IList? Type722 { get; set; } /// /// /// - public global::G.ContentDirectoryItemLinks? Type723 { get; set; } + public global::G.CodeownersErrorsError? Type723 { get; set; } /// /// /// - public global::G.ContentFile? Type724 { get; set; } + public global::G.CodespaceMachine? Type724 { get; set; } /// /// /// - public global::G.ContentFileType? Type725 { get; set; } + public global::G.CodespaceMachinePrebuildAvailability? Type725 { get; set; } /// /// /// - public global::G.ContentFileLinks? Type726 { get; set; } + public global::G.CodespacesPermissionsCheckForDevcontainer? Type726 { get; set; } /// /// /// - public global::G.ContentSymlink? Type727 { get; set; } + public global::G.RepoCodespacesSecret? Type727 { get; set; } /// /// /// - public global::G.ContentSymlinkType? Type728 { get; set; } + public global::G.Collaborator? Type728 { get; set; } /// /// /// - public global::G.ContentSymlinkLinks? Type729 { get; set; } + public global::G.CollaboratorPermissions? Type729 { get; set; } /// /// /// - public global::G.ContentSubmodule? Type730 { get; set; } + public global::G.RepositoryInvitation? Type730 { get; set; } /// /// /// - public global::G.ContentSubmoduleType? Type731 { get; set; } + public global::G.RepositoryInvitationPermissions? Type731 { get; set; } /// /// /// - public global::G.ContentSubmoduleLinks? Type732 { get; set; } + public global::G.NullableCollaborator? Type732 { get; set; } /// /// /// - public global::G.FileCommit? Type733 { get; set; } + public global::G.NullableCollaboratorPermissions? Type733 { get; set; } /// /// /// - public global::G.FileCommitContent? Type734 { get; set; } + public global::G.RepositoryCollaboratorPermission? Type734 { get; set; } /// /// /// - public global::G.FileCommitContentLinks? Type735 { get; set; } + public global::G.CommitComment? Type735 { get; set; } /// /// /// - public global::G.FileCommitCommit? Type736 { get; set; } + public global::G.BranchShort? Type736 { get; set; } /// /// /// - public global::G.FileCommitCommitAuthor? Type737 { get; set; } + public global::G.BranchShortCommit? Type737 { get; set; } /// /// /// - public global::G.FileCommitCommitCommitter? Type738 { get; set; } + public global::G.Link? Type738 { get; set; } /// /// /// - public global::G.FileCommitCommitTree? Type739 { get; set; } + public global::G.AutoMerge? Type739 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type740 { get; set; } + public global::G.AutoMergeMergeMethod? Type740 { get; set; } /// /// /// - public global::G.FileCommitCommitParent? Type741 { get; set; } + public global::G.PullRequestSimple? Type741 { get; set; } /// /// /// - public global::G.FileCommitCommitVerification? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::G.Contributor? Type743 { get; set; } + public global::G.PullRequestSimpleLabel? Type743 { get; set; } /// /// /// - public global::G.DependabotAlert? Type744 { get; set; } + public global::G.PullRequestSimpleHead? Type744 { get; set; } /// /// /// - public global::G.DependabotAlertState? Type745 { get; set; } + public global::G.PullRequestSimpleBase? Type745 { get; set; } /// /// /// - public global::G.DependabotAlertDependency? Type746 { get; set; } + public global::G.PullRequestSimpleLinks? Type746 { get; set; } /// /// /// - public global::G.DependabotAlertDependencyScope? Type747 { get; set; } + public global::G.SimpleCommitStatus? Type747 { get; set; } /// /// /// - public global::G.DependabotAlertDismissedReason? Type748 { get; set; } + public global::G.CombinedCommitStatus? Type748 { get; set; } /// /// /// - public global::G.DependabotSecret? Type749 { get; set; } + public global::System.Collections.Generic.IList? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::G.Status? Type750 { get; set; } /// /// /// - public global::G.DependencyGraphDiffItem? Type751 { get; set; } + public global::G.NullableCodeOfConductSimple? Type751 { get; set; } /// /// /// - public global::G.DependencyGraphDiffItemChangeType? Type752 { get; set; } + public global::G.NullableCommunityHealthFile? Type752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type753 { get; set; } + public global::G.CommunityProfile? Type753 { get; set; } /// /// /// - public global::G.DependencyGraphDiffItemVulnerabilitie? Type754 { get; set; } + public global::G.CommunityProfileFiles? Type754 { get; set; } /// /// /// - public global::G.DependencyGraphDiffItemScope? Type755 { get; set; } + public global::G.CommitComparison? Type755 { get; set; } /// /// /// - public global::G.DependencyGraphSpdxSbom? Type756 { get; set; } + public global::G.CommitComparisonStatus? Type756 { get; set; } /// /// /// - public global::G.DependencyGraphSpdxSbomSbom? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::G.DependencyGraphSpdxSbomSbomCreationInfo? Type758 { get; set; } + public global::G.ContentTree? Type758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::G.DependencyGraphSpdxSbomSbomPackage? Type760 { get; set; } + public global::G.ContentTreeEntrie? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::G.ContentTreeEntrieLinks? Type761 { get; set; } /// /// /// - public global::G.DependencyGraphSpdxSbomSbomPackageExternalRef? Type762 { get; set; } + public global::G.ContentTreeLinks? Type762 { get; set; } /// /// /// - public global::G.AnyOf? Type763 { get; set; } + public global::System.Collections.Generic.IList? Type763 { get; set; } /// /// /// - public global::G.Dependency? Type764 { get; set; } + public global::G.ContentDirectoryItem? Type764 { get; set; } /// /// /// - public global::G.DependencyRelationship? Type765 { get; set; } + public global::G.ContentDirectoryItemType? Type765 { get; set; } /// /// /// - public global::G.DependencyScope? Type766 { get; set; } + public global::G.ContentDirectoryItemLinks? Type766 { get; set; } /// /// /// - public global::G.Manifest? Type767 { get; set; } + public global::G.ContentFile? Type767 { get; set; } /// /// /// - public global::G.ManifestFile? Type768 { get; set; } + public global::G.ContentFileType? Type768 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type769 { get; set; } + public global::G.ContentFileLinks? Type769 { get; set; } /// /// /// - public global::G.Snapshot? Type770 { get; set; } + public global::G.ContentSymlink? Type770 { get; set; } /// /// /// - public global::G.SnapshotJob? Type771 { get; set; } + public global::G.ContentSymlinkType? Type771 { get; set; } /// /// /// - public global::G.SnapshotDetector? Type772 { get; set; } + public global::G.ContentSymlinkLinks? Type772 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type773 { get; set; } + public global::G.ContentSubmodule? Type773 { get; set; } /// /// /// - public global::G.DeploymentStatus? Type774 { get; set; } + public global::G.ContentSubmoduleType? Type774 { get; set; } /// /// /// - public global::G.DeploymentStatusState? Type775 { get; set; } + public global::G.ContentSubmoduleLinks? Type775 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicySettings? Type776 { get; set; } + public global::G.FileCommit? Type776 { get; set; } /// /// /// - public global::G.Environment? Type777 { get; set; } + public global::G.FileCommitContent? Type777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type778 { get; set; } + public global::G.FileCommitContentLinks? Type778 { get; set; } /// /// /// - public global::G.AnyOf? Type779 { get; set; } + public global::G.FileCommitCommit? Type779 { get; set; } /// /// /// - public global::G.EnvironmentProtectionRuleVariant1? Type780 { get; set; } + public global::G.FileCommitCommitAuthor? Type780 { get; set; } /// /// /// - public global::G.EnvironmentProtectionRuleVariant2? Type781 { get; set; } + public global::G.FileCommitCommitCommitter? Type781 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type782 { get; set; } + public global::G.FileCommitCommitTree? Type782 { get; set; } /// /// /// - public global::G.EnvironmentProtectionRuleVariant2Reviewer? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::G.EnvironmentProtectionRuleVariant3? Type784 { get; set; } + public global::G.FileCommitCommitParent? Type784 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicy? Type785 { get; set; } + public global::G.FileCommitCommitVerification? Type785 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicyType? Type786 { get; set; } + public global::G.RepositoryRuleViolationError? Type786 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicyNamePatternWithType? Type787 { get; set; } + public global::G.RepositoryRuleViolationErrorMetadata? Type787 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicyNamePatternWithTypeType? Type788 { get; set; } + public global::G.RepositoryRuleViolationErrorMetadataSecretScanning? Type788 { get; set; } /// /// /// - public global::G.DeploymentBranchPolicyNamePattern? Type789 { get; set; } + public global::System.Collections.Generic.IList? Type789 { get; set; } /// /// /// - public global::G.CustomDeploymentRuleApp? Type790 { get; set; } + public global::G.RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder? Type790 { get; set; } /// /// /// - public global::G.DeploymentProtectionRule? Type791 { get; set; } + public global::G.Contributor? Type791 { get; set; } /// /// /// - public global::G.ShortBlob? Type792 { get; set; } + public global::G.DependabotAlert? Type792 { get; set; } /// /// /// - public global::G.Blob? Type793 { get; set; } + public global::G.DependabotAlertState? Type793 { get; set; } /// /// /// - public global::G.GitCommit? Type794 { get; set; } + public global::G.DependabotAlertDependency? Type794 { get; set; } /// /// /// - public global::G.GitCommitAuthor? Type795 { get; set; } + public global::G.DependabotAlertDependencyScope? Type795 { get; set; } /// /// /// - public global::G.GitCommitCommitter? Type796 { get; set; } + public global::G.DependabotAlertDismissedReason? Type796 { get; set; } /// /// /// - public global::G.GitCommitTree? Type797 { get; set; } + public global::G.DependabotSecret? Type797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type798 { get; set; } + public global::System.Collections.Generic.IList? Type798 { get; set; } /// /// /// - public global::G.GitCommitParent? Type799 { get; set; } + public global::G.DependencyGraphDiffItem? Type799 { get; set; } /// /// /// - public global::G.GitCommitVerification? Type800 { get; set; } + public global::G.DependencyGraphDiffItemChangeType? Type800 { get; set; } /// /// /// - public global::G.GitRef? Type801 { get; set; } + public global::System.Collections.Generic.IList? Type801 { get; set; } /// /// /// - public global::G.GitRefObject? Type802 { get; set; } + public global::G.DependencyGraphDiffItemVulnerabilitie? Type802 { get; set; } /// /// /// - public global::G.GitTag? Type803 { get; set; } + public global::G.DependencyGraphDiffItemScope? Type803 { get; set; } /// /// /// - public global::G.GitTagTagger? Type804 { get; set; } + public global::G.DependencyGraphSpdxSbom? Type804 { get; set; } /// /// /// - public global::G.GitTagObject? Type805 { get; set; } + public global::G.DependencyGraphSpdxSbomSbom? Type805 { get; set; } /// /// /// - public global::G.GitTree? Type806 { get; set; } + public global::G.DependencyGraphSpdxSbomSbomCreationInfo? Type806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::G.GitTreeTreeItem? Type808 { get; set; } + public global::G.DependencyGraphSpdxSbomSbomPackage? Type808 { get; set; } /// /// /// - public global::G.HookResponse? Type809 { get; set; } + public global::System.Collections.Generic.IList? Type809 { get; set; } /// /// /// - public global::G.Hook? Type810 { get; set; } + public global::G.DependencyGraphSpdxSbomSbomPackageExternalRef? Type810 { get; set; } /// /// /// - public global::G.Import? Type811 { get; set; } + public global::G.AnyOf? Type811 { get; set; } /// /// /// - public global::G.ImportStatus? Type812 { get; set; } + public global::G.Dependency? Type812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type813 { get; set; } + public global::G.DependencyRelationship? Type813 { get; set; } /// /// /// - public global::G.ImportProjectChoice? Type814 { get; set; } + public global::G.DependencyScope? Type814 { get; set; } /// /// /// - public global::G.PorterAuthor? Type815 { get; set; } + public global::G.Manifest? Type815 { get; set; } /// /// /// - public global::G.PorterLargeFile? Type816 { get; set; } + public global::G.ManifestFile? Type816 { get; set; } /// /// /// - public global::G.NullableIssue? Type817 { get; set; } + public global::System.Collections.Generic.Dictionary? Type817 { get; set; } /// /// /// - public global::G.NullableIssueStateReason? Type818 { get; set; } + public global::G.Snapshot? Type818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type819 { get; set; } + public global::G.SnapshotJob? Type819 { get; set; } /// /// /// - public global::G.OneOf? Type820 { get; set; } + public global::G.SnapshotDetector? Type820 { get; set; } /// /// /// - public global::G.NullableIssueLabel? Type821 { get; set; } + public global::System.Collections.Generic.Dictionary? Type821 { get; set; } /// /// /// - public global::G.NullableIssuePullRequest? Type822 { get; set; } + public global::G.DeploymentStatus? Type822 { get; set; } /// /// /// - public global::G.IssueEventLabel? Type823 { get; set; } + public global::G.DeploymentStatusState? Type823 { get; set; } /// /// /// - public global::G.IssueEventDismissedReview? Type824 { get; set; } + public global::G.DeploymentBranchPolicySettings? Type824 { get; set; } /// /// /// - public global::G.IssueEventMilestone? Type825 { get; set; } + public global::G.Environment? Type825 { get; set; } /// /// /// - public global::G.IssueEventProjectCard? Type826 { get; set; } + public global::System.Collections.Generic.IList>? Type826 { get; set; } /// /// /// - public global::G.IssueEventRename? Type827 { get; set; } + public global::G.AnyOf? Type827 { get; set; } /// /// /// - public global::G.IssueEvent? Type828 { get; set; } + public global::G.EnvironmentProtectionRuleVariant1? Type828 { get; set; } /// /// /// - public global::G.LabeledIssueEvent? Type829 { get; set; } + public global::G.EnvironmentProtectionRuleVariant2? Type829 { get; set; } /// /// /// - public global::G.LabeledIssueEventLabel? Type830 { get; set; } + public global::System.Collections.Generic.IList? Type830 { get; set; } /// /// /// - public global::G.UnlabeledIssueEvent? Type831 { get; set; } + public global::G.EnvironmentProtectionRuleVariant2Reviewer? Type831 { get; set; } /// /// /// - public global::G.UnlabeledIssueEventLabel? Type832 { get; set; } + public global::G.EnvironmentProtectionRuleVariant3? Type832 { get; set; } /// /// /// - public global::G.AssignedIssueEvent? Type833 { get; set; } + public global::G.DeploymentBranchPolicy? Type833 { get; set; } /// /// /// - public global::G.UnassignedIssueEvent? Type834 { get; set; } + public global::G.DeploymentBranchPolicyType? Type834 { get; set; } /// /// /// - public global::G.MilestonedIssueEvent? Type835 { get; set; } + public global::G.DeploymentBranchPolicyNamePatternWithType? Type835 { get; set; } /// /// /// - public global::G.MilestonedIssueEventMilestone? Type836 { get; set; } + public global::G.DeploymentBranchPolicyNamePatternWithTypeType? Type836 { get; set; } /// /// /// - public global::G.DemilestonedIssueEvent? Type837 { get; set; } + public global::G.DeploymentBranchPolicyNamePattern? Type837 { get; set; } /// /// /// - public global::G.DemilestonedIssueEventMilestone? Type838 { get; set; } + public global::G.CustomDeploymentRuleApp? Type838 { get; set; } /// /// /// - public global::G.RenamedIssueEvent? Type839 { get; set; } + public global::G.DeploymentProtectionRule? Type839 { get; set; } /// /// /// - public global::G.RenamedIssueEventRename? Type840 { get; set; } + public global::G.ShortBlob? Type840 { get; set; } /// /// /// - public global::G.ReviewRequestedIssueEvent? Type841 { get; set; } + public global::G.Blob? Type841 { get; set; } /// /// /// - public global::G.ReviewRequestRemovedIssueEvent? Type842 { get; set; } + public global::G.GitCommit? Type842 { get; set; } /// /// /// - public global::G.ReviewDismissedIssueEvent? Type843 { get; set; } + public global::G.GitCommitAuthor? Type843 { get; set; } /// /// /// - public global::G.ReviewDismissedIssueEventDismissedReview? Type844 { get; set; } + public global::G.GitCommitCommitter? Type844 { get; set; } /// /// /// - public global::G.LockedIssueEvent? Type845 { get; set; } + public global::G.GitCommitTree? Type845 { get; set; } /// /// /// - public global::G.AddedToProjectIssueEvent? Type846 { get; set; } + public global::System.Collections.Generic.IList? Type846 { get; set; } /// /// /// - public global::G.AddedToProjectIssueEventProjectCard? Type847 { get; set; } + public global::G.GitCommitParent? Type847 { get; set; } /// /// /// - public global::G.MovedColumnInProjectIssueEvent? Type848 { get; set; } + public global::G.GitCommitVerification? Type848 { get; set; } /// /// /// - public global::G.MovedColumnInProjectIssueEventProjectCard? Type849 { get; set; } + public global::G.GitRef? Type849 { get; set; } /// /// /// - public global::G.RemovedFromProjectIssueEvent? Type850 { get; set; } + public global::G.GitRefObject? Type850 { get; set; } /// /// /// - public global::G.RemovedFromProjectIssueEventProjectCard? Type851 { get; set; } + public global::G.GitTag? Type851 { get; set; } /// /// /// - public global::G.ConvertedNoteToIssueIssueEvent? Type852 { get; set; } + public global::G.GitTagTagger? Type852 { get; set; } /// /// /// - public global::G.ConvertedNoteToIssueIssueEventProjectCard? Type853 { get; set; } + public global::G.GitTagObject? Type853 { get; set; } /// /// /// - public global::G.IssueEventForIssue? Type854 { get; set; } + public global::G.GitTree? Type854 { get; set; } /// /// /// - public global::G.Label? Type855 { get; set; } + public global::System.Collections.Generic.IList? Type855 { get; set; } /// /// /// - public global::G.TimelineCommentEvent? Type856 { get; set; } + public global::G.GitTreeTreeItem? Type856 { get; set; } /// /// /// - public global::G.TimelineCrossReferencedEvent? Type857 { get; set; } + public global::G.HookResponse? Type857 { get; set; } /// /// /// - public global::G.TimelineCrossReferencedEventSource? Type858 { get; set; } + public global::G.Hook? Type858 { get; set; } /// /// /// - public global::G.TimelineCommittedEvent? Type859 { get; set; } + public global::G.Import? Type859 { get; set; } /// /// /// - public global::G.TimelineCommittedEventAuthor? Type860 { get; set; } + public global::G.ImportStatus? Type860 { get; set; } /// /// /// - public global::G.TimelineCommittedEventCommitter? Type861 { get; set; } + public global::System.Collections.Generic.IList? Type861 { get; set; } /// /// /// - public global::G.TimelineCommittedEventTree? Type862 { get; set; } + public global::G.ImportProjectChoice? Type862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type863 { get; set; } + public global::G.PorterAuthor? Type863 { get; set; } /// /// /// - public global::G.TimelineCommittedEventParent? Type864 { get; set; } + public global::G.PorterLargeFile? Type864 { get; set; } /// /// /// - public global::G.TimelineCommittedEventVerification? Type865 { get; set; } + public global::G.NullableIssue? Type865 { get; set; } /// /// /// - public global::G.TimelineReviewedEvent? Type866 { get; set; } + public global::G.NullableIssueStateReason? Type866 { get; set; } /// /// /// - public global::G.TimelineReviewedEventLinks? Type867 { get; set; } + public global::System.Collections.Generic.IList>? Type867 { get; set; } /// /// /// - public global::G.TimelineReviewedEventLinksHtml? Type868 { get; set; } + public global::G.OneOf? Type868 { get; set; } /// /// /// - public global::G.TimelineReviewedEventLinksPullRequest? Type869 { get; set; } + public global::G.NullableIssueLabel? Type869 { get; set; } /// /// /// - public global::G.PullRequestReviewComment? Type870 { get; set; } + public global::G.NullableIssuePullRequest? Type870 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentLinks? Type871 { get; set; } + public global::G.IssueEventLabel? Type871 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentLinksSelf? Type872 { get; set; } + public global::G.IssueEventDismissedReview? Type872 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentLinksHtml? Type873 { get; set; } + public global::G.IssueEventMilestone? Type873 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentLinksPullRequest? Type874 { get; set; } + public global::G.IssueEventProjectCard? Type874 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentStartSide? Type875 { get; set; } + public global::G.IssueEventRename? Type875 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentSide? Type876 { get; set; } + public global::G.IssueEvent? Type876 { get; set; } /// /// /// - public global::G.PullRequestReviewCommentSubjectType? Type877 { get; set; } + public global::G.LabeledIssueEvent? Type877 { get; set; } /// /// /// - public global::G.TimelineLineCommentedEvent? Type878 { get; set; } + public global::G.LabeledIssueEventLabel? Type878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type879 { get; set; } + public global::G.UnlabeledIssueEvent? Type879 { get; set; } /// /// /// - public global::G.TimelineCommitCommentedEvent? Type880 { get; set; } + public global::G.UnlabeledIssueEventLabel? Type880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type881 { get; set; } + public global::G.AssignedIssueEvent? Type881 { get; set; } /// /// /// - public global::G.TimelineAssignedIssueEvent? Type882 { get; set; } + public global::G.UnassignedIssueEvent? Type882 { get; set; } /// /// /// - public global::G.TimelineUnassignedIssueEvent? Type883 { get; set; } + public global::G.MilestonedIssueEvent? Type883 { get; set; } /// /// /// - public global::G.StateChangeIssueEvent? Type884 { get; set; } + public global::G.MilestonedIssueEventMilestone? Type884 { get; set; } /// /// /// - public global::G.TimelineIssueEvents? Type885 { get; set; } + public global::G.DemilestonedIssueEvent? Type885 { get; set; } /// /// /// - public global::G.DeployKey? Type886 { get; set; } + public global::G.DemilestonedIssueEventMilestone? Type886 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type887 { get; set; } + public global::G.RenamedIssueEvent? Type887 { get; set; } /// /// /// - public global::G.LicenseContent? Type888 { get; set; } + public global::G.RenamedIssueEventRename? Type888 { get; set; } /// /// /// - public global::G.LicenseContentLinks? Type889 { get; set; } + public global::G.ReviewRequestedIssueEvent? Type889 { get; set; } /// /// /// - public global::G.MergedUpstream? Type890 { get; set; } + public global::G.ReviewRequestRemovedIssueEvent? Type890 { get; set; } /// /// /// - public global::G.MergedUpstreamMergeType? Type891 { get; set; } + public global::G.ReviewDismissedIssueEvent? Type891 { get; set; } /// /// /// - public global::G.Milestone? Type892 { get; set; } + public global::G.ReviewDismissedIssueEventDismissedReview? Type892 { get; set; } /// /// /// - public global::G.MilestoneState? Type893 { get; set; } + public global::G.LockedIssueEvent? Type893 { get; set; } /// /// /// - public global::G.PagesSourceHash? Type894 { get; set; } + public global::G.AddedToProjectIssueEvent? Type894 { get; set; } /// /// /// - public global::G.PagesHttpsCertificate? Type895 { get; set; } + public global::G.AddedToProjectIssueEventProjectCard? Type895 { get; set; } /// /// /// - public global::G.PagesHttpsCertificateState? Type896 { get; set; } + public global::G.MovedColumnInProjectIssueEvent? Type896 { get; set; } /// /// /// - public global::G.Page? Type897 { get; set; } + public global::G.MovedColumnInProjectIssueEventProjectCard? Type897 { get; set; } /// /// /// - public global::G.PageStatus? Type898 { get; set; } + public global::G.RemovedFromProjectIssueEvent? Type898 { get; set; } /// /// /// - public global::G.PageProtectedDomainState? Type899 { get; set; } + public global::G.RemovedFromProjectIssueEventProjectCard? Type899 { get; set; } /// /// /// - public global::G.PageBuildType? Type900 { get; set; } + public global::G.ConvertedNoteToIssueIssueEvent? Type900 { get; set; } /// /// /// - public global::G.PageBuild? Type901 { get; set; } + public global::G.ConvertedNoteToIssueIssueEventProjectCard? Type901 { get; set; } /// /// /// - public global::G.PageBuildError? Type902 { get; set; } + public global::G.IssueEventForIssue? Type902 { get; set; } /// /// /// - public global::G.PageBuildStatus? Type903 { get; set; } + public global::G.Label? Type903 { get; set; } /// /// /// - public global::G.PageDeployment? Type904 { get; set; } + public global::G.TimelineCommentEvent? Type904 { get; set; } /// /// /// - public global::G.OneOf? Type905 { get; set; } + public global::G.TimelineCrossReferencedEvent? Type905 { get; set; } /// /// /// - public global::G.PagesDeploymentStatus? Type906 { get; set; } + public global::G.TimelineCrossReferencedEventSource? Type906 { get; set; } /// /// /// - public global::G.PagesDeploymentStatusStatus? Type907 { get; set; } + public global::G.TimelineCommittedEvent? Type907 { get; set; } /// /// /// - public global::G.PagesHealthCheck? Type908 { get; set; } + public global::G.TimelineCommittedEventAuthor? Type908 { get; set; } /// /// /// - public global::G.PagesHealthCheckDomain? Type909 { get; set; } + public global::G.TimelineCommittedEventCommitter? Type909 { get; set; } /// /// /// - public global::G.PagesHealthCheckAltDomain? Type910 { get; set; } + public global::G.TimelineCommittedEventTree? Type910 { get; set; } /// /// /// - public global::G.PullRequest? Type911 { get; set; } + public global::System.Collections.Generic.IList? Type911 { get; set; } /// /// /// - public global::G.PullRequestState? Type912 { get; set; } + public global::G.TimelineCommittedEventParent? Type912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type913 { get; set; } + public global::G.TimelineCommittedEventVerification? Type913 { get; set; } /// /// /// - public global::G.PullRequestLabel? Type914 { get; set; } + public global::G.TimelineReviewedEvent? Type914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type915 { get; set; } + public global::G.TimelineReviewedEventLinks? Type915 { get; set; } /// /// /// - public global::G.PullRequestHead? Type916 { get; set; } + public global::G.TimelineReviewedEventLinksHtml? Type916 { get; set; } /// /// /// - public global::G.PullRequestHeadRepo? Type917 { get; set; } + public global::G.TimelineReviewedEventLinksPullRequest? Type917 { get; set; } /// /// /// - public global::G.PullRequestHeadRepoOwner? Type918 { get; set; } + public global::G.PullRequestReviewComment? Type918 { get; set; } /// /// /// - public global::G.PullRequestHeadRepoPermissions? Type919 { get; set; } + public global::G.PullRequestReviewCommentLinks? Type919 { get; set; } /// /// /// - public global::G.PullRequestHeadRepoLicense? Type920 { get; set; } + public global::G.PullRequestReviewCommentLinksSelf? Type920 { get; set; } /// /// /// - public global::G.PullRequestHeadUser? Type921 { get; set; } + public global::G.PullRequestReviewCommentLinksHtml? Type921 { get; set; } /// /// /// - public global::G.PullRequestBase? Type922 { get; set; } + public global::G.PullRequestReviewCommentLinksPullRequest? Type922 { get; set; } /// /// /// - public global::G.PullRequestBaseRepo? Type923 { get; set; } + public global::G.PullRequestReviewCommentStartSide? Type923 { get; set; } /// /// /// - public global::G.PullRequestBaseRepoOwner? Type924 { get; set; } + public global::G.PullRequestReviewCommentSide? Type924 { get; set; } /// /// /// - public global::G.PullRequestBaseRepoPermissions? Type925 { get; set; } + public global::G.PullRequestReviewCommentSubjectType? Type925 { get; set; } /// /// /// - public global::G.PullRequestBaseUser? Type926 { get; set; } + public global::G.TimelineLineCommentedEvent? Type926 { get; set; } /// /// /// - public global::G.PullRequestLinks? Type927 { get; set; } + public global::System.Collections.Generic.IList? Type927 { get; set; } /// /// /// - public global::G.PullRequestMergeResult? Type928 { get; set; } + public global::G.TimelineCommitCommentedEvent? Type928 { get; set; } /// /// /// - public global::G.PullRequestReviewRequest? Type929 { get; set; } + public global::System.Collections.Generic.IList? Type929 { get; set; } /// /// /// - public global::G.PullRequestReview? Type930 { get; set; } + public global::G.TimelineAssignedIssueEvent? Type930 { get; set; } /// /// /// - public global::G.PullRequestReviewLinks? Type931 { get; set; } + public global::G.TimelineUnassignedIssueEvent? Type931 { get; set; } /// /// /// - public global::G.PullRequestReviewLinksHtml? Type932 { get; set; } + public global::G.StateChangeIssueEvent? Type932 { get; set; } /// /// /// - public global::G.PullRequestReviewLinksPullRequest? Type933 { get; set; } + public global::G.TimelineIssueEvents? Type933 { get; set; } /// /// /// - public global::G.ReviewComment? Type934 { get; set; } + public global::G.DeployKey? Type934 { get; set; } /// /// /// - public global::G.ReviewCommentLinks? Type935 { get; set; } + public global::System.Collections.Generic.Dictionary? Type935 { get; set; } /// /// /// - public global::G.ReviewCommentSide? Type936 { get; set; } + public global::G.LicenseContent? Type936 { get; set; } /// /// /// - public global::G.ReviewCommentStartSide? Type937 { get; set; } + public global::G.LicenseContentLinks? Type937 { get; set; } /// /// /// - public global::G.ReleaseAsset? Type938 { get; set; } + public global::G.MergedUpstream? Type938 { get; set; } /// /// /// - public global::G.ReleaseAssetState? Type939 { get; set; } + public global::G.MergedUpstreamMergeType? Type939 { get; set; } /// /// /// - public global::G.Release? Type940 { get; set; } + public global::G.Milestone? Type940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type941 { get; set; } + public global::G.MilestoneState? Type941 { get; set; } /// /// /// - public global::G.ReleaseNotesContent? Type942 { get; set; } + public global::G.PagesSourceHash? Type942 { get; set; } /// /// /// - public global::G.RepositoryRuleRulesetInfo? Type943 { get; set; } + public global::G.PagesHttpsCertificate? Type943 { get; set; } /// /// /// - public global::G.RepositoryRuleRulesetInfoRulesetSourceType? Type944 { get; set; } + public global::G.PagesHttpsCertificateState? Type944 { get; set; } /// /// /// - public global::G.RepositoryRuleDetailed? Type945 { get; set; } + public global::G.Page? Type945 { get; set; } /// /// /// - public global::G.AllOf? Type946 { get; set; } + public global::G.PageStatus? Type946 { get; set; } /// /// /// - public global::G.AllOf? Type947 { get; set; } + public global::G.PageProtectedDomainState? Type947 { get; set; } /// /// /// - public global::G.AllOf? Type948 { get; set; } + public global::G.PageBuildType? Type948 { get; set; } /// /// /// - public global::G.AllOf? Type949 { get; set; } + public global::G.PageBuild? Type949 { get; set; } /// /// /// - public global::G.AllOf? Type950 { get; set; } + public global::G.PageBuildError? Type950 { get; set; } /// /// /// - public global::G.AllOf? Type951 { get; set; } + public global::G.PageBuildStatus? Type951 { get; set; } /// /// /// - public global::G.AllOf? Type952 { get; set; } + public global::G.PageDeployment? Type952 { get; set; } /// /// /// - public global::G.AllOf? Type953 { get; set; } + public global::G.OneOf? Type953 { get; set; } /// /// /// - public global::G.AllOf? Type954 { get; set; } + public global::G.PagesDeploymentStatus? Type954 { get; set; } /// /// /// - public global::G.AllOf? Type955 { get; set; } + public global::G.PagesDeploymentStatusStatus? Type955 { get; set; } /// /// /// - public global::G.AllOf? Type956 { get; set; } + public global::G.PagesHealthCheck? Type956 { get; set; } /// /// /// - public global::G.AllOf? Type957 { get; set; } + public global::G.PagesHealthCheckDomain? Type957 { get; set; } /// /// /// - public global::G.AllOf? Type958 { get; set; } + public global::G.PagesHealthCheckAltDomain? Type958 { get; set; } /// /// /// - public global::G.AllOf? Type959 { get; set; } + public global::G.PullRequest? Type959 { get; set; } /// /// /// - public global::G.AllOf? Type960 { get; set; } + public global::G.PullRequestState? Type960 { get; set; } /// /// /// - public global::G.AllOf? Type961 { get; set; } + public global::System.Collections.Generic.IList? Type961 { get; set; } /// /// /// - public global::G.SecretScanningAlert? Type962 { get; set; } + public global::G.PullRequestLabel? Type962 { get; set; } /// /// /// - public global::G.SecretScanningAlertValidity? Type963 { get; set; } + public global::System.Collections.Generic.IList? Type963 { get; set; } /// /// /// - public global::G.SecretScanningLocationCommit? Type964 { get; set; } + public global::G.PullRequestHead? Type964 { get; set; } /// /// /// - public global::G.SecretScanningLocationWikiCommit? Type965 { get; set; } + public global::G.PullRequestHeadRepo? Type965 { get; set; } /// /// /// - public global::G.SecretScanningLocationIssueTitle? Type966 { get; set; } + public global::G.PullRequestHeadRepoOwner? Type966 { get; set; } /// /// /// - public global::G.SecretScanningLocationIssueBody? Type967 { get; set; } + public global::G.PullRequestHeadRepoPermissions? Type967 { get; set; } /// /// /// - public global::G.SecretScanningLocationIssueComment? Type968 { get; set; } + public global::G.PullRequestHeadRepoLicense? Type968 { get; set; } /// /// /// - public global::G.SecretScanningLocationDiscussionTitle? Type969 { get; set; } + public global::G.PullRequestHeadUser? Type969 { get; set; } /// /// /// - public global::G.SecretScanningLocationDiscussionBody? Type970 { get; set; } + public global::G.PullRequestBase? Type970 { get; set; } /// /// /// - public global::G.SecretScanningLocationDiscussionComment? Type971 { get; set; } + public global::G.PullRequestBaseRepo? Type971 { get; set; } /// /// /// - public global::G.SecretScanningLocationPullRequestTitle? Type972 { get; set; } + public global::G.PullRequestBaseRepoOwner? Type972 { get; set; } /// /// /// - public global::G.SecretScanningLocationPullRequestBody? Type973 { get; set; } + public global::G.PullRequestBaseRepoPermissions? Type973 { get; set; } /// /// /// - public global::G.SecretScanningLocationPullRequestComment? Type974 { get; set; } + public global::G.PullRequestBaseUser? Type974 { get; set; } /// /// /// - public global::G.SecretScanningLocationPullRequestReview? Type975 { get; set; } + public global::G.PullRequestLinks? Type975 { get; set; } /// /// /// - public global::G.SecretScanningLocationPullRequestReviewComment? Type976 { get; set; } + public global::G.PullRequestMergeResult? Type976 { get; set; } /// /// /// - public global::G.SecretScanningLocation? Type977 { get; set; } + public global::G.PullRequestReviewRequest? Type977 { get; set; } /// /// /// - public global::G.SecretScanningLocationType? Type978 { get; set; } + public global::G.PullRequestReview? Type978 { get; set; } /// /// /// - public global::G.OneOf? Type979 { get; set; } + public global::G.PullRequestReviewLinks? Type979 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreate? Type980 { get; set; } + public global::G.PullRequestReviewLinksHtml? Type980 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type981 { get; set; } + public global::G.PullRequestReviewLinksPullRequest? Type981 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreateVulnerabilitie? Type982 { get; set; } + public global::G.ReviewComment? Type982 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreateVulnerabilitiePackage? Type983 { get; set; } + public global::G.ReviewCommentLinks? Type983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type984 { get; set; } + public global::G.ReviewCommentSide? Type984 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreateCredit? Type985 { get; set; } + public global::G.ReviewCommentStartSide? Type985 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryCreateSeverity? Type986 { get; set; } + public global::G.ReleaseAsset? Type986 { get; set; } /// /// /// - public global::G.PrivateVulnerabilityReportCreate? Type987 { get; set; } + public global::G.ReleaseAssetState? Type987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type988 { get; set; } + public global::G.Release? Type988 { get; set; } /// /// /// - public global::G.PrivateVulnerabilityReportCreateVulnerabilitie? Type989 { get; set; } + public global::System.Collections.Generic.IList? Type989 { get; set; } /// /// /// - public global::G.PrivateVulnerabilityReportCreateVulnerabilitiePackage? Type990 { get; set; } + public global::G.ReleaseNotesContent? Type990 { get; set; } /// /// /// - public global::G.PrivateVulnerabilityReportCreateSeverity? Type991 { get; set; } + public global::G.RepositoryRuleRulesetInfo? Type991 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdate? Type992 { get; set; } + public global::G.RepositoryRuleRulesetInfoRulesetSourceType? Type992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type993 { get; set; } + public global::G.RepositoryRuleDetailed? Type993 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdateVulnerabilitie? Type994 { get; set; } + public global::G.AllOf? Type994 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdateVulnerabilitiePackage? Type995 { get; set; } + public global::G.AllOf? Type995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type996 { get; set; } + public global::G.AllOf? Type996 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdateCredit? Type997 { get; set; } + public global::G.AllOf? Type997 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdateSeverity? Type998 { get; set; } + public global::G.AllOf? Type998 { get; set; } /// /// /// - public global::G.RepositoryAdvisoryUpdateState? Type999 { get; set; } + public global::G.AllOf? Type999 { get; set; } /// /// /// - public global::G.Stargazer? Type1000 { get; set; } + public global::G.AllOf? Type1000 { get; set; } /// /// /// - public global::G.CommitActivity? Type1001 { get; set; } + public global::G.AllOf? Type1001 { get; set; } /// /// /// - public global::G.ContributorActivity? Type1002 { get; set; } + public global::G.AllOf? Type1002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1003 { get; set; } + public global::G.AllOf? Type1003 { get; set; } /// /// /// - public global::G.ContributorActivityWeek? Type1004 { get; set; } + public global::G.AllOf? Type1004 { get; set; } /// /// /// - public global::G.ParticipationStats? Type1005 { get; set; } + public global::G.AllOf? Type1005 { get; set; } /// /// /// - public global::G.RepositorySubscription? Type1006 { get; set; } + public global::G.AllOf? Type1006 { get; set; } /// /// /// - public global::G.Tag? Type1007 { get; set; } + public global::G.AllOf? Type1007 { get; set; } /// /// /// - public global::G.TagCommit? Type1008 { get; set; } + public global::G.AllOf? Type1008 { get; set; } /// /// /// - public global::G.TagProtection? Type1009 { get; set; } + public global::G.AllOf? Type1009 { get; set; } /// /// /// - public global::G.Topic? Type1010 { get; set; } + public global::G.AllOf? Type1010 { get; set; } /// /// /// - public global::G.Traffic? Type1011 { get; set; } + public global::G.SecretScanningAlert? Type1011 { get; set; } /// /// /// - public global::G.CloneTraffic? Type1012 { get; set; } + public global::G.SecretScanningAlertValidity? Type1012 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1013 { get; set; } + public global::G.SecretScanningLocationCommit? Type1013 { get; set; } /// /// /// - public global::G.ContentTraffic? Type1014 { get; set; } + public global::G.SecretScanningLocationWikiCommit? Type1014 { get; set; } /// /// /// - public global::G.ReferrerTraffic? Type1015 { get; set; } + public global::G.SecretScanningLocationIssueTitle? Type1015 { get; set; } /// /// /// - public global::G.ViewTraffic? Type1016 { get; set; } + public global::G.SecretScanningLocationIssueBody? Type1016 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1017 { get; set; } + public global::G.SecretScanningLocationIssueComment? Type1017 { get; set; } /// /// /// - public global::G.SearchResultTextMatche? Type1018 { get; set; } + public global::G.SecretScanningLocationDiscussionTitle? Type1018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1019 { get; set; } + public global::G.SecretScanningLocationDiscussionBody? Type1019 { get; set; } /// /// /// - public global::G.SearchResultTextMatcheMatche? Type1020 { get; set; } + public global::G.SecretScanningLocationDiscussionComment? Type1020 { get; set; } /// /// /// - public global::G.CodeSearchResultItem? Type1021 { get; set; } + public global::G.SecretScanningLocationPullRequestTitle? Type1021 { get; set; } /// /// /// - public global::G.CommitSearchResultItem? Type1022 { get; set; } + public global::G.SecretScanningLocationPullRequestBody? Type1022 { get; set; } /// /// /// - public global::G.CommitSearchResultItemCommit? Type1023 { get; set; } + public global::G.SecretScanningLocationPullRequestComment? Type1023 { get; set; } /// /// /// - public global::G.CommitSearchResultItemCommitAuthor? Type1024 { get; set; } + public global::G.SecretScanningLocationPullRequestReview? Type1024 { get; set; } /// /// /// - public global::G.CommitSearchResultItemCommitTree? Type1025 { get; set; } + public global::G.SecretScanningLocationPullRequestReviewComment? Type1025 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1026 { get; set; } + public global::G.SecretScanningLocation? Type1026 { get; set; } /// /// /// - public global::G.CommitSearchResultItemParent? Type1027 { get; set; } + public global::G.SecretScanningLocationType? Type1027 { get; set; } /// /// /// - public global::G.IssueSearchResultItem? Type1028 { get; set; } + public global::G.OneOf? Type1028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1029 { get; set; } + public global::G.SecretScanningPushProtectionBypassReason? Type1029 { get; set; } /// /// /// - public global::G.IssueSearchResultItemLabel? Type1030 { get; set; } + public global::G.SecretScanningPushProtectionBypass? Type1030 { get; set; } /// /// /// - public global::G.IssueSearchResultItemPullRequest? Type1031 { get; set; } + public global::G.RepositoryAdvisoryCreate? Type1031 { get; set; } /// /// /// - public global::G.LabelSearchResultItem? Type1032 { get; set; } + public global::System.Collections.Generic.IList? Type1032 { get; set; } /// /// /// - public global::G.RepoSearchResultItem? Type1033 { get; set; } + public global::G.RepositoryAdvisoryCreateVulnerabilitie? Type1033 { get; set; } /// /// /// - public global::G.RepoSearchResultItemPermissions? Type1034 { get; set; } + public global::G.RepositoryAdvisoryCreateVulnerabilitiePackage? Type1034 { get; set; } /// /// /// - public global::G.TopicSearchResultItem? Type1035 { get; set; } + public global::System.Collections.Generic.IList? Type1035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1036 { get; set; } + public global::G.RepositoryAdvisoryCreateCredit? Type1036 { get; set; } /// /// /// - public global::G.TopicSearchResultItemRelatedItem? Type1037 { get; set; } + public global::G.RepositoryAdvisoryCreateSeverity? Type1037 { get; set; } /// /// /// - public global::G.TopicSearchResultItemRelatedItemTopicRelation? Type1038 { get; set; } + public global::G.PrivateVulnerabilityReportCreate? Type1038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1039 { get; set; } + public global::System.Collections.Generic.IList? Type1039 { get; set; } /// /// /// - public global::G.TopicSearchResultItemAliase? Type1040 { get; set; } + public global::G.PrivateVulnerabilityReportCreateVulnerabilitie? Type1040 { get; set; } /// /// /// - public global::G.TopicSearchResultItemAliaseTopicRelation? Type1041 { get; set; } + public global::G.PrivateVulnerabilityReportCreateVulnerabilitiePackage? Type1041 { get; set; } /// /// /// - public global::G.UserSearchResultItem? Type1042 { get; set; } + public global::G.PrivateVulnerabilityReportCreateSeverity? Type1042 { get; set; } /// /// /// - public global::G.PrivateUser? Type1043 { get; set; } + public global::G.RepositoryAdvisoryUpdate? Type1043 { get; set; } /// /// /// - public global::G.PrivateUserPlan? Type1044 { get; set; } + public global::System.Collections.Generic.IList? Type1044 { get; set; } /// /// /// - public global::G.CodespacesSecret? Type1045 { get; set; } + public global::G.RepositoryAdvisoryUpdateVulnerabilitie? Type1045 { get; set; } /// /// /// - public global::G.CodespacesSecretVisibility? Type1046 { get; set; } + public global::G.RepositoryAdvisoryUpdateVulnerabilitiePackage? Type1046 { get; set; } /// /// /// - public global::G.CodespacesUserPublicKey? Type1047 { get; set; } + public global::System.Collections.Generic.IList? Type1047 { get; set; } /// /// /// - public global::G.CodespaceExportDetails? Type1048 { get; set; } + public global::G.RepositoryAdvisoryUpdateCredit? Type1048 { get; set; } /// /// /// - public global::G.CodespaceWithFullRepository? Type1049 { get; set; } + public global::G.RepositoryAdvisoryUpdateSeverity? Type1049 { get; set; } /// /// /// - public global::G.CodespaceWithFullRepositoryState? Type1050 { get; set; } + public global::G.RepositoryAdvisoryUpdateState? Type1050 { get; set; } /// /// /// - public global::G.CodespaceWithFullRepositoryGitStatus? Type1051 { get; set; } + public global::G.Stargazer? Type1051 { get; set; } /// /// /// - public global::G.CodespaceWithFullRepositoryLocation? Type1052 { get; set; } + public global::G.CommitActivity? Type1052 { get; set; } /// /// /// - public global::G.CodespaceWithFullRepositoryRuntimeConstraints? Type1053 { get; set; } + public global::G.ContributorActivity? Type1053 { get; set; } /// /// /// - public global::G.Email? Type1054 { get; set; } + public global::System.Collections.Generic.IList? Type1054 { get; set; } /// /// /// - public global::G.GpgKey? Type1055 { get; set; } + public global::G.ContributorActivityWeek? Type1055 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1056 { get; set; } + public global::G.ParticipationStats? Type1056 { get; set; } /// /// /// - public global::G.GpgKeyEmail? Type1057 { get; set; } + public global::G.RepositorySubscription? Type1057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1058 { get; set; } + public global::G.Tag? Type1058 { get; set; } /// /// /// - public global::G.GpgKeySubkey? Type1059 { get; set; } + public global::G.TagCommit? Type1059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1060 { get; set; } + public global::G.TagProtection? Type1060 { get; set; } /// /// /// - public global::G.GpgKeySubkeyEmail? Type1061 { get; set; } + public global::G.Topic? Type1061 { get; set; } /// /// /// - public global::G.Key? Type1062 { get; set; } + public global::G.Traffic? Type1062 { get; set; } /// /// /// - public global::G.MarketplaceAccount? Type1063 { get; set; } + public global::G.CloneTraffic? Type1063 { get; set; } /// /// /// - public global::G.UserMarketplacePurchase? Type1064 { get; set; } + public global::System.Collections.Generic.IList? Type1064 { get; set; } /// /// /// - public global::G.SocialAccount? Type1065 { get; set; } + public global::G.ContentTraffic? Type1065 { get; set; } /// /// /// - public global::G.SshSigningKey? Type1066 { get; set; } + public global::G.ReferrerTraffic? Type1066 { get; set; } /// /// /// - public global::G.StarredRepository? Type1067 { get; set; } + public global::G.ViewTraffic? Type1067 { get; set; } /// /// /// - public global::G.Hovercard? Type1068 { get; set; } + public global::System.Collections.Generic.IList? Type1068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1069 { get; set; } + public global::G.SearchResultTextMatche? Type1069 { get; set; } /// /// /// - public global::G.HovercardContext? Type1070 { get; set; } + public global::System.Collections.Generic.IList? Type1070 { get; set; } /// /// /// - public global::G.KeySimple? Type1071 { get; set; } + public global::G.SearchResultTextMatcheMatche? Type1071 { get; set; } /// /// /// - public global::G.EnterpriseWebhooks? Type1072 { get; set; } + public global::G.CodeSearchResultItem? Type1072 { get; set; } /// /// /// - public global::G.SimpleInstallation? Type1073 { get; set; } + public global::G.CommitSearchResultItem? Type1073 { get; set; } /// /// /// - public global::G.OrganizationSimpleWebhooks? Type1074 { get; set; } + public global::G.CommitSearchResultItemCommit? Type1074 { get; set; } /// /// /// - public global::G.RepositoryWebhooks? Type1075 { get; set; } + public global::G.CommitSearchResultItemCommitAuthor? Type1075 { get; set; } /// /// /// - public global::G.RepositoryWebhooksPermissions? Type1076 { get; set; } + public global::G.CommitSearchResultItemCommitTree? Type1076 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepository? Type1077 { get; set; } + public global::System.Collections.Generic.IList? Type1077 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositoryOwner? Type1078 { get; set; } + public global::G.CommitSearchResultItemParent? Type1078 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositoryPermissions? Type1079 { get; set; } + public global::G.IssueSearchResultItem? Type1079 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1081 { get; set; } + public global::G.IssueSearchResultItemLabel? Type1081 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1082 { get; set; } + public global::G.IssueSearchResultItemPullRequest? Type1082 { get; set; } /// /// /// - public global::G.RepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1083 { get; set; } + public global::G.LabelSearchResultItem? Type1083 { get; set; } /// /// /// - public global::G.RepositoryWebhooksSquashMergeCommitTitle? Type1084 { get; set; } + public global::G.RepoSearchResultItem? Type1084 { get; set; } /// /// /// - public global::G.RepositoryWebhooksSquashMergeCommitMessage? Type1085 { get; set; } + public global::G.RepoSearchResultItemPermissions? Type1085 { get; set; } /// /// /// - public global::G.RepositoryWebhooksMergeCommitTitle? Type1086 { get; set; } + public global::G.TopicSearchResultItem? Type1086 { get; set; } /// /// /// - public global::G.RepositoryWebhooksMergeCommitMessage? Type1087 { get; set; } + public global::System.Collections.Generic.IList? Type1087 { get; set; } /// /// /// - public global::G.SimpleUserWebhooks? Type1088 { get; set; } + public global::G.TopicSearchResultItemRelatedItem? Type1088 { get; set; } /// /// /// - public global::G.WebhooksRule? Type1089 { get; set; } + public global::G.TopicSearchResultItemRelatedItemTopicRelation? Type1089 { get; set; } /// /// /// - public global::G.WebhooksRuleAllowDeletionsEnforcementLevel? Type1090 { get; set; } + public global::System.Collections.Generic.IList? Type1090 { get; set; } /// /// /// - public global::G.WebhooksRuleAllowForcePushesEnforcementLevel? Type1091 { get; set; } + public global::G.TopicSearchResultItemAliase? Type1091 { get; set; } /// /// /// - public global::G.WebhooksRuleLinearHistoryRequirementEnforcementLevel? Type1092 { get; set; } + public global::G.TopicSearchResultItemAliaseTopicRelation? Type1092 { get; set; } /// /// /// - public global::G.WebhooksRuleMergeQueueEnforcementLevel? Type1093 { get; set; } + public global::G.UserSearchResultItem? Type1093 { get; set; } /// /// /// - public global::G.WebhooksRulePullRequestReviewsEnforcementLevel? Type1094 { get; set; } + public global::G.PrivateUser? Type1094 { get; set; } /// /// /// - public global::G.WebhooksRuleRequiredConversationResolutionLevel? Type1095 { get; set; } + public global::G.PrivateUserPlan? Type1095 { get; set; } /// /// /// - public global::G.WebhooksRuleRequiredDeploymentsEnforcementLevel? Type1096 { get; set; } + public global::G.CodespacesSecret? Type1096 { get; set; } /// /// /// - public global::G.WebhooksRuleRequiredStatusChecksEnforcementLevel? Type1097 { get; set; } + public global::G.CodespacesSecretVisibility? Type1097 { get; set; } /// /// /// - public global::G.WebhooksRuleSignatureRequirementEnforcementLevel? Type1098 { get; set; } + public global::G.CodespacesUserPublicKey? Type1098 { get; set; } /// /// /// - public global::G.SimpleCheckSuite? Type1099 { get; set; } + public global::G.CodespaceExportDetails? Type1099 { get; set; } /// /// /// - public global::G.SimpleCheckSuiteConclusion? Type1100 { get; set; } + public global::G.CodespaceWithFullRepository? Type1100 { get; set; } /// /// /// - public global::G.SimpleCheckSuiteStatus? Type1101 { get; set; } + public global::G.CodespaceWithFullRepositoryState? Type1101 { get; set; } /// /// /// - public global::G.CheckRunWithSimpleCheckSuite? Type1102 { get; set; } + public global::G.CodespaceWithFullRepositoryGitStatus? Type1102 { get; set; } /// /// /// - public global::G.CheckRunWithSimpleCheckSuiteConclusion? Type1103 { get; set; } + public global::G.CodespaceWithFullRepositoryLocation? Type1103 { get; set; } /// /// /// - public global::G.CheckRunWithSimpleCheckSuiteOutput? Type1104 { get; set; } + public global::G.CodespaceWithFullRepositoryRuntimeConstraints? Type1104 { get; set; } /// /// /// - public global::G.CheckRunWithSimpleCheckSuiteStatus? Type1105 { get; set; } + public global::G.Email? Type1105 { get; set; } /// /// /// - public global::G.WebhooksDeployKey? Type1106 { get; set; } + public global::G.GpgKey? Type1106 { get; set; } /// /// /// - public global::G.WebhooksWorkflow? Type1107 { get; set; } + public global::System.Collections.Generic.IList? Type1107 { get; set; } /// /// /// - public global::G.WebhooksApprover? Type1108 { get; set; } + public global::G.GpgKeyEmail? Type1108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1109 { get; set; } + public global::System.Collections.Generic.IList? Type1109 { get; set; } /// /// /// - public global::G.WebhooksReviewer? Type1110 { get; set; } + public global::G.GpgKeySubkey? Type1110 { get; set; } /// /// /// - public global::G.WebhooksReviewerReviewer? Type1111 { get; set; } + public global::System.Collections.Generic.IList? Type1111 { get; set; } /// /// /// - public global::G.WebhooksReviewerReviewerType? Type1112 { get; set; } + public global::G.GpgKeySubkeyEmail? Type1112 { get; set; } /// /// /// - public global::G.WebhooksReviewerType? Type1113 { get; set; } + public global::G.Key? Type1113 { get; set; } /// /// /// - public global::G.WebhooksWorkflowJobRun? Type1114 { get; set; } + public global::G.MarketplaceAccount? Type1114 { get; set; } /// /// /// - public global::G.WebhooksUser? Type1115 { get; set; } + public global::G.UserMarketplacePurchase? Type1115 { get; set; } /// /// /// - public global::G.WebhooksUserType? Type1116 { get; set; } + public global::G.SocialAccount? Type1116 { get; set; } /// /// /// - public global::G.WebhooksAnswer? Type1117 { get; set; } + public global::G.SshSigningKey? Type1117 { get; set; } /// /// /// - public global::G.WebhooksAnswerAuthorAssociation? Type1118 { get; set; } + public global::G.StarredRepository? Type1118 { get; set; } /// /// /// - public global::G.WebhooksAnswerReactions? Type1119 { get; set; } + public global::G.SigstoreBundle0? Type1119 { get; set; } /// /// /// - public global::G.WebhooksAnswerUser? Type1120 { get; set; } + public global::G.SigstoreBundle0VerificationMaterial? Type1120 { get; set; } /// /// /// - public global::G.WebhooksAnswerUserType? Type1121 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialX509CertificateChain? Type1121 { get; set; } /// /// /// - public global::G.Discussion? Type1122 { get; set; } + public global::System.Collections.Generic.IList? Type1122 { get; set; } /// /// /// - public global::G.DiscussionAnswerChosenBy? Type1123 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate? Type1123 { get; set; } /// /// /// - public global::G.DiscussionAnswerChosenByType? Type1124 { get; set; } + public global::System.Collections.Generic.IList? Type1124 { get; set; } /// /// /// - public global::G.DiscussionAuthorAssociation? Type1125 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialTlogEntrie? Type1125 { get; set; } /// /// /// - public global::G.DiscussionCategory? Type1126 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieLogId? Type1126 { get; set; } /// /// /// - public global::G.DiscussionReactions? Type1127 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? Type1127 { get; set; } /// /// /// - public global::G.DiscussionState? Type1128 { get; set; } + public global::G.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? Type1128 { get; set; } /// /// /// - public global::G.DiscussionStateReason? Type1129 { get; set; } + public global::G.SigstoreBundle0DsseEnvelope? Type1129 { get; set; } /// /// /// - public global::G.DiscussionUser? Type1130 { get; set; } + public global::System.Collections.Generic.IList? Type1130 { get; set; } /// /// /// - public global::G.DiscussionUserType? Type1131 { get; set; } + public global::G.SigstoreBundle0DsseEnvelopeSignature? Type1131 { get; set; } /// /// /// - public global::G.WebhooksComment? Type1132 { get; set; } + public global::G.Hovercard? Type1132 { get; set; } /// /// /// - public global::G.WebhooksCommentAuthorAssociation? Type1133 { get; set; } + public global::System.Collections.Generic.IList? Type1133 { get; set; } /// /// /// - public global::G.WebhooksCommentReactions? Type1134 { get; set; } + public global::G.HovercardContext? Type1134 { get; set; } /// /// /// - public global::G.WebhooksCommentUser? Type1135 { get; set; } + public global::G.KeySimple? Type1135 { get; set; } /// /// /// - public global::G.WebhooksCommentUserType? Type1136 { get; set; } + public global::G.EnterpriseWebhooks? Type1136 { get; set; } /// /// /// - public global::G.WebhooksLabel? Type1137 { get; set; } + public global::G.SimpleInstallation? Type1137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1138 { get; set; } + public global::G.OrganizationSimpleWebhooks? Type1138 { get; set; } /// /// /// - public global::G.WebhooksRepositorie? Type1139 { get; set; } + public global::G.RepositoryWebhooks? Type1139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1140 { get; set; } + public global::G.RepositoryWebhooksPermissions? Type1140 { get; set; } /// /// /// - public global::G.WebhooksRepositoriesAddedItem? Type1141 { get; set; } + public global::G.RepositoryWebhooksTemplateRepository? Type1141 { get; set; } /// /// /// - public global::G.WebhooksRepositorySelection? Type1142 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositoryOwner? Type1142 { get; set; } /// /// /// - public global::G.WebhooksIssueComment? Type1143 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositoryPermissions? Type1143 { get; set; } /// /// /// - public global::G.WebhooksIssueCommentAuthorAssociation? Type1144 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1144 { get; set; } /// /// /// - public global::G.WebhooksIssueCommentReactions? Type1145 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1145 { get; set; } /// /// /// - public global::G.WebhooksIssueCommentUser? Type1146 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1146 { get; set; } /// /// /// - public global::G.WebhooksIssueCommentUserType? Type1147 { get; set; } + public global::G.RepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1147 { get; set; } /// /// /// - public global::G.WebhooksChanges? Type1148 { get; set; } + public global::G.RepositoryWebhooksSquashMergeCommitTitle? Type1148 { get; set; } /// /// /// - public global::G.WebhooksChangesBody? Type1149 { get; set; } + public global::G.RepositoryWebhooksSquashMergeCommitMessage? Type1149 { get; set; } /// /// /// - public global::G.WebhooksIssue? Type1150 { get; set; } + public global::G.RepositoryWebhooksMergeCommitTitle? Type1150 { get; set; } /// /// /// - public global::G.WebhooksIssueActiveLockReason? Type1151 { get; set; } + public global::G.RepositoryWebhooksMergeCommitMessage? Type1151 { get; set; } /// /// /// - public global::G.WebhooksIssueAssignee? Type1152 { get; set; } + public global::G.WebhooksRule? Type1152 { get; set; } /// /// /// - public global::G.WebhooksIssueAssigneeType? Type1153 { get; set; } + public global::G.WebhooksRuleAllowDeletionsEnforcementLevel? Type1153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1154 { get; set; } + public global::G.WebhooksRuleAllowForcePushesEnforcementLevel? Type1154 { get; set; } /// /// /// - public global::G.WebhooksIssueAssignee2? Type1155 { get; set; } + public global::G.WebhooksRuleLinearHistoryRequirementEnforcementLevel? Type1155 { get; set; } /// /// /// - public global::G.WebhooksIssueAssigneeType2? Type1156 { get; set; } + public global::G.WebhooksRuleLockBranchEnforcementLevel? Type1156 { get; set; } /// /// /// - public global::G.WebhooksIssueAuthorAssociation? Type1157 { get; set; } + public global::G.WebhooksRuleMergeQueueEnforcementLevel? Type1157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1158 { get; set; } + public global::G.WebhooksRulePullRequestReviewsEnforcementLevel? Type1158 { get; set; } /// /// /// - public global::G.WebhooksIssueLabel? Type1159 { get; set; } + public global::G.WebhooksRuleRequiredConversationResolutionLevel? Type1159 { get; set; } /// /// /// - public global::G.WebhooksIssueMilestone? Type1160 { get; set; } + public global::G.WebhooksRuleRequiredDeploymentsEnforcementLevel? Type1160 { get; set; } /// /// /// - public global::G.WebhooksIssueMilestoneCreator? Type1161 { get; set; } + public global::G.WebhooksRuleRequiredStatusChecksEnforcementLevel? Type1161 { get; set; } /// /// /// - public global::G.WebhooksIssueMilestoneCreatorType? Type1162 { get; set; } + public global::G.WebhooksRuleSignatureRequirementEnforcementLevel? Type1162 { get; set; } /// /// /// - public global::G.WebhooksIssueMilestoneState? Type1163 { get; set; } + public global::G.SimpleCheckSuite? Type1163 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubApp? Type1164 { get; set; } + public global::G.SimpleCheckSuiteConclusion? Type1164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1165 { get; set; } + public global::G.SimpleCheckSuiteStatus? Type1165 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppEvent? Type1166 { get; set; } + public global::G.CheckRunWithSimpleCheckSuite? Type1166 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppOwner? Type1167 { get; set; } + public global::G.CheckRunWithSimpleCheckSuiteConclusion? Type1167 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppOwnerType? Type1168 { get; set; } + public global::G.CheckRunWithSimpleCheckSuiteOutput? Type1168 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissions? Type1169 { get; set; } + public global::G.CheckRunWithSimpleCheckSuiteStatus? Type1169 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsActions? Type1170 { get; set; } + public global::G.WebhooksDeployKey? Type1170 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsAdministration? Type1171 { get; set; } + public global::G.WebhooksWorkflow? Type1171 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsChecks? Type1172 { get; set; } + public global::G.WebhooksApprover? Type1172 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsContentReferences? Type1173 { get; set; } + public global::System.Collections.Generic.IList? Type1173 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsContents? Type1174 { get; set; } + public global::G.WebhooksReviewer? Type1174 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsDeployments? Type1175 { get; set; } + public global::G.WebhooksReviewerReviewer? Type1175 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsDiscussions? Type1176 { get; set; } + public global::G.WebhooksReviewerReviewerType? Type1176 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsEmails? Type1177 { get; set; } + public global::G.WebhooksReviewerType? Type1177 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsEnvironments? Type1178 { get; set; } + public global::G.WebhooksWorkflowJobRun? Type1178 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsIssues? Type1179 { get; set; } + public global::G.WebhooksUser? Type1179 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsKeys? Type1180 { get; set; } + public global::G.WebhooksUserType? Type1180 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsMembers? Type1181 { get; set; } + public global::G.WebhooksAnswer? Type1181 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsMetadata? Type1182 { get; set; } + public global::G.WebhooksAnswerAuthorAssociation? Type1182 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1183 { get; set; } + public global::G.WebhooksAnswerReactions? Type1183 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1184 { get; set; } + public global::G.WebhooksAnswerUser? Type1184 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1185 { get; set; } + public global::G.WebhooksAnswerUserType? Type1185 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1186 { get; set; } + public global::G.Discussion? Type1186 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1187 { get; set; } + public global::G.DiscussionAnswerChosenBy? Type1187 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1188 { get; set; } + public global::G.DiscussionAnswerChosenByType? Type1188 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1189 { get; set; } + public global::G.DiscussionAuthorAssociation? Type1189 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1190 { get; set; } + public global::G.DiscussionCategory? Type1190 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPackages? Type1191 { get; set; } + public global::G.DiscussionReactions? Type1191 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPages? Type1192 { get; set; } + public global::G.DiscussionState? Type1192 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPullRequests? Type1193 { get; set; } + public global::G.DiscussionStateReason? Type1193 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1194 { get; set; } + public global::G.DiscussionUser? Type1194 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1195 { get; set; } + public global::G.DiscussionUserType? Type1195 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1196 { get; set; } + public global::System.Collections.Generic.IList? Type1196 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecrets? Type1197 { get; set; } + public global::G.WebhooksComment? Type1197 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1198 { get; set; } + public global::G.WebhooksCommentAuthorAssociation? Type1198 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1199 { get; set; } + public global::G.WebhooksCommentReactions? Type1199 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSingleFile? Type1200 { get; set; } + public global::G.WebhooksCommentUser? Type1200 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsStatuses? Type1201 { get; set; } + public global::G.WebhooksCommentUserType? Type1201 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1202 { get; set; } + public global::G.WebhooksLabel? Type1202 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1203 { get; set; } + public global::System.Collections.Generic.IList? Type1203 { get; set; } /// /// /// - public global::G.WebhooksIssuePerformedViaGithubAppPermissionsWorkflows? Type1204 { get; set; } + public global::G.WebhooksRepositorie? Type1204 { get; set; } /// /// /// - public global::G.WebhooksIssuePullRequest? Type1205 { get; set; } + public global::System.Collections.Generic.IList? Type1205 { get; set; } /// /// /// - public global::G.WebhooksIssueReactions? Type1206 { get; set; } + public global::G.WebhooksRepositoriesAddedItem? Type1206 { get; set; } /// /// /// - public global::G.WebhooksIssueState? Type1207 { get; set; } + public global::G.WebhooksRepositorySelection? Type1207 { get; set; } /// /// /// - public global::G.WebhooksIssueUser? Type1208 { get; set; } + public global::G.WebhooksIssueComment? Type1208 { get; set; } /// /// /// - public global::G.WebhooksIssueUserType? Type1209 { get; set; } + public global::G.WebhooksIssueCommentAuthorAssociation? Type1209 { get; set; } /// /// /// - public global::G.WebhooksMilestone? Type1210 { get; set; } + public global::G.WebhooksIssueCommentReactions? Type1210 { get; set; } /// /// /// - public global::G.WebhooksMilestoneCreator? Type1211 { get; set; } + public global::G.WebhooksIssueCommentUser? Type1211 { get; set; } /// /// /// - public global::G.WebhooksMilestoneCreatorType? Type1212 { get; set; } + public global::G.WebhooksIssueCommentUserType? Type1212 { get; set; } /// /// /// - public global::G.WebhooksMilestoneState? Type1213 { get; set; } + public global::G.WebhooksChanges? Type1213 { get; set; } /// /// /// - public global::G.WebhooksIssue2? Type1214 { get; set; } + public global::G.WebhooksChangesBody? Type1214 { get; set; } /// /// /// - public global::G.WebhooksIssue2ActiveLockReason? Type1215 { get; set; } + public global::G.WebhooksIssue? Type1215 { get; set; } /// /// /// - public global::G.WebhooksIssue2Assignee? Type1216 { get; set; } + public global::G.WebhooksIssueActiveLockReason? Type1216 { get; set; } /// /// /// - public global::G.WebhooksIssue2AssigneeType? Type1217 { get; set; } + public global::G.WebhooksIssueAssignee? Type1217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1218 { get; set; } + public global::G.WebhooksIssueAssigneeType? Type1218 { get; set; } /// /// /// - public global::G.WebhooksIssue2Assignee2? Type1219 { get; set; } + public global::System.Collections.Generic.IList? Type1219 { get; set; } /// /// /// - public global::G.WebhooksIssue2AssigneeType2? Type1220 { get; set; } + public global::G.WebhooksIssueAssignee2? Type1220 { get; set; } /// /// /// - public global::G.WebhooksIssue2AuthorAssociation? Type1221 { get; set; } + public global::G.WebhooksIssueAssigneeType2? Type1221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1222 { get; set; } + public global::G.WebhooksIssueAuthorAssociation? Type1222 { get; set; } /// /// /// - public global::G.WebhooksIssue2Label? Type1223 { get; set; } + public global::System.Collections.Generic.IList? Type1223 { get; set; } /// /// /// - public global::G.WebhooksIssue2Milestone? Type1224 { get; set; } + public global::G.WebhooksIssueLabel? Type1224 { get; set; } /// /// /// - public global::G.WebhooksIssue2MilestoneCreator? Type1225 { get; set; } + public global::G.WebhooksIssueMilestone? Type1225 { get; set; } /// /// /// - public global::G.WebhooksIssue2MilestoneCreatorType? Type1226 { get; set; } + public global::G.WebhooksIssueMilestoneCreator? Type1226 { get; set; } /// /// /// - public global::G.WebhooksIssue2MilestoneState? Type1227 { get; set; } + public global::G.WebhooksIssueMilestoneCreatorType? Type1227 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubApp? Type1228 { get; set; } + public global::G.WebhooksIssueMilestoneState? Type1228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1229 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubApp? Type1229 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppEvent? Type1230 { get; set; } + public global::System.Collections.Generic.IList? Type1230 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppOwner? Type1231 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppEvent? Type1231 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppOwnerType? Type1232 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppOwner? Type1232 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissions? Type1233 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppOwnerType? Type1233 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsActions? Type1234 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissions? Type1234 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsAdministration? Type1235 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsActions? Type1235 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsChecks? Type1236 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsAdministration? Type1236 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsContentReferences? Type1237 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsChecks? Type1237 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsContents? Type1238 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsContentReferences? Type1238 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsDeployments? Type1239 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsContents? Type1239 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsDiscussions? Type1240 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsDeployments? Type1240 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsEmails? Type1241 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsDiscussions? Type1241 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsEnvironments? Type1242 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsEmails? Type1242 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsIssues? Type1243 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsEnvironments? Type1243 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsKeys? Type1244 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsIssues? Type1244 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsMembers? Type1245 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsKeys? Type1245 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsMetadata? Type1246 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsMembers? Type1246 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationAdministration? Type1247 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsMetadata? Type1247 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationHooks? Type1248 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1248 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPackages? Type1249 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1249 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPlan? Type1250 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1250 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationProjects? Type1251 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1251 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSecrets? Type1252 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1252 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1253 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1253 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1254 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1254 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPackages? Type1255 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1255 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPages? Type1256 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPackages? Type1256 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPullRequests? Type1257 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPages? Type1257 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryHooks? Type1258 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsPullRequests? Type1258 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryProjects? Type1259 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1259 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecretScanningAlerts? Type1260 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1260 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecrets? Type1261 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1261 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityEvents? Type1262 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecrets? Type1262 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityScanningAlert? Type1263 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1263 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSingleFile? Type1264 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1264 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsStatuses? Type1265 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsSingleFile? Type1265 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsTeamDiscussions? Type1266 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsStatuses? Type1266 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1267 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1267 { get; set; } /// /// /// - public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflows? Type1268 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1268 { get; set; } /// /// /// - public global::G.WebhooksIssue2PullRequest? Type1269 { get; set; } + public global::G.WebhooksIssuePerformedViaGithubAppPermissionsWorkflows? Type1269 { get; set; } /// /// /// - public global::G.WebhooksIssue2Reactions? Type1270 { get; set; } + public global::G.WebhooksIssuePullRequest? Type1270 { get; set; } /// /// /// - public global::G.WebhooksIssue2State? Type1271 { get; set; } + public global::G.WebhooksIssueReactions? Type1271 { get; set; } /// /// /// - public global::G.WebhooksIssue2User? Type1272 { get; set; } + public global::G.WebhooksIssueState? Type1272 { get; set; } /// /// /// - public global::G.WebhooksIssue2UserType? Type1273 { get; set; } + public global::G.WebhooksIssueUser? Type1273 { get; set; } /// /// /// - public global::G.WebhooksUserMannequin? Type1274 { get; set; } + public global::G.WebhooksIssueUserType? Type1274 { get; set; } /// /// /// - public global::G.WebhooksUserMannequinType? Type1275 { get; set; } + public global::G.WebhooksMilestone? Type1275 { get; set; } /// /// /// - public global::G.WebhooksMarketplacePurchase? Type1276 { get; set; } + public global::G.WebhooksMilestoneCreator? Type1276 { get; set; } /// /// /// - public global::G.WebhooksMarketplacePurchaseAccount? Type1277 { get; set; } + public global::G.WebhooksMilestoneCreatorType? Type1277 { get; set; } /// /// /// - public global::G.WebhooksMarketplacePurchasePlan? Type1278 { get; set; } + public global::G.WebhooksMilestoneState? Type1278 { get; set; } /// /// /// - public global::G.WebhooksMarketplacePurchasePlanPriceModel? Type1279 { get; set; } + public global::G.WebhooksIssue2? Type1279 { get; set; } /// /// /// - public global::G.WebhooksPreviousMarketplacePurchase? Type1280 { get; set; } + public global::G.WebhooksIssue2ActiveLockReason? Type1280 { get; set; } /// /// /// - public global::G.WebhooksPreviousMarketplacePurchaseAccount? Type1281 { get; set; } + public global::G.WebhooksIssue2Assignee? Type1281 { get; set; } /// /// /// - public global::G.WebhooksPreviousMarketplacePurchasePlan? Type1282 { get; set; } + public global::G.WebhooksIssue2AssigneeType? Type1282 { get; set; } /// /// /// - public global::G.WebhooksPreviousMarketplacePurchasePlanPriceModel? Type1283 { get; set; } + public global::System.Collections.Generic.IList? Type1283 { get; set; } /// /// /// - public global::G.WebhooksTeam? Type1284 { get; set; } + public global::G.WebhooksIssue2Assignee2? Type1284 { get; set; } /// /// /// - public global::G.WebhooksTeamParent? Type1285 { get; set; } + public global::G.WebhooksIssue2AssigneeType2? Type1285 { get; set; } /// /// /// - public global::G.WebhooksTeamParentPrivacy? Type1286 { get; set; } + public global::G.WebhooksIssue2AuthorAssociation? Type1286 { get; set; } /// /// /// - public global::G.WebhooksTeamParentNotificationSetting? Type1287 { get; set; } + public global::System.Collections.Generic.IList? Type1287 { get; set; } /// /// /// - public global::G.WebhooksTeamPrivacy? Type1288 { get; set; } + public global::G.WebhooksIssue2Label? Type1288 { get; set; } /// /// /// - public global::G.WebhooksTeamNotificationSetting? Type1289 { get; set; } + public global::G.WebhooksIssue2Milestone? Type1289 { get; set; } /// /// /// - public global::G.MergeGroup? Type1290 { get; set; } + public global::G.WebhooksIssue2MilestoneCreator? Type1290 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooks? Type1291 { get; set; } + public global::G.WebhooksIssue2MilestoneCreatorType? Type1291 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksPermissions? Type1292 { get; set; } + public global::G.WebhooksIssue2MilestoneState? Type1292 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepository? Type1293 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubApp? Type1293 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositoryOwner? Type1294 { get; set; } + public global::System.Collections.Generic.IList? Type1294 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositoryPermissions? Type1295 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppEvent? Type1295 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1296 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppOwner? Type1296 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1297 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppOwnerType? Type1297 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1298 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissions? Type1298 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1299 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsActions? Type1299 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksSquashMergeCommitTitle? Type1300 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsAdministration? Type1300 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksSquashMergeCommitMessage? Type1301 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsChecks? Type1301 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksMergeCommitTitle? Type1302 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsContentReferences? Type1302 { get; set; } /// /// /// - public global::G.NullableRepositoryWebhooksMergeCommitMessage? Type1303 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsContents? Type1303 { get; set; } /// /// /// - public global::G.WebhooksMilestone3? Type1304 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsDeployments? Type1304 { get; set; } /// /// /// - public global::G.WebhooksMilestone3Creator? Type1305 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsDiscussions? Type1305 { get; set; } /// /// /// - public global::G.WebhooksMilestone3CreatorType? Type1306 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsEmails? Type1306 { get; set; } /// /// /// - public global::G.WebhooksMilestone3State? Type1307 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsEnvironments? Type1307 { get; set; } /// /// /// - public global::G.WebhooksMembership? Type1308 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsIssues? Type1308 { get; set; } /// /// /// - public global::G.WebhooksMembershipUser? Type1309 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsKeys? Type1309 { get; set; } /// /// /// - public global::G.WebhooksMembershipUserType? Type1310 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsMembers? Type1310 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequest? Type1311 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsMetadata? Type1311 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequestPermissionsAdded? Type1312 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationAdministration? Type1312 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequestPermissionsUpgraded? Type1313 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationHooks? Type1313 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequestPermissionsResult? Type1314 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPackages? Type1314 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequestRepositorySelection? Type1315 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPlan? Type1315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1316 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationProjects? Type1316 { get; set; } /// /// /// - public global::G.PersonalAccessTokenRequestRepositorie? Type1317 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSecrets? Type1317 { get; set; } /// /// /// - public global::G.WebhooksProjectCard? Type1318 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1318 { get; set; } /// /// /// - public global::G.WebhooksProjectCardCreator? Type1319 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1319 { get; set; } /// /// /// - public global::G.WebhooksProjectCardCreatorType? Type1320 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPackages? Type1320 { get; set; } /// /// /// - public global::G.WebhooksProject? Type1321 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPages? Type1321 { get; set; } /// /// /// - public global::G.WebhooksProjectCreator? Type1322 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsPullRequests? Type1322 { get; set; } /// /// /// - public global::G.WebhooksProjectCreatorType? Type1323 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryHooks? Type1323 { get; set; } /// /// /// - public global::G.WebhooksProjectState? Type1324 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryProjects? Type1324 { get; set; } /// /// /// - public global::G.WebhooksProjectColumn? Type1325 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecretScanningAlerts? Type1325 { get; set; } /// /// /// - public global::G.ProjectsV2? Type1326 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecrets? Type1326 { get; set; } /// /// /// - public global::G.WebhooksProjectChanges? Type1327 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityEvents? Type1327 { get; set; } /// /// /// - public global::G.WebhooksProjectChangesArchivedAt? Type1328 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityScanningAlert? Type1328 { get; set; } /// /// /// - public global::G.ProjectsV2ItemContentType? Type1329 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsSingleFile? Type1329 { get; set; } /// /// /// - public global::G.ProjectsV2Item? Type1330 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsStatuses? Type1330 { get; set; } /// /// /// - public global::G.PullRequestWebhook? Type1331 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsTeamDiscussions? Type1331 { get; set; } /// /// /// - public global::G.PullRequestWebhookVariant2? Type1332 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1332 { get; set; } /// /// /// - public global::G.PullRequestWebhookVariant2MergeCommitMessage? Type1333 { get; set; } + public global::G.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflows? Type1333 { get; set; } /// /// /// - public global::G.PullRequestWebhookVariant2MergeCommitTitle? Type1334 { get; set; } + public global::G.WebhooksIssue2PullRequest? Type1334 { get; set; } /// /// /// - public global::G.PullRequestWebhookVariant2SquashMergeCommitMessage? Type1335 { get; set; } + public global::G.WebhooksIssue2Reactions? Type1335 { get; set; } /// /// /// - public global::G.PullRequestWebhookVariant2SquashMergeCommitTitle? Type1336 { get; set; } + public global::G.WebhooksIssue2State? Type1336 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5? Type1337 { get; set; } + public global::G.WebhooksIssue2User? Type1337 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Links? Type1338 { get; set; } + public global::G.WebhooksIssue2UserType? Type1338 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksComments? Type1339 { get; set; } + public global::G.WebhooksUserMannequin? Type1339 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksCommits? Type1340 { get; set; } + public global::G.WebhooksUserMannequinType? Type1340 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksHtml? Type1341 { get; set; } + public global::G.WebhooksMarketplacePurchase? Type1341 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksIssue? Type1342 { get; set; } + public global::G.WebhooksMarketplacePurchaseAccount? Type1342 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksReviewComment? Type1343 { get; set; } + public global::G.WebhooksMarketplacePurchasePlan? Type1343 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksReviewComments? Type1344 { get; set; } + public global::G.WebhooksMarketplacePurchasePlanPriceModel? Type1344 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksSelf? Type1345 { get; set; } + public global::G.WebhooksPreviousMarketplacePurchase? Type1345 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5LinksStatuses? Type1346 { get; set; } + public global::G.WebhooksPreviousMarketplacePurchaseAccount? Type1346 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5ActiveLockReason? Type1347 { get; set; } + public global::G.WebhooksPreviousMarketplacePurchasePlan? Type1347 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Assignee? Type1348 { get; set; } + public global::G.WebhooksPreviousMarketplacePurchasePlanPriceModel? Type1348 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AssigneeType? Type1349 { get; set; } + public global::G.WebhooksTeam? Type1349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1350 { get; set; } + public global::G.WebhooksTeamParent? Type1350 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Assignee2? Type1351 { get; set; } + public global::G.WebhooksTeamParentPrivacy? Type1351 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AssigneeType2? Type1352 { get; set; } + public global::G.WebhooksTeamParentNotificationSetting? Type1352 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AuthorAssociation? Type1353 { get; set; } + public global::G.WebhooksTeamPrivacy? Type1353 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AutoMerge? Type1354 { get; set; } + public global::G.WebhooksTeamNotificationSetting? Type1354 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AutoMergeEnabledBy? Type1355 { get; set; } + public global::G.MergeGroup? Type1355 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AutoMergeEnabledByType? Type1356 { get; set; } + public global::G.NullableRepositoryWebhooks? Type1356 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5AutoMergeMergeMethod? Type1357 { get; set; } + public global::G.NullableRepositoryWebhooksPermissions? Type1357 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Base? Type1358 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepository? Type1358 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepo? Type1359 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositoryOwner? Type1359 { get; set; } /// /// /// - public global::G.OneOf? Type1360 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositoryPermissions? Type1360 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoLicense? Type1361 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1361 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoMergeCommitMessage? Type1362 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1362 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoMergeCommitTitle? Type1363 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1363 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoOwner? Type1364 { get; set; } + public global::G.NullableRepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1364 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoOwnerType? Type1365 { get; set; } + public global::G.NullableRepositoryWebhooksSquashMergeCommitTitle? Type1365 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoPermissions? Type1366 { get; set; } + public global::G.NullableRepositoryWebhooksSquashMergeCommitMessage? Type1366 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoSquashMergeCommitMessage? Type1367 { get; set; } + public global::G.NullableRepositoryWebhooksMergeCommitTitle? Type1367 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoSquashMergeCommitTitle? Type1368 { get; set; } + public global::G.NullableRepositoryWebhooksMergeCommitMessage? Type1368 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseRepoVisibility? Type1369 { get; set; } + public global::G.WebhooksMilestone3? Type1369 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseUser? Type1370 { get; set; } + public global::G.WebhooksMilestone3Creator? Type1370 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5BaseUserType? Type1371 { get; set; } + public global::G.WebhooksMilestone3CreatorType? Type1371 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Head? Type1372 { get; set; } + public global::G.WebhooksMilestone3State? Type1372 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepo? Type1373 { get; set; } + public global::G.WebhooksMembership? Type1373 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoLicense? Type1374 { get; set; } + public global::G.WebhooksMembershipUser? Type1374 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoMergeCommitMessage? Type1375 { get; set; } + public global::G.WebhooksMembershipUserType? Type1375 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoMergeCommitTitle? Type1376 { get; set; } + public global::G.PersonalAccessTokenRequest? Type1376 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoOwner? Type1377 { get; set; } + public global::G.PersonalAccessTokenRequestPermissionsAdded? Type1377 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoOwnerType? Type1378 { get; set; } + public global::G.PersonalAccessTokenRequestPermissionsUpgraded? Type1378 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoPermissions? Type1379 { get; set; } + public global::G.PersonalAccessTokenRequestPermissionsResult? Type1379 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoSquashMergeCommitMessage? Type1380 { get; set; } + public global::G.PersonalAccessTokenRequestRepositorySelection? Type1380 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoSquashMergeCommitTitle? Type1381 { get; set; } + public global::System.Collections.Generic.IList? Type1381 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadRepoVisibility? Type1382 { get; set; } + public global::G.PersonalAccessTokenRequestRepositorie? Type1382 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadUser? Type1383 { get; set; } + public global::G.WebhooksProjectCard? Type1383 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5HeadUserType? Type1384 { get; set; } + public global::G.WebhooksProjectCardCreator? Type1384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1385 { get; set; } + public global::G.WebhooksProjectCardCreatorType? Type1385 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Label? Type1386 { get; set; } + public global::G.WebhooksProject? Type1386 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5MergedBy? Type1387 { get; set; } + public global::G.WebhooksProjectCreator? Type1387 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5MergedByType? Type1388 { get; set; } + public global::G.WebhooksProjectCreatorType? Type1388 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5Milestone? Type1389 { get; set; } + public global::G.WebhooksProjectState? Type1389 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5MilestoneCreator? Type1390 { get; set; } + public global::G.WebhooksProjectColumn? Type1390 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5MilestoneCreatorType? Type1391 { get; set; } + public global::G.ProjectsV2? Type1391 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5MilestoneState? Type1392 { get; set; } + public global::G.WebhooksProjectChanges? Type1392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1393 { get; set; } + public global::G.WebhooksProjectChangesArchivedAt? Type1393 { get; set; } /// /// /// - public global::G.OneOf? Type1394 { get; set; } + public global::G.ProjectsV2ItemContentType? Type1394 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant1? Type1395 { get; set; } + public global::G.ProjectsV2Item? Type1395 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant1Type? Type1396 { get; set; } + public global::G.ProjectsV2SingleSelectOption? Type1396 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant2? Type1397 { get; set; } + public global::G.ProjectsV2IterationSetting? Type1397 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant2Parent? Type1398 { get; set; } + public global::G.ProjectsV2StatusUpdate? Type1398 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? Type1399 { get; set; } + public global::G.ProjectsV2StatusUpdateStatus? Type1399 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedReviewerVariant2Privacy? Type1400 { get; set; } + public global::G.PullRequestWebhook? Type1400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1401 { get; set; } + public global::G.PullRequestWebhookVariant2? Type1401 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedTeam? Type1402 { get; set; } + public global::G.PullRequestWebhookVariant2MergeCommitMessage? Type1402 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedTeamParent? Type1403 { get; set; } + public global::G.PullRequestWebhookVariant2MergeCommitTitle? Type1403 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedTeamParentPrivacy? Type1404 { get; set; } + public global::G.PullRequestWebhookVariant2SquashMergeCommitMessage? Type1404 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5RequestedTeamPrivacy? Type1405 { get; set; } + public global::G.PullRequestWebhookVariant2SquashMergeCommitTitle? Type1405 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5State? Type1406 { get; set; } + public global::G.WebhooksPullRequest5? Type1406 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5User? Type1407 { get; set; } + public global::G.WebhooksPullRequest5Links? Type1407 { get; set; } /// /// /// - public global::G.WebhooksPullRequest5UserType? Type1408 { get; set; } + public global::G.WebhooksPullRequest5LinksComments? Type1408 { get; set; } /// /// /// - public global::G.WebhooksReviewComment? Type1409 { get; set; } + public global::G.WebhooksPullRequest5LinksCommits? Type1409 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentLinks? Type1410 { get; set; } + public global::G.WebhooksPullRequest5LinksHtml? Type1410 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentLinksHtml? Type1411 { get; set; } + public global::G.WebhooksPullRequest5LinksIssue? Type1411 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentLinksPullRequest? Type1412 { get; set; } + public global::G.WebhooksPullRequest5LinksReviewComment? Type1412 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentLinksSelf? Type1413 { get; set; } + public global::G.WebhooksPullRequest5LinksReviewComments? Type1413 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentAuthorAssociation? Type1414 { get; set; } + public global::G.WebhooksPullRequest5LinksSelf? Type1414 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentReactions? Type1415 { get; set; } + public global::G.WebhooksPullRequest5LinksStatuses? Type1415 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentSide? Type1416 { get; set; } + public global::G.WebhooksPullRequest5ActiveLockReason? Type1416 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentStartSide? Type1417 { get; set; } + public global::G.WebhooksPullRequest5Assignee? Type1417 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentSubjectType? Type1418 { get; set; } + public global::G.WebhooksPullRequest5AssigneeType? Type1418 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentUser? Type1419 { get; set; } + public global::System.Collections.Generic.IList? Type1419 { get; set; } /// /// /// - public global::G.WebhooksReviewCommentUserType? Type1420 { get; set; } + public global::G.WebhooksPullRequest5Assignee2? Type1420 { get; set; } /// /// /// - public global::G.WebhooksReview? Type1421 { get; set; } + public global::G.WebhooksPullRequest5AssigneeType2? Type1421 { get; set; } /// /// /// - public global::G.WebhooksReviewLinks? Type1422 { get; set; } + public global::G.WebhooksPullRequest5AuthorAssociation? Type1422 { get; set; } /// /// /// - public global::G.WebhooksReviewLinksHtml? Type1423 { get; set; } + public global::G.WebhooksPullRequest5AutoMerge? Type1423 { get; set; } /// /// /// - public global::G.WebhooksReviewLinksPullRequest? Type1424 { get; set; } + public global::G.WebhooksPullRequest5AutoMergeEnabledBy? Type1424 { get; set; } /// /// /// - public global::G.WebhooksReviewAuthorAssociation? Type1425 { get; set; } + public global::G.WebhooksPullRequest5AutoMergeEnabledByType? Type1425 { get; set; } /// /// /// - public global::G.WebhooksReviewUser? Type1426 { get; set; } + public global::G.WebhooksPullRequest5AutoMergeMergeMethod? Type1426 { get; set; } /// /// /// - public global::G.WebhooksReviewUserType? Type1427 { get; set; } + public global::G.WebhooksPullRequest5Base? Type1427 { get; set; } /// /// /// - public global::G.WebhooksRelease? Type1428 { get; set; } + public global::G.WebhooksPullRequest5BaseRepo? Type1428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1429 { get; set; } + public global::G.OneOf? Type1429 { get; set; } /// /// /// - public global::G.WebhooksReleaseAsset? Type1430 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoLicense? Type1430 { get; set; } /// /// /// - public global::G.WebhooksReleaseAssetState? Type1431 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoMergeCommitMessage? Type1431 { get; set; } /// /// /// - public global::G.WebhooksReleaseAssetUploader? Type1432 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoMergeCommitTitle? Type1432 { get; set; } /// /// /// - public global::G.WebhooksReleaseAssetUploaderType? Type1433 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoOwner? Type1433 { get; set; } /// /// /// - public global::G.WebhooksReleaseAuthor? Type1434 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoOwnerType? Type1434 { get; set; } /// /// /// - public global::G.WebhooksReleaseAuthorType? Type1435 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoPermissions? Type1435 { get; set; } /// /// /// - public global::G.WebhooksReleaseReactions? Type1436 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoSquashMergeCommitMessage? Type1436 { get; set; } /// /// /// - public global::G.WebhooksRelease1? Type1437 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoSquashMergeCommitTitle? Type1437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1438 { get; set; } + public global::G.WebhooksPullRequest5BaseRepoVisibility? Type1438 { get; set; } /// /// /// - public global::G.WebhooksRelease1Asset? Type1439 { get; set; } + public global::G.WebhooksPullRequest5BaseUser? Type1439 { get; set; } /// /// /// - public global::G.WebhooksRelease1AssetState? Type1440 { get; set; } + public global::G.WebhooksPullRequest5BaseUserType? Type1440 { get; set; } /// /// /// - public global::G.WebhooksRelease1AssetUploader? Type1441 { get; set; } + public global::G.WebhooksPullRequest5Head? Type1441 { get; set; } /// /// /// - public global::G.WebhooksRelease1AssetUploaderType? Type1442 { get; set; } + public global::G.WebhooksPullRequest5HeadRepo? Type1442 { get; set; } /// /// /// - public global::G.WebhooksRelease1Author? Type1443 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoLicense? Type1443 { get; set; } /// /// /// - public global::G.WebhooksRelease1AuthorType? Type1444 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoMergeCommitMessage? Type1444 { get; set; } /// /// /// - public global::G.WebhooksRelease1Reactions? Type1445 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoMergeCommitTitle? Type1445 { get; set; } /// /// /// - public global::G.WebhooksAlert? Type1446 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoOwner? Type1446 { get; set; } /// /// /// - public global::G.WebhooksAlertDismisser? Type1447 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoOwnerType? Type1447 { get; set; } /// /// /// - public global::G.WebhooksAlertDismisserType? Type1448 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoPermissions? Type1448 { get; set; } /// /// /// - public global::G.WebhooksAlertState? Type1449 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoSquashMergeCommitMessage? Type1449 { get; set; } /// /// /// - public global::G.SecretScanningAlertResolutionWebhook? Type1450 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoSquashMergeCommitTitle? Type1450 { get; set; } /// /// /// - public global::G.SecretScanningAlertWebhook? Type1451 { get; set; } + public global::G.WebhooksPullRequest5HeadRepoVisibility? Type1451 { get; set; } /// /// /// - public global::G.SecretScanningAlertWebhookValidity? Type1452 { get; set; } + public global::G.WebhooksPullRequest5HeadUser? Type1452 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisory? Type1453 { get; set; } + public global::G.WebhooksPullRequest5HeadUserType? Type1453 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryCvss? Type1454 { get; set; } + public global::System.Collections.Generic.IList? Type1454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1455 { get; set; } + public global::G.WebhooksPullRequest5Label? Type1455 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryCwe? Type1456 { get; set; } + public global::G.WebhooksPullRequest5MergedBy? Type1456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1457 { get; set; } + public global::G.WebhooksPullRequest5MergedByType? Type1457 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryIdentifier? Type1458 { get; set; } + public global::G.WebhooksPullRequest5Milestone? Type1458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1459 { get; set; } + public global::G.WebhooksPullRequest5MilestoneCreator? Type1459 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryReference? Type1460 { get; set; } + public global::G.WebhooksPullRequest5MilestoneCreatorType? Type1460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1461 { get; set; } + public global::G.WebhooksPullRequest5MilestoneState? Type1461 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryVulnerabilitie? Type1462 { get; set; } + public global::System.Collections.Generic.IList>? Type1462 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type1463 { get; set; } + public global::G.OneOf? Type1463 { get; set; } /// /// /// - public global::G.WebhooksSecurityAdvisoryVulnerabilitiePackage? Type1464 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant1? Type1464 { get; set; } /// /// /// - public global::G.WebhooksSponsorship? Type1465 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant1Type? Type1465 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipMaintainer? Type1466 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant2? Type1466 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipSponsor? Type1467 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant2Parent? Type1467 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipSponsorType? Type1468 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? Type1468 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipSponsorable? Type1469 { get; set; } + public global::G.WebhooksPullRequest5RequestedReviewerVariant2Privacy? Type1469 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipSponsorableType? Type1470 { get; set; } + public global::System.Collections.Generic.IList? Type1470 { get; set; } /// /// /// - public global::G.WebhooksSponsorshipTier? Type1471 { get; set; } + public global::G.WebhooksPullRequest5RequestedTeam? Type1471 { get; set; } /// /// /// - public global::G.WebhooksChanges8? Type1472 { get; set; } + public global::G.WebhooksPullRequest5RequestedTeamParent? Type1472 { get; set; } /// /// /// - public global::G.WebhooksChanges8Tier? Type1473 { get; set; } + public global::G.WebhooksPullRequest5RequestedTeamParentPrivacy? Type1473 { get; set; } /// /// /// - public global::G.WebhooksChanges8TierFrom? Type1474 { get; set; } + public global::G.WebhooksPullRequest5RequestedTeamPrivacy? Type1474 { get; set; } /// /// /// - public global::G.WebhooksTeam1? Type1475 { get; set; } + public global::G.WebhooksPullRequest5State? Type1475 { get; set; } /// /// /// - public global::G.WebhooksTeam1Parent? Type1476 { get; set; } + public global::G.WebhooksPullRequest5User? Type1476 { get; set; } /// /// /// - public global::G.WebhooksTeam1ParentPrivacy? Type1477 { get; set; } + public global::G.WebhooksPullRequest5UserType? Type1477 { get; set; } /// /// /// - public global::G.WebhooksTeam1ParentNotificationSetting? Type1478 { get; set; } + public global::G.WebhooksReviewComment? Type1478 { get; set; } /// /// /// - public global::G.WebhooksTeam1Privacy? Type1479 { get; set; } + public global::G.WebhooksReviewCommentLinks? Type1479 { get; set; } /// /// /// - public global::G.WebhooksTeam1NotificationSetting? Type1480 { get; set; } + public global::G.WebhooksReviewCommentLinksHtml? Type1480 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionConfigurationDisabled? Type1481 { get; set; } + public global::G.WebhooksReviewCommentLinksPullRequest? Type1481 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionConfigurationDisabledAction? Type1482 { get; set; } + public global::G.WebhooksReviewCommentLinksSelf? Type1482 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionConfigurationEnabled? Type1483 { get; set; } + public global::G.WebhooksReviewCommentAuthorAssociation? Type1483 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionConfigurationEnabledAction? Type1484 { get; set; } + public global::G.WebhooksReviewCommentReactions? Type1484 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleCreated? Type1485 { get; set; } + public global::G.WebhooksReviewCommentSide? Type1485 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleCreatedAction? Type1486 { get; set; } + public global::G.WebhooksReviewCommentStartSide? Type1486 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleDeleted? Type1487 { get; set; } + public global::G.WebhooksReviewCommentSubjectType? Type1487 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleDeletedAction? Type1488 { get; set; } + public global::G.WebhooksReviewCommentUser? Type1488 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEdited? Type1489 { get; set; } + public global::G.WebhooksReviewCommentUserType? Type1489 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedAction? Type1490 { get; set; } + public global::G.WebhooksReview? Type1490 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChanges? Type1491 { get; set; } + public global::G.WebhooksReviewLinks? Type1491 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesAdminEnforced? Type1492 { get; set; } + public global::G.WebhooksReviewLinksHtml? Type1492 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames? Type1493 { get; set; } + public global::G.WebhooksReviewLinksPullRequest? Type1493 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedActorsOnly? Type1494 { get; set; } + public global::G.WebhooksReviewAuthorAssociation? Type1494 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedDismissalActorsOnly? Type1495 { get; set; } + public global::G.WebhooksReviewUser? Type1495 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? Type1496 { get; set; } + public global::G.WebhooksReviewUserType? Type1496 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom? Type1497 { get; set; } + public global::G.WebhooksRelease? Type1497 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks? Type1498 { get; set; } + public global::System.Collections.Generic.IList? Type1498 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevel? Type1499 { get; set; } + public global::G.WebhooksReleaseAsset? Type1499 { get; set; } /// /// /// - public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFrom? Type1500 { get; set; } + public global::G.WebhooksReleaseAssetState? Type1500 { get; set; } /// /// /// - public global::G.WebhookCheckRunCompleted? Type1501 { get; set; } + public global::G.WebhooksReleaseAssetUploader? Type1501 { get; set; } /// /// /// - public global::G.WebhookCheckRunCompletedAction? Type1502 { get; set; } + public global::G.WebhooksReleaseAssetUploaderType? Type1502 { get; set; } /// /// /// - public global::G.WebhookCheckRunCompletedFormEncoded? Type1503 { get; set; } + public global::G.WebhooksReleaseAuthor? Type1503 { get; set; } /// /// /// - public global::G.WebhookCheckRunCreated? Type1504 { get; set; } + public global::G.WebhooksReleaseAuthorType? Type1504 { get; set; } /// /// /// - public global::G.WebhookCheckRunCreatedAction? Type1505 { get; set; } + public global::G.WebhooksReleaseReactions? Type1505 { get; set; } /// /// /// - public global::G.WebhookCheckRunCreatedFormEncoded? Type1506 { get; set; } + public global::G.WebhooksRelease1? Type1506 { get; set; } /// /// /// - public global::G.WebhookCheckRunRequestedAction? Type1507 { get; set; } + public global::System.Collections.Generic.IList? Type1507 { get; set; } /// /// /// - public global::G.WebhookCheckRunRequestedActionAction? Type1508 { get; set; } + public global::G.WebhooksRelease1Asset? Type1508 { get; set; } /// /// /// - public global::G.WebhookCheckRunRequestedActionRequestedAction? Type1509 { get; set; } + public global::G.WebhooksRelease1AssetState? Type1509 { get; set; } /// /// /// - public global::G.WebhookCheckRunRequestedActionFormEncoded? Type1510 { get; set; } + public global::G.WebhooksRelease1AssetUploader? Type1510 { get; set; } /// /// /// - public global::G.WebhookCheckRunRerequested? Type1511 { get; set; } + public global::G.WebhooksRelease1AssetUploaderType? Type1511 { get; set; } /// /// /// - public global::G.WebhookCheckRunRerequestedAction? Type1512 { get; set; } + public global::G.WebhooksRelease1Author? Type1512 { get; set; } /// /// /// - public global::G.WebhookCheckRunRerequestedFormEncoded? Type1513 { get; set; } + public global::G.WebhooksRelease1AuthorType? Type1513 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompleted? Type1514 { get; set; } + public global::G.WebhooksRelease1Reactions? Type1514 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedAction? Type1515 { get; set; } + public global::G.WebhooksAlert? Type1515 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuite? Type1516 { get; set; } + public global::G.WebhooksAlertDismisser? Type1516 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteApp? Type1517 { get; set; } + public global::G.WebhooksAlertDismisserType? Type1517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1518 { get; set; } + public global::G.WebhooksAlertState? Type1518 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppEvent? Type1519 { get; set; } + public global::G.SecretScanningAlertResolutionWebhook? Type1519 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppOwner? Type1520 { get; set; } + public global::G.SecretScanningAlertWebhook? Type1520 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppOwnerType? Type1521 { get; set; } + public global::G.SecretScanningAlertWebhookValidity? Type1521 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissions? Type1522 { get; set; } + public global::G.WebhooksSecurityAdvisory? Type1522 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsActions? Type1523 { get; set; } + public global::G.WebhooksSecurityAdvisoryCvss? Type1523 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsAdministration? Type1524 { get; set; } + public global::System.Collections.Generic.IList? Type1524 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsChecks? Type1525 { get; set; } + public global::G.WebhooksSecurityAdvisoryCwe? Type1525 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContentReferences? Type1526 { get; set; } + public global::System.Collections.Generic.IList? Type1526 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContents? Type1527 { get; set; } + public global::G.WebhooksSecurityAdvisoryIdentifier? Type1527 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDeployments? Type1528 { get; set; } + public global::System.Collections.Generic.IList? Type1528 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDiscussions? Type1529 { get; set; } + public global::G.WebhooksSecurityAdvisoryReference? Type1529 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEmails? Type1530 { get; set; } + public global::System.Collections.Generic.IList? Type1530 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEnvironments? Type1531 { get; set; } + public global::G.WebhooksSecurityAdvisoryVulnerabilitie? Type1531 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsIssues? Type1532 { get; set; } + public global::G.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type1532 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsKeys? Type1533 { get; set; } + public global::G.WebhooksSecurityAdvisoryVulnerabilitiePackage? Type1533 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMembers? Type1534 { get; set; } + public global::G.WebhooksSponsorship? Type1534 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMetadata? Type1535 { get; set; } + public global::G.WebhooksSponsorshipMaintainer? Type1535 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationAdministration? Type1536 { get; set; } + public global::G.WebhooksSponsorshipSponsor? Type1536 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationHooks? Type1537 { get; set; } + public global::G.WebhooksSponsorshipSponsorType? Type1537 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPackages? Type1538 { get; set; } + public global::G.WebhooksSponsorshipSponsorable? Type1538 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPlan? Type1539 { get; set; } + public global::G.WebhooksSponsorshipSponsorableType? Type1539 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationProjects? Type1540 { get; set; } + public global::G.WebhooksSponsorshipTier? Type1540 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSecrets? Type1541 { get; set; } + public global::G.WebhooksChanges8? Type1541 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1542 { get; set; } + public global::G.WebhooksChanges8Tier? Type1542 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1543 { get; set; } + public global::G.WebhooksChanges8TierFrom? Type1543 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPackages? Type1544 { get; set; } + public global::G.WebhooksTeam1? Type1544 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPages? Type1545 { get; set; } + public global::G.WebhooksTeam1Parent? Type1545 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPullRequests? Type1546 { get; set; } + public global::G.WebhooksTeam1ParentPrivacy? Type1546 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryHooks? Type1547 { get; set; } + public global::G.WebhooksTeam1ParentNotificationSetting? Type1547 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryProjects? Type1548 { get; set; } + public global::G.WebhooksTeam1Privacy? Type1548 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecretScanningAlerts? Type1549 { get; set; } + public global::G.WebhooksTeam1NotificationSetting? Type1549 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecrets? Type1550 { get; set; } + public global::G.WebhookBranchProtectionConfigurationDisabled? Type1550 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityEvents? Type1551 { get; set; } + public global::G.WebhookBranchProtectionConfigurationDisabledAction? Type1551 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityScanningAlert? Type1552 { get; set; } + public global::G.WebhookBranchProtectionConfigurationEnabled? Type1552 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSingleFile? Type1553 { get; set; } + public global::G.WebhookBranchProtectionConfigurationEnabledAction? Type1553 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsStatuses? Type1554 { get; set; } + public global::G.WebhookBranchProtectionRuleCreated? Type1554 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsTeamDiscussions? Type1555 { get; set; } + public global::G.WebhookBranchProtectionRuleCreatedAction? Type1555 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1556 { get; set; } + public global::G.WebhookBranchProtectionRuleDeleted? Type1556 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflows? Type1557 { get; set; } + public global::G.WebhookBranchProtectionRuleDeletedAction? Type1557 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteConclusion? Type1558 { get; set; } + public global::G.WebhookBranchProtectionRuleEdited? Type1558 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommit? Type1559 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedAction? Type1559 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommitAuthor? Type1560 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChanges? Type1560 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommitCommitter? Type1561 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesAdminEnforced? Type1561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1562 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames? Type1562 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequest? Type1563 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedActorsOnly? Type1563 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestBase? Type1564 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesAuthorizedDismissalActorsOnly? Type1564 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo? Type1565 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? Type1565 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestHead? Type1566 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom? Type1566 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo? Type1567 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? Type1567 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteCompletedCheckSuiteStatus? Type1568 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? Type1568 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequested? Type1569 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? Type1569 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedAction? Type1570 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? Type1570 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuite? Type1571 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? Type1571 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteApp? Type1572 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? Type1572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1573 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks? Type1573 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppEvent? Type1574 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevel? Type1574 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppOwner? Type1575 { get; set; } + public global::G.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFrom? Type1575 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppOwnerType? Type1576 { get; set; } + public global::G.WebhookCheckRunCompleted? Type1576 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissions? Type1577 { get; set; } + public global::G.WebhookCheckRunCompletedAction? Type1577 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsActions? Type1578 { get; set; } + public global::G.WebhookCheckRunCompletedFormEncoded? Type1578 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsAdministration? Type1579 { get; set; } + public global::G.WebhookCheckRunCreated? Type1579 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsChecks? Type1580 { get; set; } + public global::G.WebhookCheckRunCreatedAction? Type1580 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContentReferences? Type1581 { get; set; } + public global::G.WebhookCheckRunCreatedFormEncoded? Type1581 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContents? Type1582 { get; set; } + public global::G.WebhookCheckRunRequestedAction? Type1582 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDeployments? Type1583 { get; set; } + public global::G.WebhookCheckRunRequestedActionAction? Type1583 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDiscussions? Type1584 { get; set; } + public global::G.WebhookCheckRunRequestedActionRequestedAction? Type1584 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEmails? Type1585 { get; set; } + public global::G.WebhookCheckRunRequestedActionFormEncoded? Type1585 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEnvironments? Type1586 { get; set; } + public global::G.WebhookCheckRunRerequested? Type1586 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsIssues? Type1587 { get; set; } + public global::G.WebhookCheckRunRerequestedAction? Type1587 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsKeys? Type1588 { get; set; } + public global::G.WebhookCheckRunRerequestedFormEncoded? Type1588 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMembers? Type1589 { get; set; } + public global::G.WebhookCheckSuiteCompleted? Type1589 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMetadata? Type1590 { get; set; } + public global::G.WebhookCheckSuiteCompletedAction? Type1590 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1591 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuite? Type1591 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationHooks? Type1592 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteApp? Type1592 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPackages? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPlan? Type1594 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppEvent? Type1594 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationProjects? Type1595 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppOwner? Type1595 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1596 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppOwnerType? Type1596 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1597 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissions? Type1597 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1598 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsActions? Type1598 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPackages? Type1599 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsAdministration? Type1599 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPages? Type1600 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsChecks? Type1600 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPullRequests? Type1601 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContentReferences? Type1601 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryHooks? Type1602 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContents? Type1602 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryProjects? Type1603 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDeployments? Type1603 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1604 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDiscussions? Type1604 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecrets? Type1605 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEmails? Type1605 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityEvents? Type1606 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEnvironments? Type1606 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1607 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsIssues? Type1607 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSingleFile? Type1608 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsKeys? Type1608 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsStatuses? Type1609 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMembers? Type1609 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsTeamDiscussions? Type1610 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMetadata? Type1610 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1611 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationAdministration? Type1611 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflows? Type1612 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationHooks? Type1612 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteConclusion? Type1613 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPackages? Type1613 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommit? Type1614 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPlan? Type1614 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommitAuthor? Type1615 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationProjects? Type1615 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommitCommitter? Type1616 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSecrets? Type1616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1617 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1617 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequest? Type1618 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1618 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestBase? Type1619 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPackages? Type1619 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo? Type1620 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPages? Type1620 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestHead? Type1621 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPullRequests? Type1621 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo? Type1622 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryHooks? Type1622 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRequestedCheckSuiteStatus? Type1623 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryProjects? Type1623 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequested? Type1624 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecretScanningAlerts? Type1624 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedAction? Type1625 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecrets? Type1625 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuite? Type1626 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityEvents? Type1626 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteApp? Type1627 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityScanningAlert? Type1627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1628 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSingleFile? Type1628 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppEvent? Type1629 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsStatuses? Type1629 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppOwner? Type1630 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsTeamDiscussions? Type1630 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerType? Type1631 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1631 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissions? Type1632 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflows? Type1632 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsActions? Type1633 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteConclusion? Type1633 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsAdministration? Type1634 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommit? Type1634 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsChecks? Type1635 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommitAuthor? Type1635 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContentReferences? Type1636 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteHeadCommitCommitter? Type1636 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContents? Type1637 { get; set; } + public global::System.Collections.Generic.IList? Type1637 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDeployments? Type1638 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequest? Type1638 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDiscussions? Type1639 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestBase? Type1639 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEmails? Type1640 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo? Type1640 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEnvironments? Type1641 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestHead? Type1641 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsIssues? Type1642 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo? Type1642 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsKeys? Type1643 { get; set; } + public global::G.WebhookCheckSuiteCompletedCheckSuiteStatus? Type1643 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMembers? Type1644 { get; set; } + public global::G.WebhookCheckSuiteRequested? Type1644 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMetadata? Type1645 { get; set; } + public global::G.WebhookCheckSuiteRequestedAction? Type1645 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1646 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuite? Type1646 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationHooks? Type1647 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteApp? Type1647 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPackages? Type1648 { get; set; } + public global::System.Collections.Generic.IList? Type1648 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPlan? Type1649 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppEvent? Type1649 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationProjects? Type1650 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppOwner? Type1650 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1651 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppOwnerType? Type1651 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1652 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissions? Type1652 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1653 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsActions? Type1653 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPackages? Type1654 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsAdministration? Type1654 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPages? Type1655 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsChecks? Type1655 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPullRequests? Type1656 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContentReferences? Type1656 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryHooks? Type1657 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContents? Type1657 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryProjects? Type1658 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDeployments? Type1658 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1659 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDiscussions? Type1659 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecrets? Type1660 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEmails? Type1660 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityEvents? Type1661 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEnvironments? Type1661 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1662 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsIssues? Type1662 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSingleFile? Type1663 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsKeys? Type1663 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsStatuses? Type1664 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMembers? Type1664 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsTeamDiscussions? Type1665 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMetadata? Type1665 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1666 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1666 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflows? Type1667 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationHooks? Type1667 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteConclusion? Type1668 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPackages? Type1668 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommit? Type1669 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPlan? Type1669 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitAuthor? Type1670 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationProjects? Type1670 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitCommitter? Type1671 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1672 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1672 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequest? Type1673 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1673 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase? Type1674 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPackages? Type1674 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo? Type1675 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPages? Type1675 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead? Type1676 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPullRequests? Type1676 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo? Type1677 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryHooks? Type1677 { get; set; } /// /// /// - public global::G.WebhookCheckSuiteRerequestedCheckSuiteStatus? Type1678 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryProjects? Type1678 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranch? Type1679 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1679 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAction? Type1680 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecrets? Type1680 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlert? Type1681 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityEvents? Type1681 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedBy? Type1682 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1682 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByType? Type1683 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSingleFile? Type1683 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReason? Type1684 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsStatuses? Type1684 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance? Type1685 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsTeamDiscussions? Type1685 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceLocation? Type1686 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1686 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceMessage? Type1687 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflows? Type1687 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceState? Type1688 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteConclusion? Type1688 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertRule? Type1689 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommit? Type1689 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverity? Type1690 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommitAuthor? Type1690 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertState? Type1691 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteHeadCommitCommitter? Type1691 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertAppearedInBranchAlertTool? Type1692 { get; set; } + public global::System.Collections.Generic.IList? Type1692 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUser? Type1693 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequest? Type1693 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAction? Type1694 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestBase? Type1694 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlert? Type1695 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo? Type1695 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedBy? Type1696 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestHead? Type1696 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedByType? Type1697 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo? Type1697 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedReason? Type1698 { get; set; } + public global::G.WebhookCheckSuiteRequestedCheckSuiteStatus? Type1698 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance? Type1699 { get; set; } + public global::G.WebhookCheckSuiteRerequested? Type1699 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceLocation? Type1700 { get; set; } + public global::G.WebhookCheckSuiteRerequestedAction? Type1700 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceMessage? Type1701 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuite? Type1701 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceState? Type1702 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteApp? Type1702 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertRule? Type1703 { get; set; } + public global::System.Collections.Generic.IList? Type1703 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertRuleSeverity? Type1704 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppEvent? Type1704 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertState? Type1705 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppOwner? Type1705 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertClosedByUserAlertTool? Type1706 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerType? Type1706 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreated? Type1707 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissions? Type1707 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAction? Type1708 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsActions? Type1708 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlert? Type1709 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsAdministration? Type1709 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstance? Type1710 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsChecks? Type1710 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceLocation? Type1711 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContentReferences? Type1711 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceMessage? Type1712 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContents? Type1712 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceState? Type1713 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDeployments? Type1713 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertRule? Type1714 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDiscussions? Type1714 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertRuleSeverity? Type1715 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEmails? Type1715 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertState? Type1716 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEnvironments? Type1716 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertCreatedAlertTool? Type1717 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsIssues? Type1717 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixed? Type1718 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsKeys? Type1718 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAction? Type1719 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMembers? Type1719 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlert? Type1720 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMetadata? Type1720 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertDismissedBy? Type1721 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1721 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertDismissedByType? Type1722 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationHooks? Type1722 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertDismissedReason? Type1723 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPackages? Type1723 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstance? Type1724 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPlan? Type1724 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceLocation? Type1725 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationProjects? Type1725 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceMessage? Type1726 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1726 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceState? Type1727 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1727 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertRule? Type1728 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1728 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertRuleSeverity? Type1729 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPackages? Type1729 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertState? Type1730 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPages? Type1730 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertFixedAlertTool? Type1731 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPullRequests? Type1731 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopened? Type1732 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryHooks? Type1732 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAction? Type1733 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryProjects? Type1733 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlert? Type1734 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1734 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstance? Type1735 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecrets? Type1735 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceLocation? Type1736 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityEvents? Type1736 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceMessage? Type1737 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1737 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceState? Type1738 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSingleFile? Type1738 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertRule? Type1739 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsStatuses? Type1739 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertRuleSeverity? Type1740 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsTeamDiscussions? Type1740 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertState? Type1741 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1741 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedAlertTool? Type1742 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflows? Type1742 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUser? Type1743 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteConclusion? Type1743 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAction? Type1744 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommit? Type1744 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlert? Type1745 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitAuthor? Type1745 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance? Type1746 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitCommitter? Type1746 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceLocation? Type1747 { get; set; } + public global::System.Collections.Generic.IList? Type1747 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceMessage? Type1748 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequest? Type1748 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceState? Type1749 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase? Type1749 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertRule? Type1750 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo? Type1750 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverity? Type1751 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead? Type1751 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertState? Type1752 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo? Type1752 { get; set; } /// /// /// - public global::G.WebhookCodeScanningAlertReopenedByUserAlertTool? Type1753 { get; set; } + public global::G.WebhookCheckSuiteRerequestedCheckSuiteStatus? Type1753 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreated? Type1754 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranch? Type1754 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedAction? Type1755 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAction? Type1755 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedComment? Type1756 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlert? Type1756 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedCommentAuthorAssociation? Type1757 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedBy? Type1757 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedCommentReactions? Type1758 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByType? Type1758 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedCommentUser? Type1759 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReason? Type1759 { get; set; } /// /// /// - public global::G.WebhookCommitCommentCreatedCommentUserType? Type1760 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance? Type1760 { get; set; } /// /// /// - public global::G.WebhookCreate? Type1761 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceLocation? Type1761 { get; set; } /// /// /// - public global::G.WebhookCreateRefType? Type1762 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceMessage? Type1762 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyCreated? Type1763 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceState? Type1763 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyCreatedAction? Type1764 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertRule? Type1764 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyDeleted? Type1765 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverity? Type1765 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyDeletedAction? Type1766 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertState? Type1766 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyDeletedDefinition? Type1767 { get; set; } + public global::G.WebhookCodeScanningAlertAppearedInBranchAlertTool? Type1767 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyUpdated? Type1768 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUser? Type1768 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyUpdatedAction? Type1769 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAction? Type1769 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyValuesUpdated? Type1770 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlert? Type1770 { get; set; } /// /// /// - public global::G.WebhookCustomPropertyValuesUpdatedAction? Type1771 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedBy? Type1771 { get; set; } /// /// /// - public global::G.WebhookDelete? Type1772 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedByType? Type1772 { get; set; } /// /// /// - public global::G.WebhookDeleteRefType? Type1773 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertDismissedReason? Type1773 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertAutoDismissed? Type1774 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance? Type1774 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertAutoDismissedAction? Type1775 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceLocation? Type1775 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertAutoReopened? Type1776 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceMessage? Type1776 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertAutoReopenedAction? Type1777 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceState? Type1777 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertCreated? Type1778 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertRule? Type1778 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertCreatedAction? Type1779 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertRuleSeverity? Type1779 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertDismissed? Type1780 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertState? Type1780 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertDismissedAction? Type1781 { get; set; } + public global::G.WebhookCodeScanningAlertClosedByUserAlertTool? Type1781 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertFixed? Type1782 { get; set; } + public global::G.WebhookCodeScanningAlertCreated? Type1782 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertFixedAction? Type1783 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAction? Type1783 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertReintroduced? Type1784 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlert? Type1784 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertReintroducedAction? Type1785 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstance? Type1785 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertReopened? Type1786 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceLocation? Type1786 { get; set; } /// /// /// - public global::G.WebhookDependabotAlertReopenedAction? Type1787 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceMessage? Type1787 { get; set; } /// /// /// - public global::G.WebhookDeployKeyCreated? Type1788 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceState? Type1788 { get; set; } /// /// /// - public global::G.WebhookDeployKeyCreatedAction? Type1789 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertRule? Type1789 { get; set; } /// /// /// - public global::G.WebhookDeployKeyDeleted? Type1790 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertRuleSeverity? Type1790 { get; set; } /// /// /// - public global::G.WebhookDeployKeyDeletedAction? Type1791 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertState? Type1791 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreated? Type1792 { get; set; } + public global::G.WebhookCodeScanningAlertCreatedAlertTool? Type1792 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedAction? Type1793 { get; set; } + public global::G.WebhookCodeScanningAlertFixed? Type1793 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeployment? Type1794 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAction? Type1794 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentCreator? Type1795 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlert? Type1795 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentCreatorType? Type1796 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertDismissedBy? Type1796 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp? Type1797 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertDismissedByType? Type1797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1798 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertDismissedReason? Type1798 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? Type1799 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstance? Type1799 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwner? Type1800 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceLocation? Type1800 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerType? Type1801 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceMessage? Type1801 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissions? Type1802 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertMostRecentInstanceState? Type1802 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1803 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertRule? Type1803 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1804 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertRuleSeverity? Type1804 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1805 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertState? Type1805 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1806 { get; set; } + public global::G.WebhookCodeScanningAlertFixedAlertTool? Type1806 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1807 { get; set; } + public global::G.WebhookCodeScanningAlertReopened? Type1807 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1808 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAction? Type1808 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1809 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlert? Type1809 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1810 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstance? Type1810 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1811 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceLocation? Type1811 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1812 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceMessage? Type1812 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1813 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceState? Type1813 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1814 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertRule? Type1814 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1815 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertRuleSeverity? Type1815 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1816 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertState? Type1816 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1817 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedAlertTool? Type1817 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1818 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUser? Type1818 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1819 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAction? Type1819 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1820 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlert? Type1820 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1821 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance? Type1821 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1822 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceLocation? Type1822 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1823 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceMessage? Type1823 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1824 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceState? Type1824 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1825 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertRule? Type1825 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1826 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverity? Type1826 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1827 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertState? Type1827 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1828 { get; set; } + public global::G.WebhookCodeScanningAlertReopenedByUserAlertTool? Type1828 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1829 { get; set; } + public global::G.WebhookCommitCommentCreated? Type1829 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1830 { get; set; } + public global::G.WebhookCommitCommentCreatedAction? Type1830 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1831 { get; set; } + public global::G.WebhookCommitCommentCreatedComment? Type1831 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1832 { get; set; } + public global::G.WebhookCommitCommentCreatedCommentAuthorAssociation? Type1832 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1833 { get; set; } + public global::G.WebhookCommitCommentCreatedCommentReactions? Type1833 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1834 { get; set; } + public global::G.WebhookCommitCommentCreatedCommentUser? Type1834 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1835 { get; set; } + public global::G.WebhookCommitCommentCreatedCommentUserType? Type1835 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1836 { get; set; } + public global::G.WebhookCreate? Type1836 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1837 { get; set; } + public global::G.WebhookCreateRefType? Type1837 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRun? Type1838 { get; set; } + public global::G.WebhookCustomPropertyCreated? Type1838 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunActor? Type1839 { get; set; } + public global::G.WebhookCustomPropertyCreatedAction? Type1839 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunActorType? Type1840 { get; set; } + public global::G.WebhookCustomPropertyDeleted? Type1840 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunConclusion? Type1841 { get; set; } + public global::G.WebhookCustomPropertyDeletedAction? Type1841 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunHeadRepository? Type1842 { get; set; } + public global::G.WebhookCustomPropertyDeletedDefinition? Type1842 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunHeadRepositoryOwner? Type1843 { get; set; } + public global::G.WebhookCustomPropertyUpdated? Type1843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1844 { get; set; } + public global::G.WebhookCustomPropertyUpdatedAction? Type1844 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunPullRequest? Type1845 { get; set; } + public global::G.WebhookCustomPropertyValuesUpdated? Type1845 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestBase? Type1846 { get; set; } + public global::G.WebhookCustomPropertyValuesUpdatedAction? Type1846 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo? Type1847 { get; set; } + public global::G.WebhookDelete? Type1847 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestHead? Type1848 { get; set; } + public global::G.WebhookDeleteRefType? Type1848 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo? Type1849 { get; set; } + public global::G.WebhookDependabotAlertAutoDismissed? Type1849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1850 { get; set; } + public global::G.WebhookDependabotAlertAutoDismissedAction? Type1850 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow? Type1851 { get; set; } + public global::G.WebhookDependabotAlertAutoReopened? Type1851 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunRepository? Type1852 { get; set; } + public global::G.WebhookDependabotAlertAutoReopenedAction? Type1852 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunRepositoryOwner? Type1853 { get; set; } + public global::G.WebhookDependabotAlertCreated? Type1853 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunStatus? Type1854 { get; set; } + public global::G.WebhookDependabotAlertCreatedAction? Type1854 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunTriggeringActor? Type1855 { get; set; } + public global::G.WebhookDependabotAlertDismissed? Type1855 { get; set; } /// /// /// - public global::G.WebhookDeploymentCreatedWorkflowRunTriggeringActorType? Type1856 { get; set; } + public global::G.WebhookDependabotAlertDismissedAction? Type1856 { get; set; } /// /// /// - public global::G.WebhookDeploymentProtectionRuleRequested? Type1857 { get; set; } + public global::G.WebhookDependabotAlertFixed? Type1857 { get; set; } /// /// /// - public global::G.WebhookDeploymentProtectionRuleRequestedAction? Type1858 { get; set; } + public global::G.WebhookDependabotAlertFixedAction? Type1858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1859 { get; set; } + public global::G.WebhookDependabotAlertReintroduced? Type1859 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApproved? Type1860 { get; set; } + public global::G.WebhookDependabotAlertReintroducedAction? Type1860 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedAction? Type1861 { get; set; } + public global::G.WebhookDependabotAlertReopened? Type1861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1862 { get; set; } + public global::G.WebhookDependabotAlertReopenedAction? Type1862 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowJobRun? Type1863 { get; set; } + public global::G.WebhookDeployKeyCreated? Type1863 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRun? Type1864 { get; set; } + public global::G.WebhookDeployKeyCreatedAction? Type1864 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunActor? Type1865 { get; set; } + public global::G.WebhookDeployKeyDeleted? Type1865 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunActorType? Type1866 { get; set; } + public global::G.WebhookDeployKeyDeletedAction? Type1866 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunConclusion? Type1867 { get; set; } + public global::G.WebhookDeploymentCreated? Type1867 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunHeadRepository? Type1868 { get; set; } + public global::G.WebhookDeploymentCreatedAction? Type1868 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunHeadRepositoryOwner? Type1869 { get; set; } + public global::G.WebhookDeploymentCreatedDeployment? Type1869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1870 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentCreator? Type1870 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequest? Type1871 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentCreatorType? Type1871 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase? Type1872 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp? Type1872 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo? Type1873 { get; set; } + public global::System.Collections.Generic.IList? Type1873 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead? Type1874 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? Type1874 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo? Type1875 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwner? Type1875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1876 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerType? Type1876 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow? Type1877 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissions? Type1877 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunRepository? Type1878 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1878 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunRepositoryOwner? Type1879 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1879 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunStatus? Type1880 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1880 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActor? Type1881 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1881 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorType? Type1882 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1882 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejected? Type1883 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1883 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedAction? Type1884 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1885 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1885 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowJobRun? Type1886 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1886 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRun? Type1887 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1887 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunActor? Type1888 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1888 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunActorType? Type1889 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1889 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunConclusion? Type1890 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1890 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunHeadRepository? Type1891 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1891 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunHeadRepositoryOwner? Type1892 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1893 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1893 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequest? Type1894 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1894 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase? Type1895 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1895 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo? Type1896 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1896 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead? Type1897 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1897 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo? Type1898 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1899 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1899 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow? Type1900 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1900 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunRepository? Type1901 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1901 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunRepositoryOwner? Type1902 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1902 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunStatus? Type1903 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1903 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActor? Type1904 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1904 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorType? Type1905 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1905 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequested? Type1906 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1906 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedAction? Type1907 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1907 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1908 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1908 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedReviewer? Type1909 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1909 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedReviewerReviewer? Type1910 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1910 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedReviewerReviewerType? Type1911 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1911 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedReviewerType? Type1912 { get; set; } + public global::G.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1912 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowJobRun? Type1913 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRun? Type1913 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRun? Type1914 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunActor? Type1914 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunActor? Type1915 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunActorType? Type1915 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunActorType? Type1916 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunConclusion? Type1916 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunConclusion? Type1917 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunHeadRepository? Type1917 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunHeadRepository? Type1918 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunHeadRepositoryOwner? Type1918 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunHeadRepositoryOwner? Type1919 { get; set; } + public global::System.Collections.Generic.IList? Type1919 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1920 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunPullRequest? Type1920 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequest? Type1921 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestBase? Type1921 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase? Type1922 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo? Type1922 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo? Type1923 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestHead? Type1923 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead? Type1924 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo? Type1924 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo? Type1925 { get; set; } + public global::System.Collections.Generic.IList? Type1925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1926 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow? Type1926 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow? Type1927 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunRepository? Type1927 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunRepository? Type1928 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunRepositoryOwner? Type1928 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunRepositoryOwner? Type1929 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunStatus? Type1929 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunStatus? Type1930 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunTriggeringActor? Type1930 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActor? Type1931 { get; set; } + public global::G.WebhookDeploymentCreatedWorkflowRunTriggeringActorType? Type1931 { get; set; } /// /// /// - public global::G.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorType? Type1932 { get; set; } + public global::G.WebhookDeploymentProtectionRuleRequested? Type1932 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreated? Type1933 { get; set; } + public global::G.WebhookDeploymentProtectionRuleRequestedAction? Type1933 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedAction? Type1934 { get; set; } + public global::System.Collections.Generic.IList? Type1934 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedCheckRun? Type1935 { get; set; } + public global::G.WebhookDeploymentReviewApproved? Type1935 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedCheckRunConclusion? Type1936 { get; set; } + public global::G.WebhookDeploymentReviewApprovedAction? Type1936 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedCheckRunStatus? Type1937 { get; set; } + public global::System.Collections.Generic.IList? Type1937 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeployment? Type1938 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowJobRun? Type1938 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentCreator? Type1939 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRun? Type1939 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentCreatorType? Type1940 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunActor? Type1940 { get; set; } /// /// /// - public global::G.OneOf? Type1941 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunActorType? Type1941 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp? Type1942 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunConclusion? Type1942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1943 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunHeadRepository? Type1943 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? Type1944 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunHeadRepositoryOwner? Type1944 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwner? Type1945 { get; set; } + public global::System.Collections.Generic.IList? Type1945 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerType? Type1946 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequest? Type1946 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissions? Type1947 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase? Type1947 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1948 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo? Type1948 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1949 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead? Type1949 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1950 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo? Type1950 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1951 { get; set; } + public global::System.Collections.Generic.IList? Type1951 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1952 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow? Type1952 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1953 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunRepository? Type1953 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1954 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunRepositoryOwner? Type1954 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1955 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunStatus? Type1955 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1956 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActor? Type1956 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1957 { get; set; } + public global::G.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorType? Type1957 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1958 { get; set; } + public global::G.WebhookDeploymentReviewRejected? Type1958 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1959 { get; set; } + public global::G.WebhookDeploymentReviewRejectedAction? Type1959 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1960 { get; set; } + public global::System.Collections.Generic.IList? Type1960 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1961 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowJobRun? Type1961 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1962 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRun? Type1962 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1963 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunActor? Type1963 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1964 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunActorType? Type1964 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1965 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunConclusion? Type1965 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1966 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunHeadRepository? Type1966 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1967 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunHeadRepositoryOwner? Type1967 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1968 { get; set; } + public global::System.Collections.Generic.IList? Type1968 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1969 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequest? Type1969 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1970 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase? Type1970 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1971 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo? Type1971 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1972 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead? Type1972 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1973 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo? Type1973 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1974 { get; set; } + public global::System.Collections.Generic.IList? Type1974 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1975 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow? Type1975 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1976 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunRepository? Type1976 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1977 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunRepositoryOwner? Type1977 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1978 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunStatus? Type1978 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1979 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActor? Type1979 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1980 { get; set; } + public global::G.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorType? Type1980 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1981 { get; set; } + public global::G.WebhookDeploymentReviewRequested? Type1981 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1982 { get; set; } + public global::G.WebhookDeploymentReviewRequestedAction? Type1982 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatus? Type1983 { get; set; } + public global::System.Collections.Generic.IList? Type1983 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusCreator? Type1984 { get; set; } + public global::G.WebhookDeploymentReviewRequestedReviewer? Type1984 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusCreatorType? Type1985 { get; set; } + public global::G.WebhookDeploymentReviewRequestedReviewerReviewer? Type1985 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp? Type1986 { get; set; } + public global::G.WebhookDeploymentReviewRequestedReviewerReviewerType? Type1986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1987 { get; set; } + public global::G.WebhookDeploymentReviewRequestedReviewerType? Type1987 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? Type1988 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowJobRun? Type1988 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwner? Type1989 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRun? Type1989 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerType? Type1990 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunActor? Type1990 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissions? Type1991 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunActorType? Type1991 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsActions? Type1992 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunConclusion? Type1992 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsAdministration? Type1993 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunHeadRepository? Type1993 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsChecks? Type1994 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunHeadRepositoryOwner? Type1994 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContentReferences? Type1995 { get; set; } + public global::System.Collections.Generic.IList? Type1995 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContents? Type1996 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequest? Type1996 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDeployments? Type1997 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase? Type1997 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDiscussions? Type1998 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo? Type1998 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEmails? Type1999 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead? Type1999 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEnvironments? Type2000 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo? Type2000 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsIssues? Type2001 { get; set; } + public global::System.Collections.Generic.IList? Type2001 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsKeys? Type2002 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow? Type2002 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMembers? Type2003 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunRepository? Type2003 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMetadata? Type2004 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunRepositoryOwner? Type2004 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationAdministration? Type2005 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunStatus? Type2005 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationHooks? Type2006 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActor? Type2006 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPackages? Type2007 { get; set; } + public global::G.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorType? Type2007 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPlan? Type2008 { get; set; } + public global::G.WebhookDeploymentStatusCreated? Type2008 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationProjects? Type2009 { get; set; } + public global::G.WebhookDeploymentStatusCreatedAction? Type2009 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSecrets? Type2010 { get; set; } + public global::G.WebhookDeploymentStatusCreatedCheckRun? Type2010 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2011 { get; set; } + public global::G.WebhookDeploymentStatusCreatedCheckRunConclusion? Type2011 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2012 { get; set; } + public global::G.WebhookDeploymentStatusCreatedCheckRunStatus? Type2012 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPackages? Type2013 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeployment? Type2013 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPages? Type2014 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentCreator? Type2014 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPullRequests? Type2015 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentCreatorType? Type2015 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryHooks? Type2016 { get; set; } + public global::G.OneOf? Type2016 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryProjects? Type2017 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp? Type2017 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecretScanningAlerts? Type2018 { get; set; } + public global::System.Collections.Generic.IList? Type2018 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecrets? Type2019 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? Type2019 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityEvents? Type2020 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwner? Type2020 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityScanningAlert? Type2021 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerType? Type2021 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSingleFile? Type2022 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissions? Type2022 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsStatuses? Type2023 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type2023 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsTeamDiscussions? Type2024 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type2024 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2025 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type2025 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflows? Type2026 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type2026 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRun? Type2027 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type2027 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunActor? Type2028 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type2028 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunActorType? Type2029 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type2029 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunConclusion? Type2030 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type2030 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository? Type2031 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type2031 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryOwner? Type2032 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type2032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2033 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type2033 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequest? Type2034 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type2034 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase? Type2035 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type2035 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo? Type2036 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type2036 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead? Type2037 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type2037 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo? Type2038 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type2038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2039 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type2039 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow? Type2040 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type2040 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunRepository? Type2041 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type2041 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunRepositoryOwner? Type2042 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2042 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunStatus? Type2043 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2043 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActor? Type2044 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type2044 { get; set; } /// /// /// - public global::G.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorType? Type2045 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type2045 { get; set; } /// /// /// - public global::G.WebhookDiscussionAnswered? Type2046 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type2046 { get; set; } /// /// /// - public global::G.WebhookDiscussionAnsweredAction? Type2047 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type2047 { get; set; } /// /// /// - public global::G.WebhookDiscussionCategoryChanged? Type2048 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type2048 { get; set; } /// /// /// - public global::G.WebhookDiscussionCategoryChangedAction? Type2049 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type2049 { get; set; } /// /// /// - public global::G.WebhookDiscussionCategoryChangedChanges? Type2050 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type2050 { get; set; } /// /// /// - public global::G.WebhookDiscussionCategoryChangedChangesCategory? Type2051 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type2051 { get; set; } /// /// /// - public global::G.WebhookDiscussionCategoryChangedChangesCategoryFrom? Type2052 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type2052 { get; set; } /// /// /// - public global::G.WebhookDiscussionClosed? Type2053 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type2053 { get; set; } /// /// /// - public global::G.WebhookDiscussionClosedAction? Type2054 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type2054 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentCreated? Type2055 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type2055 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentCreatedAction? Type2056 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2056 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentDeleted? Type2057 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type2057 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentDeletedAction? Type2058 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatus? Type2058 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentEdited? Type2059 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusCreator? Type2059 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentEditedAction? Type2060 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusCreatorType? Type2060 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentEditedChanges? Type2061 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp? Type2061 { get; set; } /// /// /// - public global::G.WebhookDiscussionCommentEditedChangesBody? Type2062 { get; set; } + public global::System.Collections.Generic.IList? Type2062 { get; set; } /// /// /// - public global::G.WebhookDiscussionCreated? Type2063 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? Type2063 { get; set; } /// /// /// - public global::G.WebhookDiscussionCreatedAction? Type2064 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwner? Type2064 { get; set; } /// /// /// - public global::G.WebhookDiscussionDeleted? Type2065 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerType? Type2065 { get; set; } /// /// /// - public global::G.WebhookDiscussionDeletedAction? Type2066 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissions? Type2066 { get; set; } /// /// /// - public global::G.WebhookDiscussionEdited? Type2067 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsActions? Type2067 { get; set; } /// /// /// - public global::G.WebhookDiscussionEditedAction? Type2068 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsAdministration? Type2068 { get; set; } /// /// /// - public global::G.WebhookDiscussionEditedChanges? Type2069 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsChecks? Type2069 { get; set; } /// /// /// - public global::G.WebhookDiscussionEditedChangesBody? Type2070 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContentReferences? Type2070 { get; set; } /// /// /// - public global::G.WebhookDiscussionEditedChangesTitle? Type2071 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContents? Type2071 { get; set; } /// /// /// - public global::G.WebhookDiscussionLabeled? Type2072 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDeployments? Type2072 { get; set; } /// /// /// - public global::G.WebhookDiscussionLabeledAction? Type2073 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDiscussions? Type2073 { get; set; } /// /// /// - public global::G.WebhookDiscussionLocked? Type2074 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEmails? Type2074 { get; set; } /// /// /// - public global::G.WebhookDiscussionLockedAction? Type2075 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEnvironments? Type2075 { get; set; } /// /// /// - public global::G.WebhookDiscussionPinned? Type2076 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsIssues? Type2076 { get; set; } /// /// /// - public global::G.WebhookDiscussionPinnedAction? Type2077 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsKeys? Type2077 { get; set; } /// /// /// - public global::G.WebhookDiscussionReopened? Type2078 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMembers? Type2078 { get; set; } /// /// /// - public global::G.WebhookDiscussionReopenedAction? Type2079 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMetadata? Type2079 { get; set; } /// /// /// - public global::G.WebhookDiscussionTransferred? Type2080 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationAdministration? Type2080 { get; set; } /// /// /// - public global::G.WebhookDiscussionTransferredAction? Type2081 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationHooks? Type2081 { get; set; } /// /// /// - public global::G.WebhookDiscussionTransferredChanges? Type2082 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPackages? Type2082 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnanswered? Type2083 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPlan? Type2083 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnansweredAction? Type2084 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationProjects? Type2084 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnlabeled? Type2085 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSecrets? Type2085 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnlabeledAction? Type2086 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2086 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnlocked? Type2087 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2087 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnlockedAction? Type2088 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPackages? Type2088 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnpinned? Type2089 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPages? Type2089 { get; set; } /// /// /// - public global::G.WebhookDiscussionUnpinnedAction? Type2090 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPullRequests? Type2090 { get; set; } /// /// /// - public global::G.WebhookFork? Type2091 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryHooks? Type2091 { get; set; } /// /// /// - public global::G.AllOf? Type2092 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryProjects? Type2092 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1? Type2093 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecretScanningAlerts? Type2093 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1License? Type2094 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecrets? Type2094 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1Owner? Type2095 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityEvents? Type2095 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1OwnerType? Type2096 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityScanningAlert? Type2096 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1Permissions? Type2097 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSingleFile? Type2097 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant1Visibility? Type2098 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsStatuses? Type2098 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant2? Type2099 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsTeamDiscussions? Type2099 { get; set; } /// /// /// - public global::G.WebhookForkForkeeVariant2Owner? Type2100 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2100 { get; set; } /// /// /// - public global::G.WebhookGithubAppAuthorizationRevoked? Type2101 { get; set; } + public global::G.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflows? Type2101 { get; set; } /// /// /// - public global::G.WebhookGithubAppAuthorizationRevokedAction? Type2102 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRun? Type2102 { get; set; } /// /// /// - public global::G.WebhookGollum? Type2103 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunActor? Type2103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2104 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunActorType? Type2104 { get; set; } /// /// /// - public global::G.WebhookGollumPage? Type2105 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunConclusion? Type2105 { get; set; } /// /// /// - public global::G.WebhookGollumPageAction? Type2106 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository? Type2106 { get; set; } /// /// /// - public global::G.WebhookInstallationCreated? Type2107 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryOwner? Type2107 { get; set; } /// /// /// - public global::G.WebhookInstallationCreatedAction? Type2108 { get; set; } + public global::System.Collections.Generic.IList? Type2108 { get; set; } /// /// /// - public global::G.WebhookInstallationDeleted? Type2109 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequest? Type2109 { get; set; } /// /// /// - public global::G.WebhookInstallationDeletedAction? Type2110 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase? Type2110 { get; set; } /// /// /// - public global::G.WebhookInstallationNewPermissionsAccepted? Type2111 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo? Type2111 { get; set; } /// /// /// - public global::G.WebhookInstallationNewPermissionsAcceptedAction? Type2112 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead? Type2112 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesAdded? Type2113 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo? Type2113 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesAddedAction? Type2114 { get; set; } + public global::System.Collections.Generic.IList? Type2114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2115 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow? Type2115 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem? Type2116 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunRepository? Type2116 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesRemoved? Type2117 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunRepositoryOwner? Type2117 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesRemovedAction? Type2118 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunStatus? Type2118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2119 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActor? Type2119 { get; set; } /// /// /// - public global::G.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem? Type2120 { get; set; } + public global::G.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorType? Type2120 { get; set; } /// /// /// - public global::G.WebhookInstallationSuspend? Type2121 { get; set; } + public global::G.WebhookDiscussionAnswered? Type2121 { get; set; } /// /// /// - public global::G.WebhookInstallationSuspendAction? Type2122 { get; set; } + public global::G.WebhookDiscussionAnsweredAction? Type2122 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamed? Type2123 { get; set; } + public global::G.WebhookDiscussionCategoryChanged? Type2123 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamedAccount? Type2124 { get; set; } + public global::G.WebhookDiscussionCategoryChangedAction? Type2124 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamedAction? Type2125 { get; set; } + public global::G.WebhookDiscussionCategoryChangedChanges? Type2125 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamedChanges? Type2126 { get; set; } + public global::G.WebhookDiscussionCategoryChangedChangesCategory? Type2126 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamedChangesLogin? Type2127 { get; set; } + public global::G.WebhookDiscussionCategoryChangedChangesCategoryFrom? Type2127 { get; set; } /// /// /// - public global::G.WebhookInstallationTargetRenamedChangesSlug? Type2128 { get; set; } + public global::G.WebhookDiscussionClosed? Type2128 { get; set; } /// /// /// - public global::G.WebhookInstallationUnsuspend? Type2129 { get; set; } + public global::G.WebhookDiscussionClosedAction? Type2129 { get; set; } /// /// /// - public global::G.WebhookInstallationUnsuspendAction? Type2130 { get; set; } + public global::G.WebhookDiscussionCommentCreated? Type2130 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreated? Type2131 { get; set; } + public global::G.WebhookDiscussionCommentCreatedAction? Type2131 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedAction? Type2132 { get; set; } + public global::G.WebhookDiscussionCommentDeleted? Type2132 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedComment? Type2133 { get; set; } + public global::G.WebhookDiscussionCommentDeletedAction? Type2133 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedCommentAuthorAssociation? Type2134 { get; set; } + public global::G.WebhookDiscussionCommentEdited? Type2134 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedCommentReactions? Type2135 { get; set; } + public global::G.WebhookDiscussionCommentEditedAction? Type2135 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedCommentUser? Type2136 { get; set; } + public global::G.WebhookDiscussionCommentEditedChanges? Type2136 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedCommentUserType? Type2137 { get; set; } + public global::G.WebhookDiscussionCommentEditedChangesBody? Type2137 { get; set; } /// /// /// - public global::G.AllOf? Type2138 { get; set; } + public global::G.WebhookDiscussionCreated? Type2138 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1? Type2139 { get; set; } + public global::G.WebhookDiscussionCreatedAction? Type2139 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? Type2140 { get; set; } + public global::G.WebhookDiscussionDeleted? Type2140 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1Assignee? Type2141 { get; set; } + public global::G.WebhookDiscussionDeletedAction? Type2141 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1AssigneeType? Type2142 { get; set; } + public global::G.WebhookDiscussionEdited? Type2142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2143 { get; set; } + public global::G.WebhookDiscussionEditedAction? Type2143 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1Assignee2? Type2144 { get; set; } + public global::G.WebhookDiscussionEditedChanges? Type2144 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? Type2145 { get; set; } + public global::G.WebhookDiscussionEditedChangesBody? Type2145 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? Type2146 { get; set; } + public global::G.WebhookDiscussionEditedChangesTitle? Type2146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2147 { get; set; } + public global::G.WebhookDiscussionLabeled? Type2147 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1Label? Type2148 { get; set; } + public global::G.WebhookDiscussionLabeledAction? Type2148 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1Milestone? Type2149 { get; set; } + public global::G.WebhookDiscussionLocked? Type2149 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator? Type2150 { get; set; } + public global::G.WebhookDiscussionLockedAction? Type2150 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? Type2151 { get; set; } + public global::G.WebhookDiscussionPinned? Type2151 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneState? Type2152 { get; set; } + public global::G.WebhookDiscussionPinnedAction? Type2152 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp? Type2153 { get; set; } + public global::G.WebhookDiscussionReopened? Type2153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2154 { get; set; } + public global::G.WebhookDiscussionReopenedAction? Type2154 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? Type2155 { get; set; } + public global::G.WebhookDiscussionTransferred? Type2155 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner? Type2156 { get; set; } + public global::G.WebhookDiscussionTransferredAction? Type2156 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? Type2157 { get; set; } + public global::G.WebhookDiscussionTransferredChanges? Type2157 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions? Type2158 { get; set; } + public global::G.WebhookDiscussionUnanswered? Type2158 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2159 { get; set; } + public global::G.WebhookDiscussionUnansweredAction? Type2159 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2160 { get; set; } + public global::G.WebhookDiscussionUnlabeled? Type2160 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2161 { get; set; } + public global::G.WebhookDiscussionUnlabeledAction? Type2161 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2162 { get; set; } + public global::G.WebhookDiscussionUnlocked? Type2162 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2163 { get; set; } + public global::G.WebhookDiscussionUnlockedAction? Type2163 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2164 { get; set; } + public global::G.WebhookDiscussionUnpinned? Type2164 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2165 { get; set; } + public global::G.WebhookDiscussionUnpinnedAction? Type2165 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2166 { get; set; } + public global::G.WebhookFork? Type2166 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2167 { get; set; } + public global::G.AllOf? Type2167 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2168 { get; set; } + public global::G.WebhookForkForkeeVariant1? Type2168 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2169 { get; set; } + public global::G.WebhookForkForkeeVariant1License? Type2169 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2170 { get; set; } + public global::G.WebhookForkForkeeVariant1Owner? Type2170 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2171 { get; set; } + public global::G.WebhookForkForkeeVariant1OwnerType? Type2171 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2172 { get; set; } + public global::G.WebhookForkForkeeVariant1Permissions? Type2172 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2173 { get; set; } + public global::G.WebhookForkForkeeVariant1Visibility? Type2173 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2174 { get; set; } + public global::G.WebhookForkForkeeVariant2? Type2174 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2175 { get; set; } + public global::G.WebhookForkForkeeVariant2Owner? Type2175 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2176 { get; set; } + public global::G.WebhookGithubAppAuthorizationRevoked? Type2176 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2177 { get; set; } + public global::G.WebhookGithubAppAuthorizationRevokedAction? Type2177 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2178 { get; set; } + public global::G.WebhookGollum? Type2178 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2179 { get; set; } + public global::System.Collections.Generic.IList? Type2179 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2180 { get; set; } + public global::G.WebhookGollumPage? Type2180 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2181 { get; set; } + public global::G.WebhookGollumPageAction? Type2181 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2182 { get; set; } + public global::G.WebhookInstallationCreated? Type2182 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2183 { get; set; } + public global::G.WebhookInstallationCreatedAction? Type2183 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2184 { get; set; } + public global::G.WebhookInstallationDeleted? Type2184 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2185 { get; set; } + public global::G.WebhookInstallationDeletedAction? Type2185 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2186 { get; set; } + public global::G.WebhookInstallationNewPermissionsAccepted? Type2186 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2187 { get; set; } + public global::G.WebhookInstallationNewPermissionsAcceptedAction? Type2187 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2188 { get; set; } + public global::G.WebhookInstallationRepositoriesAdded? Type2188 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2189 { get; set; } + public global::G.WebhookInstallationRepositoriesAddedAction? Type2189 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2190 { get; set; } + public global::System.Collections.Generic.IList? Type2190 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2191 { get; set; } + public global::G.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem? Type2191 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2192 { get; set; } + public global::G.WebhookInstallationRepositoriesRemoved? Type2192 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2193 { get; set; } + public global::G.WebhookInstallationRepositoriesRemovedAction? Type2193 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1PullRequest? Type2194 { get; set; } + public global::System.Collections.Generic.IList? Type2194 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1Reactions? Type2195 { get; set; } + public global::G.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem? Type2195 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1State? Type2196 { get; set; } + public global::G.WebhookInstallationSuspend? Type2196 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1User? Type2197 { get; set; } + public global::G.WebhookInstallationSuspendAction? Type2197 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant1UserType? Type2198 { get; set; } + public global::G.WebhookInstallationTargetRenamed? Type2198 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2? Type2199 { get; set; } + public global::G.WebhookInstallationTargetRenamedAccount? Type2199 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2Assignee? Type2200 { get; set; } + public global::G.WebhookInstallationTargetRenamedAction? Type2200 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2AssigneeType? Type2201 { get; set; } + public global::G.WebhookInstallationTargetRenamedChanges? Type2201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2202 { get; set; } + public global::G.WebhookInstallationTargetRenamedChangesLogin? Type2202 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2Label? Type2203 { get; set; } + public global::G.WebhookInstallationTargetRenamedChangesSlug? Type2203 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2Reactions? Type2204 { get; set; } + public global::G.WebhookInstallationUnsuspend? Type2204 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2State? Type2205 { get; set; } + public global::G.WebhookInstallationUnsuspendAction? Type2205 { get; set; } /// /// /// - public global::G.WebhookIssueCommentCreatedIssueVariant2User? Type2206 { get; set; } + public global::G.WebhookIssueCommentCreated? Type2206 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeleted? Type2207 { get; set; } + public global::G.WebhookIssueCommentCreatedAction? Type2207 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedAction? Type2208 { get; set; } + public global::G.WebhookIssueCommentCreatedComment? Type2208 { get; set; } /// /// /// - public global::G.AllOf? Type2209 { get; set; } + public global::G.WebhookIssueCommentCreatedCommentAuthorAssociation? Type2209 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1? Type2210 { get; set; } + public global::G.WebhookIssueCommentCreatedCommentReactions? Type2210 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? Type2211 { get; set; } + public global::G.WebhookIssueCommentCreatedCommentUser? Type2211 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1Assignee? Type2212 { get; set; } + public global::G.WebhookIssueCommentCreatedCommentUserType? Type2212 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1AssigneeType? Type2213 { get; set; } + public global::G.AllOf? Type2213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2214 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1? Type2214 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1Assignee2? Type2215 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? Type2215 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? Type2216 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1Assignee? Type2216 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? Type2217 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1AssigneeType? Type2217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2218 { get; set; } + public global::System.Collections.Generic.IList? Type2218 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1Label? Type2219 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1Assignee2? Type2219 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1Milestone? Type2220 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? Type2220 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator? Type2221 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? Type2221 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? Type2222 { get; set; } + public global::System.Collections.Generic.IList? Type2222 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneState? Type2223 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1Label? Type2223 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp? Type2224 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1Milestone? Type2224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2225 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator? Type2225 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? Type2226 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? Type2226 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner? Type2227 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1MilestoneState? Type2227 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? Type2228 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp? Type2228 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions? Type2229 { get; set; } + public global::System.Collections.Generic.IList? Type2229 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2230 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? Type2230 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2231 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner? Type2231 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2232 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? Type2232 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2233 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions? Type2233 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2234 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2234 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2235 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2235 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2236 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2236 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2237 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2237 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2238 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2238 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2239 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2239 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2240 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2240 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2241 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2241 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2242 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2242 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2243 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2243 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2244 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2244 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2245 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2245 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2246 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2246 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2247 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2247 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2248 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2248 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2249 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2249 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2250 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2250 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2251 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2251 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2252 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2252 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2253 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2253 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2254 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2254 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2255 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2255 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2256 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2256 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2257 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2257 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2258 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2258 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2259 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2259 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2260 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2260 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2261 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2261 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2262 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2262 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2263 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2263 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2264 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2264 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1PullRequest? Type2265 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2265 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1Reactions? Type2266 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2266 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1State? Type2267 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2267 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1User? Type2268 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2268 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant1UserType? Type2269 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1PullRequest? Type2269 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2? Type2270 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1Reactions? Type2270 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2Assignee? Type2271 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1State? Type2271 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2AssigneeType? Type2272 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1User? Type2272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2273 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant1UserType? Type2273 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2Label? Type2274 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2? Type2274 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2Reactions? Type2275 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2Assignee? Type2275 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2State? Type2276 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2AssigneeType? Type2276 { get; set; } /// /// /// - public global::G.WebhookIssueCommentDeletedIssueVariant2User? Type2277 { get; set; } + public global::System.Collections.Generic.IList? Type2277 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEdited? Type2278 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2Label? Type2278 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedAction? Type2279 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2Reactions? Type2279 { get; set; } /// /// /// - public global::G.AllOf? Type2280 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2State? Type2280 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1? Type2281 { get; set; } + public global::G.WebhookIssueCommentCreatedIssueVariant2User? Type2281 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? Type2282 { get; set; } + public global::G.WebhookIssueCommentDeleted? Type2282 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1Assignee? Type2283 { get; set; } + public global::G.WebhookIssueCommentDeletedAction? Type2283 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1AssigneeType? Type2284 { get; set; } + public global::G.AllOf? Type2284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2285 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1? Type2285 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1Assignee2? Type2286 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? Type2286 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1AssigneeType2? Type2287 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1Assignee? Type2287 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1AuthorAssociation? Type2288 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1AssigneeType? Type2288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2289 { get; set; } + public global::System.Collections.Generic.IList? Type2289 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1Label? Type2290 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1Assignee2? Type2290 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1Milestone? Type2291 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? Type2291 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneCreator? Type2292 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? Type2292 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? Type2293 { get; set; } + public global::System.Collections.Generic.IList? Type2293 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneState? Type2294 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1Label? Type2294 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp? Type2295 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1Milestone? Type2295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2296 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator? Type2296 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? Type2297 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? Type2297 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner? Type2298 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1MilestoneState? Type2298 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? Type2299 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp? Type2299 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions? Type2300 { get; set; } + public global::System.Collections.Generic.IList? Type2300 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2301 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? Type2301 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2302 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner? Type2302 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2303 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? Type2303 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2304 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions? Type2304 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2305 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2305 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2306 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2306 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2307 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2307 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2308 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2308 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2309 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2309 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2310 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2310 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2311 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2311 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2312 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2312 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2313 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2313 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2314 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2314 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2315 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2315 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2316 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2316 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2317 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2317 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2318 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2318 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2319 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2319 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2320 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2320 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2321 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2321 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2322 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2322 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2323 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2323 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2324 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2324 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2325 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2325 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2326 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2326 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2327 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2327 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2328 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2328 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2329 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2329 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2330 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2330 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2331 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2331 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2332 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2332 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2333 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2333 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2334 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2334 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2335 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2335 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1PullRequest? Type2336 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2336 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1Reactions? Type2337 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2337 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1State? Type2338 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2338 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1User? Type2339 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2339 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant1UserType? Type2340 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1PullRequest? Type2340 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2? Type2341 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1Reactions? Type2341 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2Assignee? Type2342 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1State? Type2342 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2AssigneeType? Type2343 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1User? Type2343 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2344 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant1UserType? Type2344 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2Label? Type2345 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2? Type2345 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2Reactions? Type2346 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2Assignee? Type2346 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2State? Type2347 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2AssigneeType? Type2347 { get; set; } /// /// /// - public global::G.WebhookIssueCommentEditedIssueVariant2User? Type2348 { get; set; } + public global::System.Collections.Generic.IList? Type2348 { get; set; } /// /// /// - public global::G.WebhookIssuesAssigned? Type2349 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2Label? Type2349 { get; set; } /// /// /// - public global::G.WebhookIssuesAssignedAction? Type2350 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2Reactions? Type2350 { get; set; } /// /// /// - public global::G.WebhookIssuesClosed? Type2351 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2State? Type2351 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedAction? Type2352 { get; set; } + public global::G.WebhookIssueCommentDeletedIssueVariant2User? Type2352 { get; set; } /// /// /// - public global::G.AllOf? Type2353 { get; set; } + public global::G.WebhookIssueCommentEdited? Type2353 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1? Type2354 { get; set; } + public global::G.WebhookIssueCommentEditedAction? Type2354 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1ActiveLockReason? Type2355 { get; set; } + public global::G.AllOf? Type2355 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1Assignee? Type2356 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1? Type2356 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1AssigneeType? Type2357 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? Type2357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2358 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1Assignee? Type2358 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1Assignee2? Type2359 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1AssigneeType? Type2359 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1AssigneeType2? Type2360 { get; set; } + public global::System.Collections.Generic.IList? Type2360 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1AuthorAssociation? Type2361 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1Assignee2? Type2361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2362 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1AssigneeType2? Type2362 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1Label? Type2363 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1AuthorAssociation? Type2363 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1Milestone? Type2364 { get; set; } + public global::System.Collections.Generic.IList? Type2364 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1MilestoneCreator? Type2365 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1Label? Type2365 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? Type2366 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1Milestone? Type2366 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1MilestoneState? Type2367 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneCreator? Type2367 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp? Type2368 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? Type2368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2369 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1MilestoneState? Type2369 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? Type2370 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp? Type2370 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner? Type2371 { get; set; } + public global::System.Collections.Generic.IList? Type2371 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? Type2372 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? Type2372 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions? Type2373 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner? Type2373 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2374 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? Type2374 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2375 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions? Type2375 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2376 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2376 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2377 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2377 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2378 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2378 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2379 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2379 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2380 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2380 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2381 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2381 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2382 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2382 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2383 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2383 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2384 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2384 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2385 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2385 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2386 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2386 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2387 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2387 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2388 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2388 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2389 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2389 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2390 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2390 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2391 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2391 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2392 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2392 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2393 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2393 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2394 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2394 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2395 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2395 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2396 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2396 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2397 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2397 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2398 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2398 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2399 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2399 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2400 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2400 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2401 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2401 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2402 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2402 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2403 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2403 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2404 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2404 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2405 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2405 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2406 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2406 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2407 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2407 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2408 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2408 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1PullRequest? Type2409 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2409 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1Reactions? Type2410 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2410 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1State? Type2411 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1PullRequest? Type2411 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1User? Type2412 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1Reactions? Type2412 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant1UserType? Type2413 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1State? Type2413 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant2? Type2414 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1User? Type2414 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant2Reactions? Type2415 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant1UserType? Type2415 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant2State? Type2416 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2? Type2416 { get; set; } /// /// /// - public global::G.WebhookIssuesClosedIssueVariant2User? Type2417 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2Assignee? Type2417 { get; set; } /// /// /// - public global::G.WebhookIssuesDeleted? Type2418 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2AssigneeType? Type2418 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedAction? Type2419 { get; set; } + public global::System.Collections.Generic.IList? Type2419 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssue? Type2420 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2Label? Type2420 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueActiveLockReason? Type2421 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2Reactions? Type2421 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueAssignee? Type2422 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2State? Type2422 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueAssigneeType? Type2423 { get; set; } + public global::G.WebhookIssueCommentEditedIssueVariant2User? Type2423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2424 { get; set; } + public global::G.WebhookIssuesAssigned? Type2424 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueAssignee2? Type2425 { get; set; } + public global::G.WebhookIssuesAssignedAction? Type2425 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueAssigneeType2? Type2426 { get; set; } + public global::G.WebhookIssuesClosed? Type2426 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueAuthorAssociation? Type2427 { get; set; } + public global::G.WebhookIssuesClosedAction? Type2427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2428 { get; set; } + public global::G.AllOf? Type2428 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueLabel? Type2429 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1? Type2429 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueMilestone? Type2430 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1ActiveLockReason? Type2430 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueMilestoneCreator? Type2431 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1Assignee? Type2431 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueMilestoneCreatorType? Type2432 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1AssigneeType? Type2432 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueMilestoneState? Type2433 { get; set; } + public global::System.Collections.Generic.IList? Type2433 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubApp? Type2434 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1Assignee2? Type2434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2435 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1AssigneeType2? Type2435 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? Type2436 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1AuthorAssociation? Type2436 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppOwner? Type2437 { get; set; } + public global::System.Collections.Generic.IList? Type2437 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerType? Type2438 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1Label? Type2438 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissions? Type2439 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1Milestone? Type2439 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsActions? Type2440 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1MilestoneCreator? Type2440 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsAdministration? Type2441 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? Type2441 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsChecks? Type2442 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1MilestoneState? Type2442 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Type2443 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp? Type2443 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContents? Type2444 { get; set; } + public global::System.Collections.Generic.IList? Type2444 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDeployments? Type2445 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? Type2445 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Type2446 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner? Type2446 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEmails? Type2447 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? Type2447 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Type2448 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions? Type2448 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsIssues? Type2449 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2449 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsKeys? Type2450 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2450 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMembers? Type2451 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2451 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMetadata? Type2452 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2452 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2453 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2453 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2454 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2454 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2455 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2455 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2456 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2456 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2457 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2457 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2458 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2458 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2459 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2459 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2460 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2460 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPackages? Type2461 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2461 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPages? Type2462 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2462 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Type2463 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2463 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2464 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2464 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2465 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2465 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2466 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2466 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecrets? Type2467 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2467 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2468 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2468 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2469 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2469 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Type2470 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2470 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsStatuses? Type2471 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2471 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2472 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2472 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2473 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2473 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Type2474 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2474 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssuePullRequest? Type2475 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2475 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueReactions? Type2476 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2476 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueState? Type2477 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2477 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueUser? Type2478 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2478 { get; set; } /// /// /// - public global::G.WebhookIssuesDeletedIssueUserType? Type2479 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2479 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestoned? Type2480 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2480 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedAction? Type2481 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2481 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssue? Type2482 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2482 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueActiveLockReason? Type2483 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2483 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueAssignee? Type2484 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1PullRequest? Type2484 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueAssigneeType? Type2485 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1Reactions? Type2485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2486 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1State? Type2486 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueAssignee2? Type2487 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1User? Type2487 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueAssigneeType2? Type2488 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant1UserType? Type2488 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueAuthorAssociation? Type2489 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant2? Type2489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2490 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant2Reactions? Type2490 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueLabel? Type2491 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant2State? Type2491 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueMilestone? Type2492 { get; set; } + public global::G.WebhookIssuesClosedIssueVariant2User? Type2492 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueMilestoneCreator? Type2493 { get; set; } + public global::G.WebhookIssuesDeleted? Type2493 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueMilestoneCreatorType? Type2494 { get; set; } + public global::G.WebhookIssuesDeletedAction? Type2494 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueMilestoneState? Type2495 { get; set; } + public global::G.WebhookIssuesDeletedIssue? Type2495 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubApp? Type2496 { get; set; } + public global::G.WebhookIssuesDeletedIssueActiveLockReason? Type2496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2497 { get; set; } + public global::G.WebhookIssuesDeletedIssueAssignee? Type2497 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? Type2498 { get; set; } + public global::G.WebhookIssuesDeletedIssueAssigneeType? Type2498 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwner? Type2499 { get; set; } + public global::System.Collections.Generic.IList? Type2499 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerType? Type2500 { get; set; } + public global::G.WebhookIssuesDeletedIssueAssignee2? Type2500 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissions? Type2501 { get; set; } + public global::G.WebhookIssuesDeletedIssueAssigneeType2? Type2501 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsActions? Type2502 { get; set; } + public global::G.WebhookIssuesDeletedIssueAuthorAssociation? Type2502 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2503 { get; set; } + public global::System.Collections.Generic.IList? Type2503 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2504 { get; set; } + public global::G.WebhookIssuesDeletedIssueLabel? Type2504 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2505 { get; set; } + public global::G.WebhookIssuesDeletedIssueMilestone? Type2505 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContents? Type2506 { get; set; } + public global::G.WebhookIssuesDeletedIssueMilestoneCreator? Type2506 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2507 { get; set; } + public global::G.WebhookIssuesDeletedIssueMilestoneCreatorType? Type2507 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2508 { get; set; } + public global::G.WebhookIssuesDeletedIssueMilestoneState? Type2508 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2509 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubApp? Type2509 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2510 { get; set; } + public global::System.Collections.Generic.IList? Type2510 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2511 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? Type2511 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2512 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppOwner? Type2512 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2513 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerType? Type2513 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2514 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissions? Type2514 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2515 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsActions? Type2515 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2516 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsAdministration? Type2516 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2517 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsChecks? Type2517 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2518 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Type2518 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2519 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContents? Type2519 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2520 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDeployments? Type2520 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2521 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Type2521 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2522 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEmails? Type2522 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2523 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Type2523 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPages? Type2524 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsIssues? Type2524 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2525 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsKeys? Type2525 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2526 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMembers? Type2526 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2527 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMetadata? Type2527 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2528 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2528 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2529 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2529 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2530 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2530 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2531 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2531 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2532 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2532 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2533 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2533 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2534 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2534 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2535 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2535 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2536 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPackages? Type2536 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssuePullRequest? Type2537 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPages? Type2537 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueReactions? Type2538 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Type2538 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueState? Type2539 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2539 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueUser? Type2540 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2540 { get; set; } /// /// /// - public global::G.WebhookIssuesDemilestonedIssueUserType? Type2541 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2541 { get; set; } /// /// /// - public global::G.WebhookIssuesEdited? Type2542 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecrets? Type2542 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedAction? Type2543 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2543 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedChanges? Type2544 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2544 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedChangesBody? Type2545 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Type2545 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedChangesTitle? Type2546 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsStatuses? Type2546 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssue? Type2547 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2547 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueActiveLockReason? Type2548 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2548 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueAssignee? Type2549 { get; set; } + public global::G.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Type2549 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueAssigneeType? Type2550 { get; set; } + public global::G.WebhookIssuesDeletedIssuePullRequest? Type2550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2551 { get; set; } + public global::G.WebhookIssuesDeletedIssueReactions? Type2551 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueAssignee2? Type2552 { get; set; } + public global::G.WebhookIssuesDeletedIssueState? Type2552 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueAssigneeType2? Type2553 { get; set; } + public global::G.WebhookIssuesDeletedIssueUser? Type2553 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueAuthorAssociation? Type2554 { get; set; } + public global::G.WebhookIssuesDeletedIssueUserType? Type2554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2555 { get; set; } + public global::G.WebhookIssuesDemilestoned? Type2555 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueLabel? Type2556 { get; set; } + public global::G.WebhookIssuesDemilestonedAction? Type2556 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueMilestone? Type2557 { get; set; } + public global::G.WebhookIssuesDemilestonedIssue? Type2557 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueMilestoneCreator? Type2558 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueActiveLockReason? Type2558 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueMilestoneCreatorType? Type2559 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueAssignee? Type2559 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueMilestoneState? Type2560 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueAssigneeType? Type2560 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubApp? Type2561 { get; set; } + public global::System.Collections.Generic.IList? Type2561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2562 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueAssignee2? Type2562 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppEvent? Type2563 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueAssigneeType2? Type2563 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppOwner? Type2564 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueAuthorAssociation? Type2564 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerType? Type2565 { get; set; } + public global::System.Collections.Generic.IList? Type2565 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissions? Type2566 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueLabel? Type2566 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsActions? Type2567 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueMilestone? Type2567 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsAdministration? Type2568 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueMilestoneCreator? Type2568 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsChecks? Type2569 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueMilestoneCreatorType? Type2569 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContentReferences? Type2570 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueMilestoneState? Type2570 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContents? Type2571 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubApp? Type2571 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDeployments? Type2572 { get; set; } + public global::System.Collections.Generic.IList? Type2572 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDiscussions? Type2573 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? Type2573 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEmails? Type2574 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwner? Type2574 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEnvironments? Type2575 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerType? Type2575 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsIssues? Type2576 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissions? Type2576 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsKeys? Type2577 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsActions? Type2577 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMembers? Type2578 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2578 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMetadata? Type2579 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2579 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2580 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2580 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2581 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContents? Type2581 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2582 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2582 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2583 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2583 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2584 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2584 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2585 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2585 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2586 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2586 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2587 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2587 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPackages? Type2588 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2588 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPages? Type2589 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2589 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPullRequests? Type2590 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2590 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2591 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2591 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2592 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2592 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2593 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2593 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecrets? Type2594 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2594 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2595 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2595 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2596 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2596 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSingleFile? Type2597 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2597 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsStatuses? Type2598 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2598 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2599 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPages? Type2599 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2600 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2600 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflows? Type2601 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2601 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssuePullRequest? Type2602 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2602 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueReactions? Type2603 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2603 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueState? Type2604 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2604 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueUser? Type2605 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2605 { get; set; } /// /// /// - public global::G.WebhookIssuesEditedIssueUserType? Type2606 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2606 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeled? Type2607 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2607 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledAction? Type2608 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2608 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssue? Type2609 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2609 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueActiveLockReason? Type2610 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2610 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueAssignee? Type2611 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2611 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueAssigneeType? Type2612 { get; set; } + public global::G.WebhookIssuesDemilestonedIssuePullRequest? Type2612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2613 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueReactions? Type2613 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueAssignee2? Type2614 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueState? Type2614 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueAssigneeType2? Type2615 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueUser? Type2615 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueAuthorAssociation? Type2616 { get; set; } + public global::G.WebhookIssuesDemilestonedIssueUserType? Type2616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2617 { get; set; } + public global::G.WebhookIssuesEdited? Type2617 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueLabel? Type2618 { get; set; } + public global::G.WebhookIssuesEditedAction? Type2618 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueMilestone? Type2619 { get; set; } + public global::G.WebhookIssuesEditedChanges? Type2619 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueMilestoneCreator? Type2620 { get; set; } + public global::G.WebhookIssuesEditedChangesBody? Type2620 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueMilestoneCreatorType? Type2621 { get; set; } + public global::G.WebhookIssuesEditedChangesTitle? Type2621 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueMilestoneState? Type2622 { get; set; } + public global::G.WebhookIssuesEditedIssue? Type2622 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubApp? Type2623 { get; set; } + public global::G.WebhookIssuesEditedIssueActiveLockReason? Type2623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2624 { get; set; } + public global::G.WebhookIssuesEditedIssueAssignee? Type2624 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? Type2625 { get; set; } + public global::G.WebhookIssuesEditedIssueAssigneeType? Type2625 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppOwner? Type2626 { get; set; } + public global::System.Collections.Generic.IList? Type2626 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerType? Type2627 { get; set; } + public global::G.WebhookIssuesEditedIssueAssignee2? Type2627 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissions? Type2628 { get; set; } + public global::G.WebhookIssuesEditedIssueAssigneeType2? Type2628 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsActions? Type2629 { get; set; } + public global::G.WebhookIssuesEditedIssueAuthorAssociation? Type2629 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsAdministration? Type2630 { get; set; } + public global::System.Collections.Generic.IList? Type2630 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsChecks? Type2631 { get; set; } + public global::G.WebhookIssuesEditedIssueLabel? Type2631 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContentReferences? Type2632 { get; set; } + public global::G.WebhookIssuesEditedIssueMilestone? Type2632 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContents? Type2633 { get; set; } + public global::G.WebhookIssuesEditedIssueMilestoneCreator? Type2633 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDeployments? Type2634 { get; set; } + public global::G.WebhookIssuesEditedIssueMilestoneCreatorType? Type2634 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDiscussions? Type2635 { get; set; } + public global::G.WebhookIssuesEditedIssueMilestoneState? Type2635 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEmails? Type2636 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubApp? Type2636 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEnvironments? Type2637 { get; set; } + public global::System.Collections.Generic.IList? Type2637 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsIssues? Type2638 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppEvent? Type2638 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsKeys? Type2639 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppOwner? Type2639 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMembers? Type2640 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerType? Type2640 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMetadata? Type2641 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissions? Type2641 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2642 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsActions? Type2642 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2643 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsAdministration? Type2643 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2644 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsChecks? Type2644 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2645 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContentReferences? Type2645 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2646 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContents? Type2646 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2647 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDeployments? Type2647 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2648 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDiscussions? Type2648 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2649 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEmails? Type2649 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPackages? Type2650 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEnvironments? Type2650 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPages? Type2651 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsIssues? Type2651 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPullRequests? Type2652 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsKeys? Type2652 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2653 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMembers? Type2653 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2654 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMetadata? Type2654 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2655 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2655 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecrets? Type2656 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2656 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2657 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2657 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2658 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2658 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSingleFile? Type2659 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2659 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsStatuses? Type2660 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2660 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2661 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2661 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2662 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2662 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflows? Type2663 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPackages? Type2663 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssuePullRequest? Type2664 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPages? Type2664 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueReactions? Type2665 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPullRequests? Type2665 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueState? Type2666 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2666 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueUser? Type2667 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2667 { get; set; } /// /// /// - public global::G.WebhookIssuesLabeledIssueUserType? Type2668 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2668 { get; set; } /// /// /// - public global::G.WebhookIssuesLocked? Type2669 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecrets? Type2669 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedAction? Type2670 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2670 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssue? Type2671 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2671 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueActiveLockReason? Type2672 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSingleFile? Type2672 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueAssignee? Type2673 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsStatuses? Type2673 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueAssigneeType? Type2674 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2675 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2675 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueAssignee2? Type2676 { get; set; } + public global::G.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflows? Type2676 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueAssigneeType2? Type2677 { get; set; } + public global::G.WebhookIssuesEditedIssuePullRequest? Type2677 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueAuthorAssociation? Type2678 { get; set; } + public global::G.WebhookIssuesEditedIssueReactions? Type2678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2679 { get; set; } + public global::G.WebhookIssuesEditedIssueState? Type2679 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueLabel? Type2680 { get; set; } + public global::G.WebhookIssuesEditedIssueUser? Type2680 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueMilestone? Type2681 { get; set; } + public global::G.WebhookIssuesEditedIssueUserType? Type2681 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueMilestoneCreator? Type2682 { get; set; } + public global::G.WebhookIssuesLabeled? Type2682 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueMilestoneCreatorType? Type2683 { get; set; } + public global::G.WebhookIssuesLabeledAction? Type2683 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueMilestoneState? Type2684 { get; set; } + public global::G.WebhookIssuesLabeledIssue? Type2684 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubApp? Type2685 { get; set; } + public global::G.WebhookIssuesLabeledIssueActiveLockReason? Type2685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2686 { get; set; } + public global::G.WebhookIssuesLabeledIssueAssignee? Type2686 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppEvent? Type2687 { get; set; } + public global::G.WebhookIssuesLabeledIssueAssigneeType? Type2687 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppOwner? Type2688 { get; set; } + public global::System.Collections.Generic.IList? Type2688 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerType? Type2689 { get; set; } + public global::G.WebhookIssuesLabeledIssueAssignee2? Type2689 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissions? Type2690 { get; set; } + public global::G.WebhookIssuesLabeledIssueAssigneeType2? Type2690 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsActions? Type2691 { get; set; } + public global::G.WebhookIssuesLabeledIssueAuthorAssociation? Type2691 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsAdministration? Type2692 { get; set; } + public global::System.Collections.Generic.IList? Type2692 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsChecks? Type2693 { get; set; } + public global::G.WebhookIssuesLabeledIssueLabel? Type2693 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContentReferences? Type2694 { get; set; } + public global::G.WebhookIssuesLabeledIssueMilestone? Type2694 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContents? Type2695 { get; set; } + public global::G.WebhookIssuesLabeledIssueMilestoneCreator? Type2695 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDeployments? Type2696 { get; set; } + public global::G.WebhookIssuesLabeledIssueMilestoneCreatorType? Type2696 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDiscussions? Type2697 { get; set; } + public global::G.WebhookIssuesLabeledIssueMilestoneState? Type2697 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEmails? Type2698 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubApp? Type2698 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEnvironments? Type2699 { get; set; } + public global::System.Collections.Generic.IList? Type2699 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsIssues? Type2700 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? Type2700 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsKeys? Type2701 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppOwner? Type2701 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMembers? Type2702 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerType? Type2702 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMetadata? Type2703 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissions? Type2703 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2704 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsActions? Type2704 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2705 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsAdministration? Type2705 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2706 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsChecks? Type2706 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2707 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContentReferences? Type2707 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2708 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContents? Type2708 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2709 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDeployments? Type2709 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2710 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDiscussions? Type2710 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2711 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEmails? Type2711 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPackages? Type2712 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEnvironments? Type2712 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPages? Type2713 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsIssues? Type2713 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPullRequests? Type2714 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsKeys? Type2714 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2715 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMembers? Type2715 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2716 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMetadata? Type2716 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2717 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2717 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecrets? Type2718 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2718 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2719 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2719 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2720 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2720 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSingleFile? Type2721 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2721 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsStatuses? Type2722 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2722 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2723 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2723 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2724 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2724 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflows? Type2725 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPackages? Type2725 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssuePullRequest? Type2726 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPages? Type2726 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueReactions? Type2727 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPullRequests? Type2727 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueState? Type2728 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2728 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueUser? Type2729 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2729 { get; set; } /// /// /// - public global::G.WebhookIssuesLockedIssueUserType? Type2730 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2730 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestoned? Type2731 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecrets? Type2731 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedAction? Type2732 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2732 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssue? Type2733 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2733 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueActiveLockReason? Type2734 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSingleFile? Type2734 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueAssignee? Type2735 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsStatuses? Type2735 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueAssigneeType? Type2736 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2737 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2737 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueAssignee2? Type2738 { get; set; } + public global::G.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflows? Type2738 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueAssigneeType2? Type2739 { get; set; } + public global::G.WebhookIssuesLabeledIssuePullRequest? Type2739 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueAuthorAssociation? Type2740 { get; set; } + public global::G.WebhookIssuesLabeledIssueReactions? Type2740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2741 { get; set; } + public global::G.WebhookIssuesLabeledIssueState? Type2741 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueLabel? Type2742 { get; set; } + public global::G.WebhookIssuesLabeledIssueUser? Type2742 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueMilestone? Type2743 { get; set; } + public global::G.WebhookIssuesLabeledIssueUserType? Type2743 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueMilestoneCreator? Type2744 { get; set; } + public global::G.WebhookIssuesLocked? Type2744 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueMilestoneCreatorType? Type2745 { get; set; } + public global::G.WebhookIssuesLockedAction? Type2745 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueMilestoneState? Type2746 { get; set; } + public global::G.WebhookIssuesLockedIssue? Type2746 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubApp? Type2747 { get; set; } + public global::G.WebhookIssuesLockedIssueActiveLockReason? Type2747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2748 { get; set; } + public global::G.WebhookIssuesLockedIssueAssignee? Type2748 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? Type2749 { get; set; } + public global::G.WebhookIssuesLockedIssueAssigneeType? Type2749 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwner? Type2750 { get; set; } + public global::System.Collections.Generic.IList? Type2750 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerType? Type2751 { get; set; } + public global::G.WebhookIssuesLockedIssueAssignee2? Type2751 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissions? Type2752 { get; set; } + public global::G.WebhookIssuesLockedIssueAssigneeType2? Type2752 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsActions? Type2753 { get; set; } + public global::G.WebhookIssuesLockedIssueAuthorAssociation? Type2753 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2754 { get; set; } + public global::System.Collections.Generic.IList? Type2754 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2755 { get; set; } + public global::G.WebhookIssuesLockedIssueLabel? Type2755 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2756 { get; set; } + public global::G.WebhookIssuesLockedIssueMilestone? Type2756 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContents? Type2757 { get; set; } + public global::G.WebhookIssuesLockedIssueMilestoneCreator? Type2757 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2758 { get; set; } + public global::G.WebhookIssuesLockedIssueMilestoneCreatorType? Type2758 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2759 { get; set; } + public global::G.WebhookIssuesLockedIssueMilestoneState? Type2759 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2760 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubApp? Type2760 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2761 { get; set; } + public global::System.Collections.Generic.IList? Type2761 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2762 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppEvent? Type2762 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2763 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppOwner? Type2763 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2764 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerType? Type2764 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2765 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissions? Type2765 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2766 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsActions? Type2766 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2767 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsAdministration? Type2767 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2768 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsChecks? Type2768 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2769 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContentReferences? Type2769 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2770 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContents? Type2770 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2771 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDeployments? Type2771 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2772 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDiscussions? Type2772 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2773 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEmails? Type2773 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2774 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEnvironments? Type2774 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPages? Type2775 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsIssues? Type2775 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2776 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsKeys? Type2776 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2777 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMembers? Type2777 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2778 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMetadata? Type2778 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2779 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2779 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2780 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2780 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2781 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2781 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2782 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2782 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2783 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2783 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2784 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2784 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2785 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2785 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2786 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2786 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2787 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPackages? Type2787 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssuePullRequest? Type2788 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPages? Type2788 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueReactions? Type2789 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPullRequests? Type2789 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueState? Type2790 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2790 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueUser? Type2791 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2791 { get; set; } /// /// /// - public global::G.WebhookIssuesMilestonedIssueUserType? Type2792 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2792 { get; set; } /// /// /// - public global::G.WebhookIssuesOpened? Type2793 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecrets? Type2793 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedAction? Type2794 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2794 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChanges? Type2795 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2795 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssue? Type2796 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSingleFile? Type2796 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueActiveLockReason? Type2797 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsStatuses? Type2797 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueAssignee? Type2798 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2798 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueAssigneeType? Type2799 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2799 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2800 { get; set; } + public global::G.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflows? Type2800 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueAssignee2? Type2801 { get; set; } + public global::G.WebhookIssuesLockedIssuePullRequest? Type2801 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueAssigneeType2? Type2802 { get; set; } + public global::G.WebhookIssuesLockedIssueReactions? Type2802 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueAuthorAssociation? Type2803 { get; set; } + public global::G.WebhookIssuesLockedIssueState? Type2803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2804 { get; set; } + public global::G.WebhookIssuesLockedIssueUser? Type2804 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueLabel? Type2805 { get; set; } + public global::G.WebhookIssuesLockedIssueUserType? Type2805 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueMilestone? Type2806 { get; set; } + public global::G.WebhookIssuesMilestoned? Type2806 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneCreator? Type2807 { get; set; } + public global::G.WebhookIssuesMilestonedAction? Type2807 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorType? Type2808 { get; set; } + public global::G.WebhookIssuesMilestonedIssue? Type2808 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneState? Type2809 { get; set; } + public global::G.WebhookIssuesMilestonedIssueActiveLockReason? Type2809 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp? Type2810 { get; set; } + public global::G.WebhookIssuesMilestonedIssueAssignee? Type2810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2811 { get; set; } + public global::G.WebhookIssuesMilestonedIssueAssigneeType? Type2811 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? Type2812 { get; set; } + public global::System.Collections.Generic.IList? Type2812 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwner? Type2813 { get; set; } + public global::G.WebhookIssuesMilestonedIssueAssignee2? Type2813 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerType? Type2814 { get; set; } + public global::G.WebhookIssuesMilestonedIssueAssigneeType2? Type2814 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissions? Type2815 { get; set; } + public global::G.WebhookIssuesMilestonedIssueAuthorAssociation? Type2815 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsActions? Type2816 { get; set; } + public global::System.Collections.Generic.IList? Type2816 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsAdministration? Type2817 { get; set; } + public global::G.WebhookIssuesMilestonedIssueLabel? Type2817 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsChecks? Type2818 { get; set; } + public global::G.WebhookIssuesMilestonedIssueMilestone? Type2818 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContentReferences? Type2819 { get; set; } + public global::G.WebhookIssuesMilestonedIssueMilestoneCreator? Type2819 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContents? Type2820 { get; set; } + public global::G.WebhookIssuesMilestonedIssueMilestoneCreatorType? Type2820 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDeployments? Type2821 { get; set; } + public global::G.WebhookIssuesMilestonedIssueMilestoneState? Type2821 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDiscussions? Type2822 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubApp? Type2822 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEmails? Type2823 { get; set; } + public global::System.Collections.Generic.IList? Type2823 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEnvironments? Type2824 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? Type2824 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsIssues? Type2825 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwner? Type2825 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsKeys? Type2826 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerType? Type2826 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMembers? Type2827 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissions? Type2827 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMetadata? Type2828 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsActions? Type2828 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2829 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2829 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2830 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2830 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2831 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2831 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2832 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContents? Type2832 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2833 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2833 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2834 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2834 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2835 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2835 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2836 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2836 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPackages? Type2837 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2837 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPages? Type2838 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2838 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPullRequests? Type2839 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2839 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2840 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2840 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2841 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2841 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2842 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2842 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecrets? Type2843 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2843 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2844 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2844 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2845 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2845 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSingleFile? Type2846 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2846 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsStatuses? Type2847 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2847 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2848 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2848 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2849 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2849 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflows? Type2850 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPages? Type2850 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssuePullRequest? Type2851 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2851 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueReactions? Type2852 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2852 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueState? Type2853 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2853 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueUser? Type2854 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2854 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldIssueUserType? Type2855 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2855 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepository? Type2856 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2856 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepositoryLicense? Type2857 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2857 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepositoryOwner? Type2858 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2858 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepositoryOwnerType? Type2859 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2859 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepositoryPermissions? Type2860 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2860 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedChangesOldRepositoryVisibility? Type2861 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2861 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssue? Type2862 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2862 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueActiveLockReason? Type2863 { get; set; } + public global::G.WebhookIssuesMilestonedIssuePullRequest? Type2863 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueAssignee? Type2864 { get; set; } + public global::G.WebhookIssuesMilestonedIssueReactions? Type2864 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueAssigneeType? Type2865 { get; set; } + public global::G.WebhookIssuesMilestonedIssueState? Type2865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2866 { get; set; } + public global::G.WebhookIssuesMilestonedIssueUser? Type2866 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueAssignee2? Type2867 { get; set; } + public global::G.WebhookIssuesMilestonedIssueUserType? Type2867 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueAssigneeType2? Type2868 { get; set; } + public global::G.WebhookIssuesOpened? Type2868 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueAuthorAssociation? Type2869 { get; set; } + public global::G.WebhookIssuesOpenedAction? Type2869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2870 { get; set; } + public global::G.WebhookIssuesOpenedChanges? Type2870 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueLabel? Type2871 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssue? Type2871 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueMilestone? Type2872 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueActiveLockReason? Type2872 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueMilestoneCreator? Type2873 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueAssignee? Type2873 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueMilestoneCreatorType? Type2874 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueAssigneeType? Type2874 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueMilestoneState? Type2875 { get; set; } + public global::System.Collections.Generic.IList? Type2875 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubApp? Type2876 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueAssignee2? Type2876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2877 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueAssigneeType2? Type2877 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? Type2878 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueAuthorAssociation? Type2878 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppOwner? Type2879 { get; set; } + public global::System.Collections.Generic.IList? Type2879 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerType? Type2880 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueLabel? Type2880 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissions? Type2881 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueMilestone? Type2881 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsActions? Type2882 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneCreator? Type2882 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsAdministration? Type2883 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorType? Type2883 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsChecks? Type2884 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueMilestoneState? Type2884 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContentReferences? Type2885 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp? Type2885 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContents? Type2886 { get; set; } + public global::System.Collections.Generic.IList? Type2886 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDeployments? Type2887 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? Type2887 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDiscussions? Type2888 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwner? Type2888 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEmails? Type2889 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerType? Type2889 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEnvironments? Type2890 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissions? Type2890 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsIssues? Type2891 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsActions? Type2891 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsKeys? Type2892 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsAdministration? Type2892 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMembers? Type2893 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsChecks? Type2893 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMetadata? Type2894 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContentReferences? Type2894 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2895 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContents? Type2895 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2896 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDeployments? Type2896 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2897 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDiscussions? Type2897 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2898 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEmails? Type2898 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2899 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEnvironments? Type2899 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2900 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsIssues? Type2900 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2901 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsKeys? Type2901 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2902 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMembers? Type2902 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPackages? Type2903 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMetadata? Type2903 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPages? Type2904 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2904 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPullRequests? Type2905 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2905 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2906 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2906 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2907 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2907 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2908 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2908 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecrets? Type2909 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2909 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2910 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2910 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2911 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2911 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSingleFile? Type2912 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPackages? Type2912 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsStatuses? Type2913 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPages? Type2913 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2914 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPullRequests? Type2914 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2915 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2915 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflows? Type2916 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2916 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssuePullRequest? Type2917 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2917 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueReactions? Type2918 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecrets? Type2918 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueState? Type2919 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2919 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueUser? Type2920 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2920 { get; set; } /// /// /// - public global::G.WebhookIssuesOpenedIssueUserType? Type2921 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSingleFile? Type2921 { get; set; } /// /// /// - public global::G.WebhookIssuesPinned? Type2922 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsStatuses? Type2922 { get; set; } /// /// /// - public global::G.WebhookIssuesPinnedAction? Type2923 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2923 { get; set; } /// /// /// - public global::G.WebhookIssuesReopened? Type2924 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2924 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedAction? Type2925 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflows? Type2925 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssue? Type2926 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssuePullRequest? Type2926 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueActiveLockReason? Type2927 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueReactions? Type2927 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueAssignee? Type2928 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueState? Type2928 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueAssigneeType? Type2929 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueUser? Type2929 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2930 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldIssueUserType? Type2930 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueAssignee2? Type2931 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepository? Type2931 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueAssigneeType2? Type2932 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepositoryLicense? Type2932 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueAuthorAssociation? Type2933 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepositoryOwner? Type2933 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2934 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepositoryOwnerType? Type2934 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueLabel? Type2935 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepositoryPermissions? Type2935 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueMilestone? Type2936 { get; set; } + public global::G.WebhookIssuesOpenedChangesOldRepositoryVisibility? Type2936 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueMilestoneCreator? Type2937 { get; set; } + public global::G.WebhookIssuesOpenedIssue? Type2937 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueMilestoneCreatorType? Type2938 { get; set; } + public global::G.WebhookIssuesOpenedIssueActiveLockReason? Type2938 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueMilestoneState? Type2939 { get; set; } + public global::G.WebhookIssuesOpenedIssueAssignee? Type2939 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubApp? Type2940 { get; set; } + public global::G.WebhookIssuesOpenedIssueAssigneeType? Type2940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2941 { get; set; } + public global::System.Collections.Generic.IList? Type2941 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? Type2942 { get; set; } + public global::G.WebhookIssuesOpenedIssueAssignee2? Type2942 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppOwner? Type2943 { get; set; } + public global::G.WebhookIssuesOpenedIssueAssigneeType2? Type2943 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerType? Type2944 { get; set; } + public global::G.WebhookIssuesOpenedIssueAuthorAssociation? Type2944 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissions? Type2945 { get; set; } + public global::System.Collections.Generic.IList? Type2945 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsActions? Type2946 { get; set; } + public global::G.WebhookIssuesOpenedIssueLabel? Type2946 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsAdministration? Type2947 { get; set; } + public global::G.WebhookIssuesOpenedIssueMilestone? Type2947 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsChecks? Type2948 { get; set; } + public global::G.WebhookIssuesOpenedIssueMilestoneCreator? Type2948 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContentReferences? Type2949 { get; set; } + public global::G.WebhookIssuesOpenedIssueMilestoneCreatorType? Type2949 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContents? Type2950 { get; set; } + public global::G.WebhookIssuesOpenedIssueMilestoneState? Type2950 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDeployments? Type2951 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubApp? Type2951 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDiscussions? Type2952 { get; set; } + public global::System.Collections.Generic.IList? Type2952 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEmails? Type2953 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? Type2953 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEnvironments? Type2954 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppOwner? Type2954 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsIssues? Type2955 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerType? Type2955 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsKeys? Type2956 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissions? Type2956 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMembers? Type2957 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsActions? Type2957 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMetadata? Type2958 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsAdministration? Type2958 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2959 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsChecks? Type2959 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2960 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContentReferences? Type2960 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2961 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContents? Type2961 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2962 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDeployments? Type2962 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2963 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDiscussions? Type2963 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2964 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEmails? Type2964 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2965 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEnvironments? Type2965 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2966 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsIssues? Type2966 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPackages? Type2967 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsKeys? Type2967 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPages? Type2968 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMembers? Type2968 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPullRequests? Type2969 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMetadata? Type2969 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2970 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2970 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2971 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2971 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2972 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2972 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecrets? Type2973 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2973 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2974 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2974 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2975 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2975 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSingleFile? Type2976 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2976 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsStatuses? Type2977 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2977 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2978 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPackages? Type2978 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2979 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPages? Type2979 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflows? Type2980 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPullRequests? Type2980 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssuePullRequest? Type2981 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2981 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueReactions? Type2982 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2982 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueState? Type2983 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2983 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueUser? Type2984 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecrets? Type2984 { get; set; } /// /// /// - public global::G.WebhookIssuesReopenedIssueUserType? Type2985 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2985 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferred? Type2986 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2986 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredAction? Type2987 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSingleFile? Type2987 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChanges? Type2988 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsStatuses? Type2988 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssue? Type2989 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2989 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueActiveLockReason? Type2990 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2990 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueAssignee? Type2991 { get; set; } + public global::G.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflows? Type2991 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueAssigneeType? Type2992 { get; set; } + public global::G.WebhookIssuesOpenedIssuePullRequest? Type2992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2993 { get; set; } + public global::G.WebhookIssuesOpenedIssueReactions? Type2993 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueAssignee2? Type2994 { get; set; } + public global::G.WebhookIssuesOpenedIssueState? Type2994 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueAssigneeType2? Type2995 { get; set; } + public global::G.WebhookIssuesOpenedIssueUser? Type2995 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueAuthorAssociation? Type2996 { get; set; } + public global::G.WebhookIssuesOpenedIssueUserType? Type2996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2997 { get; set; } + public global::G.WebhookIssuesPinned? Type2997 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueLabel? Type2998 { get; set; } + public global::G.WebhookIssuesPinnedAction? Type2998 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueMilestone? Type2999 { get; set; } + public global::G.WebhookIssuesReopened? Type2999 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneCreator? Type3000 { get; set; } + public global::G.WebhookIssuesReopenedAction? Type3000 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorType? Type3001 { get; set; } + public global::G.WebhookIssuesReopenedIssue? Type3001 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneState? Type3002 { get; set; } + public global::G.WebhookIssuesReopenedIssueActiveLockReason? Type3002 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp? Type3003 { get; set; } + public global::G.WebhookIssuesReopenedIssueAssignee? Type3003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3004 { get; set; } + public global::G.WebhookIssuesReopenedIssueAssigneeType? Type3004 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? Type3005 { get; set; } + public global::System.Collections.Generic.IList? Type3005 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwner? Type3006 { get; set; } + public global::G.WebhookIssuesReopenedIssueAssignee2? Type3006 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerType? Type3007 { get; set; } + public global::G.WebhookIssuesReopenedIssueAssigneeType2? Type3007 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissions? Type3008 { get; set; } + public global::G.WebhookIssuesReopenedIssueAuthorAssociation? Type3008 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsActions? Type3009 { get; set; } + public global::System.Collections.Generic.IList? Type3009 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsAdministration? Type3010 { get; set; } + public global::G.WebhookIssuesReopenedIssueLabel? Type3010 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsChecks? Type3011 { get; set; } + public global::G.WebhookIssuesReopenedIssueMilestone? Type3011 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContentReferences? Type3012 { get; set; } + public global::G.WebhookIssuesReopenedIssueMilestoneCreator? Type3012 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContents? Type3013 { get; set; } + public global::G.WebhookIssuesReopenedIssueMilestoneCreatorType? Type3013 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDeployments? Type3014 { get; set; } + public global::G.WebhookIssuesReopenedIssueMilestoneState? Type3014 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDiscussions? Type3015 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubApp? Type3015 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEmails? Type3016 { get; set; } + public global::System.Collections.Generic.IList? Type3016 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEnvironments? Type3017 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? Type3017 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsIssues? Type3018 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppOwner? Type3018 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsKeys? Type3019 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerType? Type3019 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMembers? Type3020 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissions? Type3020 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMetadata? Type3021 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsActions? Type3021 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3022 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsAdministration? Type3022 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3023 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsChecks? Type3023 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3024 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContentReferences? Type3024 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3025 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContents? Type3025 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3026 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDeployments? Type3026 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3027 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDiscussions? Type3027 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3028 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEmails? Type3028 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3029 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEnvironments? Type3029 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPackages? Type3030 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsIssues? Type3030 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPages? Type3031 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsKeys? Type3031 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPullRequests? Type3032 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMembers? Type3032 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3033 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMetadata? Type3033 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3034 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3034 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3035 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3035 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecrets? Type3036 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3036 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3037 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3037 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3038 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3038 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSingleFile? Type3039 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3039 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsStatuses? Type3040 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3040 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3041 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3041 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3042 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPackages? Type3042 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflows? Type3043 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPages? Type3043 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssuePullRequest? Type3044 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPullRequests? Type3044 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueReactions? Type3045 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3045 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueState? Type3046 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3046 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueUser? Type3047 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3047 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewIssueUserType? Type3048 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecrets? Type3048 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepository? Type3049 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3049 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepositoryLicense? Type3050 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3050 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepositoryOwner? Type3051 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSingleFile? Type3051 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepositoryOwnerType? Type3052 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsStatuses? Type3052 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepositoryPermissions? Type3053 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3053 { get; set; } /// /// /// - public global::G.WebhookIssuesTransferredChangesNewRepositoryVisibility? Type3054 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3054 { get; set; } /// /// /// - public global::G.WebhookIssuesUnassigned? Type3055 { get; set; } + public global::G.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflows? Type3055 { get; set; } /// /// /// - public global::G.WebhookIssuesUnassignedAction? Type3056 { get; set; } + public global::G.WebhookIssuesReopenedIssuePullRequest? Type3056 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlabeled? Type3057 { get; set; } + public global::G.WebhookIssuesReopenedIssueReactions? Type3057 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlabeledAction? Type3058 { get; set; } + public global::G.WebhookIssuesReopenedIssueState? Type3058 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlocked? Type3059 { get; set; } + public global::G.WebhookIssuesReopenedIssueUser? Type3059 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedAction? Type3060 { get; set; } + public global::G.WebhookIssuesReopenedIssueUserType? Type3060 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssue? Type3061 { get; set; } + public global::G.WebhookIssuesTransferred? Type3061 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueActiveLockReason? Type3062 { get; set; } + public global::G.WebhookIssuesTransferredAction? Type3062 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueAssignee? Type3063 { get; set; } + public global::G.WebhookIssuesTransferredChanges? Type3063 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueAssigneeType? Type3064 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssue? Type3064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3065 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueActiveLockReason? Type3065 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueAssignee2? Type3066 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueAssignee? Type3066 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueAssigneeType2? Type3067 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueAssigneeType? Type3067 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueAuthorAssociation? Type3068 { get; set; } + public global::System.Collections.Generic.IList? Type3068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3069 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueAssignee2? Type3069 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueLabel? Type3070 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueAssigneeType2? Type3070 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueMilestone? Type3071 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueAuthorAssociation? Type3071 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueMilestoneCreator? Type3072 { get; set; } + public global::System.Collections.Generic.IList? Type3072 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueMilestoneCreatorType? Type3073 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueLabel? Type3073 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueMilestoneState? Type3074 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueMilestone? Type3074 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubApp? Type3075 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneCreator? Type3075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3076 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorType? Type3076 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? Type3077 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueMilestoneState? Type3077 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwner? Type3078 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp? Type3078 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerType? Type3079 { get; set; } + public global::System.Collections.Generic.IList? Type3079 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissions? Type3080 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? Type3080 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsActions? Type3081 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwner? Type3081 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsAdministration? Type3082 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerType? Type3082 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsChecks? Type3083 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissions? Type3083 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContentReferences? Type3084 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsActions? Type3084 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContents? Type3085 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsAdministration? Type3085 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDeployments? Type3086 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsChecks? Type3086 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDiscussions? Type3087 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContentReferences? Type3087 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEmails? Type3088 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContents? Type3088 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEnvironments? Type3089 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDeployments? Type3089 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsIssues? Type3090 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDiscussions? Type3090 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsKeys? Type3091 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEmails? Type3091 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMembers? Type3092 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEnvironments? Type3092 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMetadata? Type3093 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsIssues? Type3093 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3094 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsKeys? Type3094 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3095 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMembers? Type3095 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3096 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMetadata? Type3096 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3097 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3097 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3098 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3098 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3099 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3099 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3100 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3100 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3101 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3101 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPackages? Type3102 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3102 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPages? Type3103 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3103 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPullRequests? Type3104 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3104 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3105 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPackages? Type3105 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3106 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPages? Type3106 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3107 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPullRequests? Type3107 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecrets? Type3108 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3108 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3109 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3109 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3110 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3110 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSingleFile? Type3111 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecrets? Type3111 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsStatuses? Type3112 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3112 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3113 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3113 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3114 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSingleFile? Type3114 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflows? Type3115 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsStatuses? Type3115 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssuePullRequest? Type3116 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3116 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueReactions? Type3117 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3117 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueState? Type3118 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflows? Type3118 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueUser? Type3119 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssuePullRequest? Type3119 { get; set; } /// /// /// - public global::G.WebhookIssuesUnlockedIssueUserType? Type3120 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueReactions? Type3120 { get; set; } /// /// /// - public global::G.WebhookIssuesUnpinned? Type3121 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueState? Type3121 { get; set; } /// /// /// - public global::G.WebhookIssuesUnpinnedAction? Type3122 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueUser? Type3122 { get; set; } /// /// /// - public global::G.WebhookLabelCreated? Type3123 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewIssueUserType? Type3123 { get; set; } /// /// /// - public global::G.WebhookLabelCreatedAction? Type3124 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepository? Type3124 { get; set; } /// /// /// - public global::G.WebhookLabelDeleted? Type3125 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepositoryLicense? Type3125 { get; set; } /// /// /// - public global::G.WebhookLabelDeletedAction? Type3126 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepositoryOwner? Type3126 { get; set; } /// /// /// - public global::G.WebhookLabelEdited? Type3127 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepositoryOwnerType? Type3127 { get; set; } /// /// /// - public global::G.WebhookLabelEditedAction? Type3128 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepositoryPermissions? Type3128 { get; set; } /// /// /// - public global::G.WebhookLabelEditedChanges? Type3129 { get; set; } + public global::G.WebhookIssuesTransferredChangesNewRepositoryVisibility? Type3129 { get; set; } /// /// /// - public global::G.WebhookLabelEditedChangesColor? Type3130 { get; set; } + public global::G.WebhookIssuesUnassigned? Type3130 { get; set; } /// /// /// - public global::G.WebhookLabelEditedChangesDescription? Type3131 { get; set; } + public global::G.WebhookIssuesUnassignedAction? Type3131 { get; set; } /// /// /// - public global::G.WebhookLabelEditedChangesName? Type3132 { get; set; } + public global::G.WebhookIssuesUnlabeled? Type3132 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseCancelled? Type3133 { get; set; } + public global::G.WebhookIssuesUnlabeledAction? Type3133 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseCancelledAction? Type3134 { get; set; } + public global::G.WebhookIssuesUnlocked? Type3134 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChanged? Type3135 { get; set; } + public global::G.WebhookIssuesUnlockedAction? Type3135 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChangedAction? Type3136 { get; set; } + public global::G.WebhookIssuesUnlockedIssue? Type3136 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchase? Type3137 { get; set; } + public global::G.WebhookIssuesUnlockedIssueActiveLockReason? Type3137 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchaseAccount? Type3138 { get; set; } + public global::G.WebhookIssuesUnlockedIssueAssignee? Type3138 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlan? Type3139 { get; set; } + public global::G.WebhookIssuesUnlockedIssueAssigneeType? Type3139 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModel? Type3140 { get; set; } + public global::System.Collections.Generic.IList? Type3140 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChange? Type3141 { get; set; } + public global::G.WebhookIssuesUnlockedIssueAssignee2? Type3141 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeAction? Type3142 { get; set; } + public global::G.WebhookIssuesUnlockedIssueAssigneeType2? Type3142 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchase? Type3143 { get; set; } + public global::G.WebhookIssuesUnlockedIssueAuthorAssociation? Type3143 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchaseAccount? Type3144 { get; set; } + public global::System.Collections.Generic.IList? Type3144 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlan? Type3145 { get; set; } + public global::G.WebhookIssuesUnlockedIssueLabel? Type3145 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModel? Type3146 { get; set; } + public global::G.WebhookIssuesUnlockedIssueMilestone? Type3146 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelled? Type3147 { get; set; } + public global::G.WebhookIssuesUnlockedIssueMilestoneCreator? Type3147 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelledAction? Type3148 { get; set; } + public global::G.WebhookIssuesUnlockedIssueMilestoneCreatorType? Type3148 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase? Type3149 { get; set; } + public global::G.WebhookIssuesUnlockedIssueMilestoneState? Type3149 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount? Type3150 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubApp? Type3150 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan? Type3151 { get; set; } + public global::System.Collections.Generic.IList? Type3151 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModel? Type3152 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? Type3152 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePurchased? Type3153 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwner? Type3153 { get; set; } /// /// /// - public global::G.WebhookMarketplacePurchasePurchasedAction? Type3154 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerType? Type3154 { get; set; } /// /// /// - public global::G.WebhookMemberAdded? Type3155 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissions? Type3155 { get; set; } /// /// /// - public global::G.WebhookMemberAddedAction? Type3156 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsActions? Type3156 { get; set; } /// /// /// - public global::G.WebhookMemberAddedChanges? Type3157 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsAdministration? Type3157 { get; set; } /// /// /// - public global::G.WebhookMemberAddedChangesPermission? Type3158 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsChecks? Type3158 { get; set; } /// /// /// - public global::G.WebhookMemberAddedChangesPermissionTo? Type3159 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContentReferences? Type3159 { get; set; } /// /// /// - public global::G.WebhookMemberAddedChangesRoleName? Type3160 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContents? Type3160 { get; set; } /// /// /// - public global::G.WebhookMemberEdited? Type3161 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDeployments? Type3161 { get; set; } /// /// /// - public global::G.WebhookMemberEditedAction? Type3162 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDiscussions? Type3162 { get; set; } /// /// /// - public global::G.WebhookMemberEditedChanges? Type3163 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEmails? Type3163 { get; set; } /// /// /// - public global::G.WebhookMemberEditedChangesOldPermission? Type3164 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEnvironments? Type3164 { get; set; } /// /// /// - public global::G.WebhookMemberEditedChangesPermission? Type3165 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsIssues? Type3165 { get; set; } /// /// /// - public global::G.WebhookMemberRemoved? Type3166 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsKeys? Type3166 { get; set; } /// /// /// - public global::G.WebhookMemberRemovedAction? Type3167 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMembers? Type3167 { get; set; } /// /// /// - public global::G.WebhookMembershipAdded? Type3168 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMetadata? Type3168 { get; set; } /// /// /// - public global::G.WebhookMembershipAddedAction? Type3169 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3169 { get; set; } /// /// /// - public global::G.WebhookMembershipAddedScope? Type3170 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3170 { get; set; } /// /// /// - public global::G.WebhookMembershipAddedSender? Type3171 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3171 { get; set; } /// /// /// - public global::G.WebhookMembershipAddedSenderType? Type3172 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3172 { get; set; } /// /// /// - public global::G.WebhookMembershipRemoved? Type3173 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3173 { get; set; } /// /// /// - public global::G.WebhookMembershipRemovedAction? Type3174 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3174 { get; set; } /// /// /// - public global::G.WebhookMembershipRemovedScope? Type3175 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3175 { get; set; } /// /// /// - public global::G.WebhookMembershipRemovedSender? Type3176 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3176 { get; set; } /// /// /// - public global::G.WebhookMembershipRemovedSenderType? Type3177 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPackages? Type3177 { get; set; } /// /// /// - public global::G.WebhookMergeGroupChecksRequested? Type3178 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPages? Type3178 { get; set; } /// /// /// - public global::G.WebhookMergeGroupChecksRequestedAction? Type3179 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPullRequests? Type3179 { get; set; } /// /// /// - public global::G.WebhookMergeGroupDestroyed? Type3180 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3180 { get; set; } /// /// /// - public global::G.WebhookMergeGroupDestroyedAction? Type3181 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3181 { get; set; } /// /// /// - public global::G.WebhookMergeGroupDestroyedReason? Type3182 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3182 { get; set; } /// /// /// - public global::G.WebhookMetaDeleted? Type3183 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecrets? Type3183 { get; set; } /// /// /// - public global::G.WebhookMetaDeletedAction? Type3184 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3184 { get; set; } /// /// /// - public global::G.WebhookMetaDeletedHook? Type3185 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3185 { get; set; } /// /// /// - public global::G.WebhookMetaDeletedHookConfig? Type3186 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSingleFile? Type3186 { get; set; } /// /// /// - public global::G.WebhookMetaDeletedHookConfigContentType? Type3187 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsStatuses? Type3187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3188 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3188 { get; set; } /// /// /// - public global::G.WebhookMetaDeletedHookEvent? Type3189 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3189 { get; set; } /// /// /// - public global::G.WebhookMilestoneClosed? Type3190 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflows? Type3190 { get; set; } /// /// /// - public global::G.WebhookMilestoneClosedAction? Type3191 { get; set; } + public global::G.WebhookIssuesUnlockedIssuePullRequest? Type3191 { get; set; } /// /// /// - public global::G.WebhookMilestoneCreated? Type3192 { get; set; } + public global::G.WebhookIssuesUnlockedIssueReactions? Type3192 { get; set; } /// /// /// - public global::G.WebhookMilestoneCreatedAction? Type3193 { get; set; } + public global::G.WebhookIssuesUnlockedIssueState? Type3193 { get; set; } /// /// /// - public global::G.WebhookMilestoneDeleted? Type3194 { get; set; } + public global::G.WebhookIssuesUnlockedIssueUser? Type3194 { get; set; } /// /// /// - public global::G.WebhookMilestoneDeletedAction? Type3195 { get; set; } + public global::G.WebhookIssuesUnlockedIssueUserType? Type3195 { get; set; } /// /// /// - public global::G.WebhookMilestoneEdited? Type3196 { get; set; } + public global::G.WebhookIssuesUnpinned? Type3196 { get; set; } /// /// /// - public global::G.WebhookMilestoneEditedAction? Type3197 { get; set; } + public global::G.WebhookIssuesUnpinnedAction? Type3197 { get; set; } /// /// /// - public global::G.WebhookMilestoneEditedChanges? Type3198 { get; set; } + public global::G.WebhookLabelCreated? Type3198 { get; set; } /// /// /// - public global::G.WebhookMilestoneEditedChangesDescription? Type3199 { get; set; } + public global::G.WebhookLabelCreatedAction? Type3199 { get; set; } /// /// /// - public global::G.WebhookMilestoneEditedChangesDueOn? Type3200 { get; set; } + public global::G.WebhookLabelDeleted? Type3200 { get; set; } /// /// /// - public global::G.WebhookMilestoneEditedChangesTitle? Type3201 { get; set; } + public global::G.WebhookLabelDeletedAction? Type3201 { get; set; } /// /// /// - public global::G.WebhookMilestoneOpened? Type3202 { get; set; } + public global::G.WebhookLabelEdited? Type3202 { get; set; } /// /// /// - public global::G.WebhookMilestoneOpenedAction? Type3203 { get; set; } + public global::G.WebhookLabelEditedAction? Type3203 { get; set; } /// /// /// - public global::G.WebhookOrgBlockBlocked? Type3204 { get; set; } + public global::G.WebhookLabelEditedChanges? Type3204 { get; set; } /// /// /// - public global::G.WebhookOrgBlockBlockedAction? Type3205 { get; set; } + public global::G.WebhookLabelEditedChangesColor? Type3205 { get; set; } /// /// /// - public global::G.WebhookOrgBlockUnblocked? Type3206 { get; set; } + public global::G.WebhookLabelEditedChangesDescription? Type3206 { get; set; } /// /// /// - public global::G.WebhookOrgBlockUnblockedAction? Type3207 { get; set; } + public global::G.WebhookLabelEditedChangesName? Type3207 { get; set; } /// /// /// - public global::G.WebhookOrganizationDeleted? Type3208 { get; set; } + public global::G.WebhookMarketplacePurchaseCancelled? Type3208 { get; set; } /// /// /// - public global::G.WebhookOrganizationDeletedAction? Type3209 { get; set; } + public global::G.WebhookMarketplacePurchaseCancelledAction? Type3209 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberAdded? Type3210 { get; set; } + public global::G.WebhookMarketplacePurchaseChanged? Type3210 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberAddedAction? Type3211 { get; set; } + public global::G.WebhookMarketplacePurchaseChangedAction? Type3211 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberInvited? Type3212 { get; set; } + public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchase? Type3212 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberInvitedAction? Type3213 { get; set; } + public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchaseAccount? Type3213 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberInvitedInvitation? Type3214 { get; set; } + public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlan? Type3214 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberInvitedInvitationInviter? Type3215 { get; set; } + public global::G.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModel? Type3215 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberInvitedInvitationInviterType? Type3216 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChange? Type3216 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberRemoved? Type3217 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeAction? Type3217 { get; set; } /// /// /// - public global::G.WebhookOrganizationMemberRemovedAction? Type3218 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchase? Type3218 { get; set; } /// /// /// - public global::G.WebhookOrganizationRenamed? Type3219 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchaseAccount? Type3219 { get; set; } /// /// /// - public global::G.WebhookOrganizationRenamedAction? Type3220 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlan? Type3220 { get; set; } /// /// /// - public global::G.WebhookOrganizationRenamedChanges? Type3221 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModel? Type3221 { get; set; } /// /// /// - public global::G.WebhookOrganizationRenamedChangesLogin? Type3222 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelled? Type3222 { get; set; } /// /// /// - public global::G.WebhookRubygemsMetadata? Type3223 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelledAction? Type3223 { get; set; } /// /// /// - public global::G.WebhookRubygemsMetadataVersionInfo? Type3224 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase? Type3224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3225 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount? Type3225 { get; set; } /// /// /// - public global::G.WebhookPackagePublished? Type3226 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan? Type3226 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedAction? Type3227 { get; set; } + public global::G.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModel? Type3227 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackage? Type3228 { get; set; } + public global::G.WebhookMarketplacePurchasePurchased? Type3228 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackageOwner? Type3229 { get; set; } + public global::G.WebhookMarketplacePurchasePurchasedAction? Type3229 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackageOwnerType? Type3230 { get; set; } + public global::G.WebhookMemberAdded? Type3230 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersion? Type3231 { get; set; } + public global::G.WebhookMemberAddedAction? Type3231 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionAuthor? Type3232 { get; set; } + public global::G.WebhookMemberAddedChanges? Type3232 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionAuthorType? Type3233 { get; set; } + public global::G.WebhookMemberAddedChangesPermission? Type3233 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionContainerMetadata? Type3234 { get; set; } + public global::G.WebhookMemberAddedChangesPermissionTo? Type3234 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionContainerMetadataTag? Type3235 { get; set; } + public global::G.WebhookMemberAddedChangesRoleName? Type3235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3236 { get; set; } + public global::G.WebhookMemberEdited? Type3236 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem? Type3237 { get; set; } + public global::G.WebhookMemberEditedAction? Type3237 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionNpmMetadata? Type3238 { get; set; } + public global::G.WebhookMemberEditedChanges? Type3238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3239 { get; set; } + public global::G.WebhookMemberEditedChangesOldPermission? Type3239 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem? Type3240 { get; set; } + public global::G.WebhookMemberEditedChangesPermission? Type3240 { get; set; } /// /// /// - public global::G.OneOf? Type3241 { get; set; } + public global::G.WebhookMemberRemoved? Type3241 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue? Type3242 { get; set; } + public global::G.WebhookMemberRemovedAction? Type3242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3243 { get; set; } + public global::G.WebhookMembershipAdded? Type3243 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionPackageFile? Type3244 { get; set; } + public global::G.WebhookMembershipAddedAction? Type3244 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionRelease? Type3245 { get; set; } + public global::G.WebhookMembershipAddedScope? Type3245 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionReleaseAuthor? Type3246 { get; set; } + public global::G.WebhookMembershipAddedSender? Type3246 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackagePackageVersionReleaseAuthorType? Type3247 { get; set; } + public global::G.WebhookMembershipAddedSenderType? Type3247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3248 { get; set; } + public global::G.WebhookMembershipRemoved? Type3248 { get; set; } /// /// /// - public global::G.WebhookPackagePublishedPackageRegistry? Type3249 { get; set; } + public global::G.WebhookMembershipRemovedAction? Type3249 { get; set; } /// /// /// - public global::G.WebhookPackageUpdated? Type3250 { get; set; } + public global::G.WebhookMembershipRemovedScope? Type3250 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedAction? Type3251 { get; set; } + public global::G.WebhookMembershipRemovedSender? Type3251 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackage? Type3252 { get; set; } + public global::G.WebhookMembershipRemovedSenderType? Type3252 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackageOwner? Type3253 { get; set; } + public global::G.WebhookMergeGroupChecksRequested? Type3253 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackageOwnerType? Type3254 { get; set; } + public global::G.WebhookMergeGroupChecksRequestedAction? Type3254 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersion? Type3255 { get; set; } + public global::G.WebhookMergeGroupDestroyed? Type3255 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionAuthor? Type3256 { get; set; } + public global::G.WebhookMergeGroupDestroyedAction? Type3256 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionAuthorType? Type3257 { get; set; } + public global::G.WebhookMergeGroupDestroyedReason? Type3257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3258 { get; set; } + public global::G.WebhookMetaDeleted? Type3258 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem? Type3259 { get; set; } + public global::G.WebhookMetaDeletedAction? Type3259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3260 { get; set; } + public global::G.WebhookMetaDeletedHook? Type3260 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionPackageFile? Type3261 { get; set; } + public global::G.WebhookMetaDeletedHookConfig? Type3261 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionRelease? Type3262 { get; set; } + public global::G.WebhookMetaDeletedHookConfigContentType? Type3262 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionReleaseAuthor? Type3263 { get; set; } + public global::System.Collections.Generic.IList? Type3263 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorType? Type3264 { get; set; } + public global::G.WebhookMetaDeletedHookEvent? Type3264 { get; set; } /// /// /// - public global::G.WebhookPackageUpdatedPackageRegistry? Type3265 { get; set; } + public global::G.WebhookMilestoneClosed? Type3265 { get; set; } /// /// /// - public global::G.WebhookPageBuild? Type3266 { get; set; } + public global::G.WebhookMilestoneClosedAction? Type3266 { get; set; } /// /// /// - public global::G.WebhookPageBuildBuild? Type3267 { get; set; } + public global::G.WebhookMilestoneCreated? Type3267 { get; set; } /// /// /// - public global::G.WebhookPageBuildBuildError? Type3268 { get; set; } + public global::G.WebhookMilestoneCreatedAction? Type3268 { get; set; } /// /// /// - public global::G.WebhookPageBuildBuildPusher? Type3269 { get; set; } + public global::G.WebhookMilestoneDeleted? Type3269 { get; set; } /// /// /// - public global::G.WebhookPageBuildBuildPusherType? Type3270 { get; set; } + public global::G.WebhookMilestoneDeletedAction? Type3270 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestApproved? Type3271 { get; set; } + public global::G.WebhookMilestoneEdited? Type3271 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestApprovedAction? Type3272 { get; set; } + public global::G.WebhookMilestoneEditedAction? Type3272 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestCancelled? Type3273 { get; set; } + public global::G.WebhookMilestoneEditedChanges? Type3273 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestCancelledAction? Type3274 { get; set; } + public global::G.WebhookMilestoneEditedChangesDescription? Type3274 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestCreated? Type3275 { get; set; } + public global::G.WebhookMilestoneEditedChangesDueOn? Type3275 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestCreatedAction? Type3276 { get; set; } + public global::G.WebhookMilestoneEditedChangesTitle? Type3276 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestDenied? Type3277 { get; set; } + public global::G.WebhookMilestoneOpened? Type3277 { get; set; } /// /// /// - public global::G.WebhookPersonalAccessTokenRequestDeniedAction? Type3278 { get; set; } + public global::G.WebhookMilestoneOpenedAction? Type3278 { get; set; } /// /// /// - public global::G.WebhookPing? Type3279 { get; set; } + public global::G.WebhookOrgBlockBlocked? Type3279 { get; set; } /// /// /// - public global::G.WebhookPingHook? Type3280 { get; set; } + public global::G.WebhookOrgBlockBlockedAction? Type3280 { get; set; } /// /// /// - public global::G.WebhookPingHookConfig? Type3281 { get; set; } + public global::G.WebhookOrgBlockUnblocked? Type3281 { get; set; } /// /// /// - public global::G.WebhookPingHookName? Type3282 { get; set; } + public global::G.WebhookOrgBlockUnblockedAction? Type3282 { get; set; } /// /// /// - public global::G.WebhookPingFormEncoded? Type3283 { get; set; } + public global::G.WebhookOrganizationDeleted? Type3283 { get; set; } /// /// /// - public global::G.WebhookProjectCardConverted? Type3284 { get; set; } + public global::G.WebhookOrganizationDeletedAction? Type3284 { get; set; } /// /// /// - public global::G.WebhookProjectCardConvertedAction? Type3285 { get; set; } + public global::G.WebhookOrganizationMemberAdded? Type3285 { get; set; } /// /// /// - public global::G.WebhookProjectCardConvertedChanges? Type3286 { get; set; } + public global::G.WebhookOrganizationMemberAddedAction? Type3286 { get; set; } /// /// /// - public global::G.WebhookProjectCardConvertedChangesNote? Type3287 { get; set; } + public global::G.WebhookOrganizationMemberInvited? Type3287 { get; set; } /// /// /// - public global::G.WebhookProjectCardCreated? Type3288 { get; set; } + public global::G.WebhookOrganizationMemberInvitedAction? Type3288 { get; set; } /// /// /// - public global::G.WebhookProjectCardCreatedAction? Type3289 { get; set; } + public global::G.WebhookOrganizationMemberInvitedInvitation? Type3289 { get; set; } /// /// /// - public global::G.WebhookProjectCardDeleted? Type3290 { get; set; } + public global::G.WebhookOrganizationMemberInvitedInvitationInviter? Type3290 { get; set; } /// /// /// - public global::G.WebhookProjectCardDeletedAction? Type3291 { get; set; } + public global::G.WebhookOrganizationMemberInvitedInvitationInviterType? Type3291 { get; set; } /// /// /// - public global::G.WebhookProjectCardDeletedProjectCard? Type3292 { get; set; } + public global::G.WebhookOrganizationMemberRemoved? Type3292 { get; set; } /// /// /// - public global::G.WebhookProjectCardDeletedProjectCardCreator? Type3293 { get; set; } + public global::G.WebhookOrganizationMemberRemovedAction? Type3293 { get; set; } /// /// /// - public global::G.WebhookProjectCardDeletedProjectCardCreatorType? Type3294 { get; set; } + public global::G.WebhookOrganizationRenamed? Type3294 { get; set; } /// /// /// - public global::G.WebhookProjectCardEdited? Type3295 { get; set; } + public global::G.WebhookOrganizationRenamedAction? Type3295 { get; set; } /// /// /// - public global::G.WebhookProjectCardEditedAction? Type3296 { get; set; } + public global::G.WebhookOrganizationRenamedChanges? Type3296 { get; set; } /// /// /// - public global::G.WebhookProjectCardEditedChanges? Type3297 { get; set; } + public global::G.WebhookOrganizationRenamedChangesLogin? Type3297 { get; set; } /// /// /// - public global::G.WebhookProjectCardEditedChangesNote? Type3298 { get; set; } + public global::G.WebhookRubygemsMetadata? Type3298 { get; set; } /// /// /// - public global::G.WebhookProjectCardMoved? Type3299 { get; set; } + public global::G.WebhookRubygemsMetadataVersionInfo? Type3299 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedAction? Type3300 { get; set; } + public global::System.Collections.Generic.IList>? Type3300 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedChanges? Type3301 { get; set; } + public global::G.WebhookPackagePublished? Type3301 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedChangesColumnId? Type3302 { get; set; } + public global::G.WebhookPackagePublishedAction? Type3302 { get; set; } /// /// /// - public global::G.AllOf? Type3303 { get; set; } + public global::G.WebhookPackagePublishedPackage? Type3303 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedProjectCardVariant1? Type3304 { get; set; } + public global::G.WebhookPackagePublishedPackageOwner? Type3304 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedProjectCardVariant1Creator? Type3305 { get; set; } + public global::G.WebhookPackagePublishedPackageOwnerType? Type3305 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedProjectCardVariant1CreatorType? Type3306 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersion? Type3306 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedProjectCardVariant2? Type3307 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionAuthor? Type3307 { get; set; } /// /// /// - public global::G.WebhookProjectCardMovedProjectCardVariant2Creator? Type3308 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionAuthorType? Type3308 { get; set; } /// /// /// - public global::G.WebhookProjectClosed? Type3309 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionContainerMetadata? Type3309 { get; set; } /// /// /// - public global::G.WebhookProjectClosedAction? Type3310 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionContainerMetadataTag? Type3310 { get; set; } /// /// /// - public global::G.WebhookProjectColumnCreated? Type3311 { get; set; } + public global::System.Collections.Generic.IList? Type3311 { get; set; } /// /// /// - public global::G.WebhookProjectColumnCreatedAction? Type3312 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem? Type3312 { get; set; } /// /// /// - public global::G.WebhookProjectColumnDeleted? Type3313 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionNpmMetadata? Type3313 { get; set; } /// /// /// - public global::G.WebhookProjectColumnDeletedAction? Type3314 { get; set; } + public global::System.Collections.Generic.IList? Type3314 { get; set; } /// /// /// - public global::G.WebhookProjectColumnEdited? Type3315 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem? Type3315 { get; set; } /// /// /// - public global::G.WebhookProjectColumnEditedAction? Type3316 { get; set; } + public global::G.OneOf? Type3316 { get; set; } /// /// /// - public global::G.WebhookProjectColumnEditedChanges? Type3317 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue? Type3317 { get; set; } /// /// /// - public global::G.WebhookProjectColumnEditedChangesName? Type3318 { get; set; } + public global::System.Collections.Generic.IList? Type3318 { get; set; } /// /// /// - public global::G.WebhookProjectColumnMoved? Type3319 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionPackageFile? Type3319 { get; set; } /// /// /// - public global::G.WebhookProjectColumnMovedAction? Type3320 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionRelease? Type3320 { get; set; } /// /// /// - public global::G.WebhookProjectCreated? Type3321 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionReleaseAuthor? Type3321 { get; set; } /// /// /// - public global::G.WebhookProjectCreatedAction? Type3322 { get; set; } + public global::G.WebhookPackagePublishedPackagePackageVersionReleaseAuthorType? Type3322 { get; set; } /// /// /// - public global::G.WebhookProjectDeleted? Type3323 { get; set; } + public global::System.Collections.Generic.IList? Type3323 { get; set; } /// /// /// - public global::G.WebhookProjectDeletedAction? Type3324 { get; set; } + public global::G.WebhookPackagePublishedPackageRegistry? Type3324 { get; set; } /// /// /// - public global::G.WebhookProjectEdited? Type3325 { get; set; } + public global::G.WebhookPackageUpdated? Type3325 { get; set; } /// /// /// - public global::G.WebhookProjectEditedAction? Type3326 { get; set; } + public global::G.WebhookPackageUpdatedAction? Type3326 { get; set; } /// /// /// - public global::G.WebhookProjectEditedChanges? Type3327 { get; set; } + public global::G.WebhookPackageUpdatedPackage? Type3327 { get; set; } /// /// /// - public global::G.WebhookProjectEditedChangesBody? Type3328 { get; set; } + public global::G.WebhookPackageUpdatedPackageOwner? Type3328 { get; set; } /// /// /// - public global::G.WebhookProjectEditedChangesName? Type3329 { get; set; } + public global::G.WebhookPackageUpdatedPackageOwnerType? Type3329 { get; set; } /// /// /// - public global::G.WebhookProjectReopened? Type3330 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersion? Type3330 { get; set; } /// /// /// - public global::G.WebhookProjectReopenedAction? Type3331 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionAuthor? Type3331 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectClosed? Type3332 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionAuthorType? Type3332 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectClosedAction? Type3333 { get; set; } + public global::System.Collections.Generic.IList? Type3333 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectCreated? Type3334 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem? Type3334 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectCreatedAction? Type3335 { get; set; } + public global::System.Collections.Generic.IList? Type3335 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectDeleted? Type3336 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionPackageFile? Type3336 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectDeletedAction? Type3337 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionRelease? Type3337 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEdited? Type3338 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionReleaseAuthor? Type3338 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedAction? Type3339 { get; set; } + public global::G.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorType? Type3339 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedChanges? Type3340 { get; set; } + public global::G.WebhookPackageUpdatedPackageRegistry? Type3340 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedChangesDescription? Type3341 { get; set; } + public global::G.WebhookPageBuild? Type3341 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedChangesPublic? Type3342 { get; set; } + public global::G.WebhookPageBuildBuild? Type3342 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedChangesShortDescription? Type3343 { get; set; } + public global::G.WebhookPageBuildBuildError? Type3343 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectEditedChangesTitle? Type3344 { get; set; } + public global::G.WebhookPageBuildBuildPusher? Type3344 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemArchived? Type3345 { get; set; } + public global::G.WebhookPageBuildBuildPusherType? Type3345 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemArchivedAction? Type3346 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestApproved? Type3346 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemConverted? Type3347 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestApprovedAction? Type3347 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemConvertedAction? Type3348 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestCancelled? Type3348 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemConvertedChanges? Type3349 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestCancelledAction? Type3349 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemConvertedChangesContentType? Type3350 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestCreated? Type3350 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemCreated? Type3351 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestCreatedAction? Type3351 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemCreatedAction? Type3352 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestDenied? Type3352 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemDeleted? Type3353 { get; set; } + public global::G.WebhookPersonalAccessTokenRequestDeniedAction? Type3353 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemDeletedAction? Type3354 { get; set; } + public global::G.WebhookPing? Type3354 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEdited? Type3355 { get; set; } + public global::G.WebhookPingHook? Type3355 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEditedAction? Type3356 { get; set; } + public global::G.WebhookPingHookConfig? Type3356 { get; set; } /// /// /// - public global::G.OneOf? Type3357 { get; set; } + public global::G.WebhookPingHookName? Type3357 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEditedChangesVariant1? Type3358 { get; set; } + public global::G.WebhookPingFormEncoded? Type3358 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEditedChangesVariant1FieldValue? Type3359 { get; set; } + public global::G.WebhookProjectCardConverted? Type3359 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEditedChangesVariant2? Type3360 { get; set; } + public global::G.WebhookProjectCardConvertedAction? Type3360 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemEditedChangesVariant2Body? Type3361 { get; set; } + public global::G.WebhookProjectCardConvertedChanges? Type3361 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemReordered? Type3362 { get; set; } + public global::G.WebhookProjectCardConvertedChangesNote? Type3362 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemReorderedAction? Type3363 { get; set; } + public global::G.WebhookProjectCardCreated? Type3363 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemReorderedChanges? Type3364 { get; set; } + public global::G.WebhookProjectCardCreatedAction? Type3364 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemReorderedChangesPreviousProjectsV2ItemNodeId? Type3365 { get; set; } + public global::G.WebhookProjectCardDeleted? Type3365 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemRestored? Type3366 { get; set; } + public global::G.WebhookProjectCardDeletedAction? Type3366 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ItemRestoredAction? Type3367 { get; set; } + public global::G.WebhookProjectCardDeletedProjectCard? Type3367 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectReopened? Type3368 { get; set; } + public global::G.WebhookProjectCardDeletedProjectCardCreator? Type3368 { get; set; } /// /// /// - public global::G.WebhookProjectsV2ProjectReopenedAction? Type3369 { get; set; } + public global::G.WebhookProjectCardDeletedProjectCardCreatorType? Type3369 { get; set; } /// /// /// - public global::G.WebhookPublic? Type3370 { get; set; } + public global::G.WebhookProjectCardEdited? Type3370 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssigned? Type3371 { get; set; } + public global::G.WebhookProjectCardEditedAction? Type3371 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedAction? Type3372 { get; set; } + public global::G.WebhookProjectCardEditedChanges? Type3372 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequest? Type3373 { get; set; } + public global::G.WebhookProjectCardEditedChangesNote? Type3373 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinks? Type3374 { get; set; } + public global::G.WebhookProjectCardMoved? Type3374 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksComments? Type3375 { get; set; } + public global::G.WebhookProjectCardMovedAction? Type3375 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksCommits? Type3376 { get; set; } + public global::G.WebhookProjectCardMovedChanges? Type3376 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksHtml? Type3377 { get; set; } + public global::G.WebhookProjectCardMovedChangesColumnId? Type3377 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksIssue? Type3378 { get; set; } + public global::G.AllOf? Type3378 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksReviewComment? Type3379 { get; set; } + public global::G.WebhookProjectCardMovedProjectCardVariant1? Type3379 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksReviewComments? Type3380 { get; set; } + public global::G.WebhookProjectCardMovedProjectCardVariant1Creator? Type3380 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksSelf? Type3381 { get; set; } + public global::G.WebhookProjectCardMovedProjectCardVariant1CreatorType? Type3381 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLinksStatuses? Type3382 { get; set; } + public global::G.WebhookProjectCardMovedProjectCardVariant2? Type3382 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestActiveLockReason? Type3383 { get; set; } + public global::G.WebhookProjectCardMovedProjectCardVariant2Creator? Type3383 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAssignee? Type3384 { get; set; } + public global::G.WebhookProjectClosed? Type3384 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAssigneeType? Type3385 { get; set; } + public global::G.WebhookProjectClosedAction? Type3385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3386 { get; set; } + public global::G.WebhookProjectColumnCreated? Type3386 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAssignee2? Type3387 { get; set; } + public global::G.WebhookProjectColumnCreatedAction? Type3387 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAssigneeType2? Type3388 { get; set; } + public global::G.WebhookProjectColumnDeleted? Type3388 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAuthorAssociation? Type3389 { get; set; } + public global::G.WebhookProjectColumnDeletedAction? Type3389 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAutoMerge? Type3390 { get; set; } + public global::G.WebhookProjectColumnEdited? Type3390 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAutoMergeEnabledBy? Type3391 { get; set; } + public global::G.WebhookProjectColumnEditedAction? Type3391 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByType? Type3392 { get; set; } + public global::G.WebhookProjectColumnEditedChanges? Type3392 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethod? Type3393 { get; set; } + public global::G.WebhookProjectColumnEditedChangesName? Type3393 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBase? Type3394 { get; set; } + public global::G.WebhookProjectColumnMoved? Type3394 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepo? Type3395 { get; set; } + public global::G.WebhookProjectColumnMovedAction? Type3395 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoLicense? Type3396 { get; set; } + public global::G.WebhookProjectCreated? Type3396 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessage? Type3397 { get; set; } + public global::G.WebhookProjectCreatedAction? Type3397 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitle? Type3398 { get; set; } + public global::G.WebhookProjectDeleted? Type3398 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoOwner? Type3399 { get; set; } + public global::G.WebhookProjectDeletedAction? Type3399 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoOwnerType? Type3400 { get; set; } + public global::G.WebhookProjectEdited? Type3400 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoPermissions? Type3401 { get; set; } + public global::G.WebhookProjectEditedAction? Type3401 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessage? Type3402 { get; set; } + public global::G.WebhookProjectEditedChanges? Type3402 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitTitle? Type3403 { get; set; } + public global::G.WebhookProjectEditedChangesBody? Type3403 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseRepoVisibility? Type3404 { get; set; } + public global::G.WebhookProjectEditedChangesName? Type3404 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseUser? Type3405 { get; set; } + public global::G.WebhookProjectReopened? Type3405 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestBaseUserType? Type3406 { get; set; } + public global::G.WebhookProjectReopenedAction? Type3406 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHead? Type3407 { get; set; } + public global::G.WebhookProjectsV2ProjectClosed? Type3407 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepo? Type3408 { get; set; } + public global::G.WebhookProjectsV2ProjectClosedAction? Type3408 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoLicense? Type3409 { get; set; } + public global::G.WebhookProjectsV2ProjectCreated? Type3409 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessage? Type3410 { get; set; } + public global::G.WebhookProjectsV2ProjectCreatedAction? Type3410 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitle? Type3411 { get; set; } + public global::G.WebhookProjectsV2ProjectDeleted? Type3411 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoOwner? Type3412 { get; set; } + public global::G.WebhookProjectsV2ProjectDeletedAction? Type3412 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoOwnerType? Type3413 { get; set; } + public global::G.WebhookProjectsV2ProjectEdited? Type3413 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoPermissions? Type3414 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedAction? Type3414 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessage? Type3415 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedChanges? Type3415 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitTitle? Type3416 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedChangesDescription? Type3416 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadRepoVisibility? Type3417 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedChangesPublic? Type3417 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadUser? Type3418 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedChangesShortDescription? Type3418 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestHeadUserType? Type3419 { get; set; } + public global::G.WebhookProjectsV2ProjectEditedChangesTitle? Type3419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3420 { get; set; } + public global::G.WebhookProjectsV2ItemArchived? Type3420 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestLabel? Type3421 { get; set; } + public global::G.WebhookProjectsV2ItemArchivedAction? Type3421 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMergedBy? Type3422 { get; set; } + public global::G.WebhookProjectsV2ItemConverted? Type3422 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMergedByType? Type3423 { get; set; } + public global::G.WebhookProjectsV2ItemConvertedAction? Type3423 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMilestone? Type3424 { get; set; } + public global::G.WebhookProjectsV2ItemConvertedChanges? Type3424 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMilestoneCreator? Type3425 { get; set; } + public global::G.WebhookProjectsV2ItemConvertedChangesContentType? Type3425 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMilestoneCreatorType? Type3426 { get; set; } + public global::G.WebhookProjectsV2ItemCreated? Type3426 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestMilestoneState? Type3427 { get; set; } + public global::G.WebhookProjectsV2ItemCreatedAction? Type3427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3428 { get; set; } + public global::G.WebhookProjectsV2ItemDeleted? Type3428 { get; set; } /// /// /// - public global::G.OneOf? Type3429 { get; set; } + public global::G.WebhookProjectsV2ItemDeletedAction? Type3429 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1? Type3430 { get; set; } + public global::G.WebhookProjectsV2ItemEdited? Type3430 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? Type3431 { get; set; } + public global::G.WebhookProjectsV2ItemEditedAction? Type3431 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2? Type3432 { get; set; } + public global::G.OneOf? Type3432 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent? Type3433 { get; set; } + public global::G.WebhookProjectsV2ItemEditedChangesVariant1? Type3433 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3434 { get; set; } + public global::G.WebhookProjectsV2ItemEditedChangesVariant1FieldValue? Type3434 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? Type3435 { get; set; } + public global::G.OneOf? Type3435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3436 { get; set; } + public global::G.WebhookProjectsV2ItemEditedChangesVariant2? Type3436 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedTeam? Type3437 { get; set; } + public global::G.WebhookProjectsV2ItemEditedChangesVariant2Body? Type3437 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamParent? Type3438 { get; set; } + public global::G.WebhookProjectsV2ItemReordered? Type3438 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? Type3439 { get; set; } + public global::G.WebhookProjectsV2ItemReorderedAction? Type3439 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? Type3440 { get; set; } + public global::G.WebhookProjectsV2ItemReorderedChanges? Type3440 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestState? Type3441 { get; set; } + public global::G.WebhookProjectsV2ItemReorderedChangesPreviousProjectsV2ItemNodeId? Type3441 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestUser? Type3442 { get; set; } + public global::G.WebhookProjectsV2ItemRestored? Type3442 { get; set; } /// /// /// - public global::G.WebhookPullRequestAssignedPullRequestUserType? Type3443 { get; set; } + public global::G.WebhookProjectsV2ItemRestoredAction? Type3443 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabled? Type3444 { get; set; } + public global::G.WebhookProjectsV2ProjectReopened? Type3444 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledAction? Type3445 { get; set; } + public global::G.WebhookProjectsV2ProjectReopenedAction? Type3445 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequest? Type3446 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateCreated? Type3446 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinks? Type3447 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateCreatedAction? Type3447 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksComments? Type3448 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateDeleted? Type3448 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksCommits? Type3449 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateDeletedAction? Type3449 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksHtml? Type3450 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEdited? Type3450 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksIssue? Type3451 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedAction? Type3451 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComment? Type3452 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChanges? Type3452 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComments? Type3453 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesBody? Type3453 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksSelf? Type3454 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatus? Type3454 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksStatuses? Type3455 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? Type3455 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReason? Type3456 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? Type3456 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssignee? Type3457 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesStartDate? Type3457 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType? Type3458 { get; set; } + public global::G.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? Type3458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3459 { get; set; } + public global::G.WebhookPublic? Type3459 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2? Type3460 { get; set; } + public global::G.WebhookPullRequestAssigned? Type3460 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? Type3461 { get; set; } + public global::G.WebhookPullRequestAssignedAction? Type3461 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociation? Type3462 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequest? Type3462 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMerge? Type3463 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinks? Type3463 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledBy? Type3464 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksComments? Type3464 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByType? Type3465 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksCommits? Type3465 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethod? Type3466 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksHtml? Type3466 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBase? Type3467 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksIssue? Type3467 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo? Type3468 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksReviewComment? Type3468 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoLicense? Type3469 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksReviewComments? Type3469 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessage? Type3470 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksSelf? Type3470 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitle? Type3471 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLinksStatuses? Type3471 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwner? Type3472 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestActiveLockReason? Type3472 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerType? Type3473 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAssignee? Type3473 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoPermissions? Type3474 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAssigneeType? Type3474 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessage? Type3475 { get; set; } + public global::System.Collections.Generic.IList? Type3475 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitTitle? Type3476 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAssignee2? Type3476 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoVisibility? Type3477 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAssigneeType2? Type3477 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser? Type3478 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAuthorAssociation? Type3478 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserType? Type3479 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAutoMerge? Type3479 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHead? Type3480 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAutoMergeEnabledBy? Type3480 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo? Type3481 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByType? Type3481 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoLicense? Type3482 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethod? Type3482 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessage? Type3483 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBase? Type3483 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitle? Type3484 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepo? Type3484 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwner? Type3485 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoLicense? Type3485 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerType? Type3486 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessage? Type3486 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoPermissions? Type3487 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitle? Type3487 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessage? Type3488 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoOwner? Type3488 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitTitle? Type3489 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoOwnerType? Type3489 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoVisibility? Type3490 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoPermissions? Type3490 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser? Type3491 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessage? Type3491 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadUserType? Type3492 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitTitle? Type3492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3493 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseRepoVisibility? Type3493 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLabel? Type3494 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseUser? Type3494 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMergedBy? Type3495 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestBaseUserType? Type3495 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMergedByType? Type3496 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHead? Type3496 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestone? Type3497 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepo? Type3497 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreator? Type3498 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoLicense? Type3498 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreatorType? Type3499 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessage? Type3499 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneState? Type3500 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitle? Type3500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3501 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoOwner? Type3501 { get; set; } /// /// /// - public global::G.OneOf? Type3502 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoOwnerType? Type3502 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1? Type3503 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoPermissions? Type3503 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? Type3504 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessage? Type3504 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2? Type3505 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitTitle? Type3505 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent? Type3506 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadRepoVisibility? Type3506 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3507 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadUser? Type3507 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? Type3508 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestHeadUserType? Type3508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3509 { get; set; } + public global::System.Collections.Generic.IList? Type3509 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam? Type3510 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestLabel? Type3510 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent? Type3511 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMergedBy? Type3511 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? Type3512 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMergedByType? Type3512 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? Type3513 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMilestone? Type3513 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestState? Type3514 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMilestoneCreator? Type3514 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestUser? Type3515 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMilestoneCreatorType? Type3515 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeDisabledPullRequestUserType? Type3516 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestMilestoneState? Type3516 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabled? Type3517 { get; set; } + public global::System.Collections.Generic.IList>? Type3517 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledAction? Type3518 { get; set; } + public global::G.OneOf? Type3518 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequest? Type3519 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1? Type3519 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinks? Type3520 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? Type3520 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksComments? Type3521 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2? Type3521 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksCommits? Type3522 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent? Type3522 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksHtml? Type3523 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3523 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksIssue? Type3524 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? Type3524 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComment? Type3525 { get; set; } + public global::System.Collections.Generic.IList? Type3525 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComments? Type3526 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedTeam? Type3526 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksSelf? Type3527 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamParent? Type3527 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksStatuses? Type3528 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? Type3528 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReason? Type3529 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? Type3529 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssignee? Type3530 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestState? Type3530 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType? Type3531 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestUser? Type3531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3532 { get; set; } + public global::G.WebhookPullRequestAssignedPullRequestUserType? Type3532 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2? Type3533 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabled? Type3533 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? Type3534 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledAction? Type3534 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociation? Type3535 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequest? Type3535 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMerge? Type3536 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinks? Type3536 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledBy? Type3537 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksComments? Type3537 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByType? Type3538 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksCommits? Type3538 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethod? Type3539 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksHtml? Type3539 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBase? Type3540 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksIssue? Type3540 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo? Type3541 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComment? Type3541 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoLicense? Type3542 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComments? Type3542 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessage? Type3543 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksSelf? Type3543 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitle? Type3544 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLinksStatuses? Type3544 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwner? Type3545 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReason? Type3545 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerType? Type3546 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssignee? Type3546 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoPermissions? Type3547 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType? Type3547 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessage? Type3548 { get; set; } + public global::System.Collections.Generic.IList? Type3548 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitTitle? Type3549 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2? Type3549 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoVisibility? Type3550 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? Type3550 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser? Type3551 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociation? Type3551 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserType? Type3552 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMerge? Type3552 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHead? Type3553 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledBy? Type3553 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepo? Type3554 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByType? Type3554 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoLicense? Type3555 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethod? Type3555 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessage? Type3556 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBase? Type3556 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitle? Type3557 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo? Type3557 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwner? Type3558 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoLicense? Type3558 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerType? Type3559 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessage? Type3559 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoPermissions? Type3560 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitle? Type3560 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessage? Type3561 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwner? Type3561 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitTitle? Type3562 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerType? Type3562 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoVisibility? Type3563 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoPermissions? Type3563 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser? Type3564 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessage? Type3564 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadUserType? Type3565 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitTitle? Type3565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3566 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoVisibility? Type3566 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLabel? Type3567 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser? Type3567 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMergedBy? Type3568 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserType? Type3568 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMergedByType? Type3569 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHead? Type3569 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestone? Type3570 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo? Type3570 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreator? Type3571 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoLicense? Type3571 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreatorType? Type3572 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessage? Type3572 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneState? Type3573 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitle? Type3573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3574 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwner? Type3574 { get; set; } /// /// /// - public global::G.OneOf? Type3575 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerType? Type3575 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1? Type3576 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoPermissions? Type3576 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? Type3577 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessage? Type3577 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2? Type3578 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitTitle? Type3578 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent? Type3579 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoVisibility? Type3579 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3580 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser? Type3580 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? Type3581 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestHeadUserType? Type3581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3582 { get; set; } + public global::System.Collections.Generic.IList? Type3582 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam? Type3583 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestLabel? Type3583 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent? Type3584 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMergedBy? Type3584 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? Type3585 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMergedByType? Type3585 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? Type3586 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestone? Type3586 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestState? Type3587 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreator? Type3587 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestUser? Type3588 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreatorType? Type3588 { get; set; } /// /// /// - public global::G.WebhookPullRequestAutoMergeEnabledPullRequestUserType? Type3589 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneState? Type3589 { get; set; } /// /// /// - public global::G.WebhookPullRequestClosed? Type3590 { get; set; } + public global::System.Collections.Generic.IList>? Type3590 { get; set; } /// /// /// - public global::G.WebhookPullRequestClosedAction? Type3591 { get; set; } + public global::G.OneOf? Type3591 { get; set; } /// /// /// - public global::G.WebhookPullRequestConvertedToDraft? Type3592 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1? Type3592 { get; set; } /// /// /// - public global::G.WebhookPullRequestConvertedToDraftAction? Type3593 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? Type3593 { get; set; } /// /// /// - public global::G.WebhookPullRequestDemilestoned? Type3594 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2? Type3594 { get; set; } /// /// /// - public global::G.WebhookPullRequestDemilestonedAction? Type3595 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent? Type3595 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeued? Type3596 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3596 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedAction? Type3597 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? Type3597 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequest? Type3598 { get; set; } + public global::System.Collections.Generic.IList? Type3598 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinks? Type3599 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam? Type3599 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksComments? Type3600 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent? Type3600 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksCommits? Type3601 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? Type3601 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksHtml? Type3602 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? Type3602 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksIssue? Type3603 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestState? Type3603 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksReviewComment? Type3604 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestUser? Type3604 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksReviewComments? Type3605 { get; set; } + public global::G.WebhookPullRequestAutoMergeDisabledPullRequestUserType? Type3605 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksSelf? Type3606 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabled? Type3606 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLinksStatuses? Type3607 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledAction? Type3607 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestActiveLockReason? Type3608 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequest? Type3608 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAssignee? Type3609 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinks? Type3609 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAssigneeType? Type3610 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksComments? Type3610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3611 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksCommits? Type3611 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAssignee2? Type3612 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksHtml? Type3612 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAssigneeType2? Type3613 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksIssue? Type3613 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAuthorAssociation? Type3614 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComment? Type3614 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAutoMerge? Type3615 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComments? Type3615 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledBy? Type3616 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksSelf? Type3616 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByType? Type3617 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLinksStatuses? Type3617 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethod? Type3618 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReason? Type3618 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBase? Type3619 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssignee? Type3619 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepo? Type3620 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType? Type3620 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoLicense? Type3621 { get; set; } + public global::System.Collections.Generic.IList? Type3621 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessage? Type3622 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2? Type3622 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitle? Type3623 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? Type3623 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoOwner? Type3624 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociation? Type3624 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerType? Type3625 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMerge? Type3625 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoPermissions? Type3626 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledBy? Type3626 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessage? Type3627 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByType? Type3627 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitTitle? Type3628 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethod? Type3628 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoVisibility? Type3629 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBase? Type3629 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseUser? Type3630 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo? Type3630 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestBaseUserType? Type3631 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoLicense? Type3631 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHead? Type3632 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessage? Type3632 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepo? Type3633 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitle? Type3633 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoLicense? Type3634 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwner? Type3634 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessage? Type3635 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerType? Type3635 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitle? Type3636 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoPermissions? Type3636 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoOwner? Type3637 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessage? Type3637 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerType? Type3638 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitTitle? Type3638 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoPermissions? Type3639 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoVisibility? Type3639 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessage? Type3640 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser? Type3640 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitTitle? Type3641 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserType? Type3641 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoVisibility? Type3642 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHead? Type3642 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadUser? Type3643 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepo? Type3643 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestHeadUserType? Type3644 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoLicense? Type3644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3645 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessage? Type3645 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestLabel? Type3646 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitle? Type3646 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMergedBy? Type3647 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwner? Type3647 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMergedByType? Type3648 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerType? Type3648 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMilestone? Type3649 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoPermissions? Type3649 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMilestoneCreator? Type3650 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessage? Type3650 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMilestoneCreatorType? Type3651 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitTitle? Type3651 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestMilestoneState? Type3652 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoVisibility? Type3652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3653 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser? Type3653 { get; set; } /// /// /// - public global::G.OneOf? Type3654 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestHeadUserType? Type3654 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1? Type3655 { get; set; } + public global::System.Collections.Generic.IList? Type3655 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? Type3656 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestLabel? Type3656 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2? Type3657 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMergedBy? Type3657 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent? Type3658 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMergedByType? Type3658 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3659 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestone? Type3659 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? Type3660 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreator? Type3660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3661 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreatorType? Type3661 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeam? Type3662 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneState? Type3662 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamParent? Type3663 { get; set; } + public global::System.Collections.Generic.IList>? Type3663 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? Type3664 { get; set; } + public global::G.OneOf? Type3664 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? Type3665 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1? Type3665 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestState? Type3666 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? Type3666 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestUser? Type3667 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2? Type3667 { get; set; } /// /// /// - public global::G.WebhookPullRequestDequeuedPullRequestUserType? Type3668 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent? Type3668 { get; set; } /// /// /// - public global::G.WebhookPullRequestEdited? Type3669 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3669 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedAction? Type3670 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? Type3670 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChanges? Type3671 { get; set; } + public global::System.Collections.Generic.IList? Type3671 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChangesBase? Type3672 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam? Type3672 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChangesBaseRef? Type3673 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent? Type3673 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChangesBaseSha? Type3674 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? Type3674 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChangesBody? Type3675 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? Type3675 { get; set; } /// /// /// - public global::G.WebhookPullRequestEditedChangesTitle? Type3676 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestState? Type3676 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueued? Type3677 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestUser? Type3677 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedAction? Type3678 { get; set; } + public global::G.WebhookPullRequestAutoMergeEnabledPullRequestUserType? Type3678 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequest? Type3679 { get; set; } + public global::G.WebhookPullRequestClosed? Type3679 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinks? Type3680 { get; set; } + public global::G.WebhookPullRequestClosedAction? Type3680 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksComments? Type3681 { get; set; } + public global::G.WebhookPullRequestConvertedToDraft? Type3681 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksCommits? Type3682 { get; set; } + public global::G.WebhookPullRequestConvertedToDraftAction? Type3682 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksHtml? Type3683 { get; set; } + public global::G.WebhookPullRequestDemilestoned? Type3683 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksIssue? Type3684 { get; set; } + public global::G.WebhookPullRequestDemilestonedAction? Type3684 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksReviewComment? Type3685 { get; set; } + public global::G.WebhookPullRequestDequeued? Type3685 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksReviewComments? Type3686 { get; set; } + public global::G.WebhookPullRequestDequeuedAction? Type3686 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksSelf? Type3687 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequest? Type3687 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLinksStatuses? Type3688 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinks? Type3688 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestActiveLockReason? Type3689 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksComments? Type3689 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAssignee? Type3690 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksCommits? Type3690 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAssigneeType? Type3691 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksHtml? Type3691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3692 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksIssue? Type3692 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAssignee2? Type3693 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksReviewComment? Type3693 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAssigneeType2? Type3694 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksReviewComments? Type3694 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAuthorAssociation? Type3695 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksSelf? Type3695 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAutoMerge? Type3696 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLinksStatuses? Type3696 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledBy? Type3697 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestActiveLockReason? Type3697 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByType? Type3698 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAssignee? Type3698 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethod? Type3699 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAssigneeType? Type3699 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBase? Type3700 { get; set; } + public global::System.Collections.Generic.IList? Type3700 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepo? Type3701 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAssignee2? Type3701 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoLicense? Type3702 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAssigneeType2? Type3702 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessage? Type3703 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAuthorAssociation? Type3703 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitle? Type3704 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAutoMerge? Type3704 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoOwner? Type3705 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledBy? Type3705 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerType? Type3706 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByType? Type3706 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoPermissions? Type3707 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethod? Type3707 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessage? Type3708 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBase? Type3708 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitTitle? Type3709 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepo? Type3709 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoVisibility? Type3710 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoLicense? Type3710 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseUser? Type3711 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessage? Type3711 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestBaseUserType? Type3712 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitle? Type3712 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHead? Type3713 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoOwner? Type3713 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepo? Type3714 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerType? Type3714 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoLicense? Type3715 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoPermissions? Type3715 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessage? Type3716 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessage? Type3716 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitle? Type3717 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitTitle? Type3717 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoOwner? Type3718 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseRepoVisibility? Type3718 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerType? Type3719 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseUser? Type3719 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoPermissions? Type3720 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestBaseUserType? Type3720 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessage? Type3721 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHead? Type3721 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitTitle? Type3722 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepo? Type3722 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoVisibility? Type3723 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoLicense? Type3723 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadUser? Type3724 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessage? Type3724 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestHeadUserType? Type3725 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitle? Type3725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3726 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoOwner? Type3726 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestLabel? Type3727 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerType? Type3727 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMergedBy? Type3728 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoPermissions? Type3728 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMergedByType? Type3729 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessage? Type3729 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMilestone? Type3730 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitTitle? Type3730 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneCreator? Type3731 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadRepoVisibility? Type3731 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneCreatorType? Type3732 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadUser? Type3732 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneState? Type3733 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestHeadUserType? Type3733 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3734 { get; set; } + public global::System.Collections.Generic.IList? Type3734 { get; set; } /// /// /// - public global::G.OneOf? Type3735 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestLabel? Type3735 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1? Type3736 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMergedBy? Type3736 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? Type3737 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMergedByType? Type3737 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2? Type3738 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMilestone? Type3738 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent? Type3739 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMilestoneCreator? Type3739 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3740 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMilestoneCreatorType? Type3740 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? Type3741 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestMilestoneState? Type3741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3742 { get; set; } + public global::System.Collections.Generic.IList>? Type3742 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeam? Type3743 { get; set; } + public global::G.OneOf? Type3743 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent? Type3744 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1? Type3744 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? Type3745 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? Type3745 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? Type3746 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2? Type3746 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestState? Type3747 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent? Type3747 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestUser? Type3748 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3748 { get; set; } /// /// /// - public global::G.WebhookPullRequestEnqueuedPullRequestUserType? Type3749 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? Type3749 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeled? Type3750 { get; set; } + public global::System.Collections.Generic.IList? Type3750 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledAction? Type3751 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeam? Type3751 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequest? Type3752 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamParent? Type3752 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinks? Type3753 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? Type3753 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksComments? Type3754 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? Type3754 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksCommits? Type3755 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestState? Type3755 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksHtml? Type3756 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestUser? Type3756 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksIssue? Type3757 { get; set; } + public global::G.WebhookPullRequestDequeuedPullRequestUserType? Type3757 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksReviewComment? Type3758 { get; set; } + public global::G.WebhookPullRequestDequeuedReason? Type3758 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksReviewComments? Type3759 { get; set; } + public global::G.WebhookPullRequestEdited? Type3759 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksSelf? Type3760 { get; set; } + public global::G.WebhookPullRequestEditedAction? Type3760 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLinksStatuses? Type3761 { get; set; } + public global::G.WebhookPullRequestEditedChanges? Type3761 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestActiveLockReason? Type3762 { get; set; } + public global::G.WebhookPullRequestEditedChangesBase? Type3762 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAssignee? Type3763 { get; set; } + public global::G.WebhookPullRequestEditedChangesBaseRef? Type3763 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAssigneeType? Type3764 { get; set; } + public global::G.WebhookPullRequestEditedChangesBaseSha? Type3764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3765 { get; set; } + public global::G.WebhookPullRequestEditedChangesBody? Type3765 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAssignee2? Type3766 { get; set; } + public global::G.WebhookPullRequestEditedChangesTitle? Type3766 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAssigneeType2? Type3767 { get; set; } + public global::G.WebhookPullRequestEnqueued? Type3767 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAuthorAssociation? Type3768 { get; set; } + public global::G.WebhookPullRequestEnqueuedAction? Type3768 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAutoMerge? Type3769 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequest? Type3769 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAutoMergeEnabledBy? Type3770 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinks? Type3770 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByType? Type3771 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksComments? Type3771 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethod? Type3772 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksCommits? Type3772 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBase? Type3773 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksHtml? Type3773 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepo? Type3774 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksIssue? Type3774 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoLicense? Type3775 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksReviewComment? Type3775 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessage? Type3776 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksReviewComments? Type3776 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitle? Type3777 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksSelf? Type3777 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoOwner? Type3778 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLinksStatuses? Type3778 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoOwnerType? Type3779 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestActiveLockReason? Type3779 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoPermissions? Type3780 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAssignee? Type3780 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessage? Type3781 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAssigneeType? Type3781 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitTitle? Type3782 { get; set; } + public global::System.Collections.Generic.IList? Type3782 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseRepoVisibility? Type3783 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAssignee2? Type3783 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseUser? Type3784 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAssigneeType2? Type3784 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestBaseUserType? Type3785 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAuthorAssociation? Type3785 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHead? Type3786 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAutoMerge? Type3786 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepo? Type3787 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledBy? Type3787 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoLicense? Type3788 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByType? Type3788 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessage? Type3789 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethod? Type3789 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitle? Type3790 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBase? Type3790 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoOwner? Type3791 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepo? Type3791 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoOwnerType? Type3792 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoLicense? Type3792 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoPermissions? Type3793 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessage? Type3793 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessage? Type3794 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitle? Type3794 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitTitle? Type3795 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoOwner? Type3795 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadRepoVisibility? Type3796 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerType? Type3796 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadUser? Type3797 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoPermissions? Type3797 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestHeadUserType? Type3798 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessage? Type3798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3799 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitTitle? Type3799 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestLabel? Type3800 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseRepoVisibility? Type3800 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMergedBy? Type3801 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseUser? Type3801 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMergedByType? Type3802 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestBaseUserType? Type3802 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMilestone? Type3803 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHead? Type3803 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMilestoneCreator? Type3804 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepo? Type3804 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMilestoneCreatorType? Type3805 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoLicense? Type3805 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestMilestoneState? Type3806 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessage? Type3806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3807 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitle? Type3807 { get; set; } /// /// /// - public global::G.OneOf? Type3808 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoOwner? Type3808 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1? Type3809 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerType? Type3809 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? Type3810 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoPermissions? Type3810 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2? Type3811 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessage? Type3811 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent? Type3812 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitTitle? Type3812 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3813 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadRepoVisibility? Type3813 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? Type3814 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadUser? Type3814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3815 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestHeadUserType? Type3815 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedTeam? Type3816 { get; set; } + public global::System.Collections.Generic.IList? Type3816 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamParent? Type3817 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestLabel? Type3817 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? Type3818 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMergedBy? Type3818 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? Type3819 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMergedByType? Type3819 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestState? Type3820 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMilestone? Type3820 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestUser? Type3821 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneCreator? Type3821 { get; set; } /// /// /// - public global::G.WebhookPullRequestLabeledPullRequestUserType? Type3822 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneCreatorType? Type3822 { get; set; } /// /// /// - public global::G.WebhookPullRequestLocked? Type3823 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestMilestoneState? Type3823 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedAction? Type3824 { get; set; } + public global::System.Collections.Generic.IList>? Type3824 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequest? Type3825 { get; set; } + public global::G.OneOf? Type3825 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinks? Type3826 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1? Type3826 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksComments? Type3827 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? Type3827 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksCommits? Type3828 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2? Type3828 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksHtml? Type3829 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent? Type3829 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksIssue? Type3830 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3830 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksReviewComment? Type3831 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? Type3831 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksReviewComments? Type3832 { get; set; } + public global::System.Collections.Generic.IList? Type3832 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksSelf? Type3833 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeam? Type3833 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLinksStatuses? Type3834 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent? Type3834 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestActiveLockReason? Type3835 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? Type3835 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAssignee? Type3836 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? Type3836 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAssigneeType? Type3837 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestState? Type3837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3838 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestUser? Type3838 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAssignee2? Type3839 { get; set; } + public global::G.WebhookPullRequestEnqueuedPullRequestUserType? Type3839 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAssigneeType2? Type3840 { get; set; } + public global::G.WebhookPullRequestLabeled? Type3840 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAuthorAssociation? Type3841 { get; set; } + public global::G.WebhookPullRequestLabeledAction? Type3841 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAutoMerge? Type3842 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequest? Type3842 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAutoMergeEnabledBy? Type3843 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinks? Type3843 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAutoMergeEnabledByType? Type3844 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksComments? Type3844 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestAutoMergeMergeMethod? Type3845 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksCommits? Type3845 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBase? Type3846 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksHtml? Type3846 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepo? Type3847 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksIssue? Type3847 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoLicense? Type3848 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksReviewComment? Type3848 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessage? Type3849 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksReviewComments? Type3849 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitle? Type3850 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksSelf? Type3850 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoOwner? Type3851 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLinksStatuses? Type3851 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoOwnerType? Type3852 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestActiveLockReason? Type3852 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoPermissions? Type3853 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAssignee? Type3853 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessage? Type3854 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAssigneeType? Type3854 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitTitle? Type3855 { get; set; } + public global::System.Collections.Generic.IList? Type3855 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseRepoVisibility? Type3856 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAssignee2? Type3856 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseUser? Type3857 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAssigneeType2? Type3857 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestBaseUserType? Type3858 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAuthorAssociation? Type3858 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHead? Type3859 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAutoMerge? Type3859 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepo? Type3860 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAutoMergeEnabledBy? Type3860 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoLicense? Type3861 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByType? Type3861 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessage? Type3862 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethod? Type3862 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitle? Type3863 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBase? Type3863 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoOwner? Type3864 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepo? Type3864 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoOwnerType? Type3865 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoLicense? Type3865 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoPermissions? Type3866 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessage? Type3866 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessage? Type3867 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitle? Type3867 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitTitle? Type3868 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoOwner? Type3868 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadRepoVisibility? Type3869 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoOwnerType? Type3869 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadUser? Type3870 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoPermissions? Type3870 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestHeadUserType? Type3871 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessage? Type3871 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3872 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitTitle? Type3872 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestLabel? Type3873 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseRepoVisibility? Type3873 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMergedBy? Type3874 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseUser? Type3874 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMergedByType? Type3875 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestBaseUserType? Type3875 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMilestone? Type3876 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHead? Type3876 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMilestoneCreator? Type3877 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepo? Type3877 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMilestoneCreatorType? Type3878 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoLicense? Type3878 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestMilestoneState? Type3879 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessage? Type3879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3880 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitle? Type3880 { get; set; } /// /// /// - public global::G.OneOf? Type3881 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoOwner? Type3881 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1? Type3882 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoOwnerType? Type3882 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? Type3883 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoPermissions? Type3883 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2? Type3884 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessage? Type3884 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent? Type3885 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitTitle? Type3885 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3886 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadRepoVisibility? Type3886 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? Type3887 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadUser? Type3887 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3888 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestHeadUserType? Type3888 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedTeam? Type3889 { get; set; } + public global::System.Collections.Generic.IList? Type3889 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedTeamParent? Type3890 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestLabel? Type3890 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? Type3891 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMergedBy? Type3891 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? Type3892 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMergedByType? Type3892 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestState? Type3893 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMilestone? Type3893 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestUser? Type3894 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMilestoneCreator? Type3894 { get; set; } /// /// /// - public global::G.WebhookPullRequestLockedPullRequestUserType? Type3895 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMilestoneCreatorType? Type3895 { get; set; } /// /// /// - public global::G.WebhookPullRequestMilestoned? Type3896 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestMilestoneState? Type3896 { get; set; } /// /// /// - public global::G.WebhookPullRequestMilestonedAction? Type3897 { get; set; } + public global::System.Collections.Generic.IList>? Type3897 { get; set; } /// /// /// - public global::G.WebhookPullRequestOpened? Type3898 { get; set; } + public global::G.OneOf? Type3898 { get; set; } /// /// /// - public global::G.WebhookPullRequestOpenedAction? Type3899 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1? Type3899 { get; set; } /// /// /// - public global::G.WebhookPullRequestReadyForReview? Type3900 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? Type3900 { get; set; } /// /// /// - public global::G.WebhookPullRequestReadyForReviewAction? Type3901 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2? Type3901 { get; set; } /// /// /// - public global::G.WebhookPullRequestReopened? Type3902 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent? Type3902 { get; set; } /// /// /// - public global::G.WebhookPullRequestReopenedAction? Type3903 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3903 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreated? Type3904 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? Type3904 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedAction? Type3905 { get; set; } + public global::System.Collections.Generic.IList? Type3905 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedComment? Type3906 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedTeam? Type3906 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentLinks? Type3907 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamParent? Type3907 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksHtml? Type3908 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? Type3908 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksPullRequest? Type3909 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? Type3909 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksSelf? Type3910 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestState? Type3910 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociation? Type3911 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestUser? Type3911 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentReactions? Type3912 { get; set; } + public global::G.WebhookPullRequestLabeledPullRequestUserType? Type3912 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentSide? Type3913 { get; set; } + public global::G.WebhookPullRequestLocked? Type3913 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentStartSide? Type3914 { get; set; } + public global::G.WebhookPullRequestLockedAction? Type3914 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentSubjectType? Type3915 { get; set; } + public global::G.WebhookPullRequestLockedPullRequest? Type3915 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentUser? Type3916 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinks? Type3916 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedCommentUserType? Type3917 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksComments? Type3917 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequest? Type3918 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksCommits? Type3918 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinks? Type3919 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksHtml? Type3919 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksComments? Type3920 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksIssue? Type3920 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksCommits? Type3921 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksReviewComment? Type3921 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksHtml? Type3922 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksReviewComments? Type3922 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksIssue? Type3923 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksSelf? Type3923 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComment? Type3924 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLinksStatuses? Type3924 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComments? Type3925 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestActiveLockReason? Type3925 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksSelf? Type3926 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAssignee? Type3926 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksStatuses? Type3927 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAssigneeType? Type3927 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReason? Type3928 { get; set; } + public global::System.Collections.Generic.IList? Type3928 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssignee? Type3929 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAssignee2? Type3929 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType? Type3930 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAssigneeType2? Type3930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3931 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAuthorAssociation? Type3931 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2? Type3932 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAutoMerge? Type3932 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? Type3933 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAutoMergeEnabledBy? Type3933 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociation? Type3934 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAutoMergeEnabledByType? Type3934 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMerge? Type3935 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestAutoMergeMergeMethod? Type3935 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledBy? Type3936 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBase? Type3936 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByType? Type3937 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepo? Type3937 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethod? Type3938 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoLicense? Type3938 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBase? Type3939 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessage? Type3939 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo? Type3940 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitle? Type3940 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoLicense? Type3941 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoOwner? Type3941 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessage? Type3942 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoOwnerType? Type3942 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitle? Type3943 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoPermissions? Type3943 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwner? Type3944 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessage? Type3944 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerType? Type3945 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitTitle? Type3945 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoPermissions? Type3946 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseRepoVisibility? Type3946 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessage? Type3947 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseUser? Type3947 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitTitle? Type3948 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestBaseUserType? Type3948 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoVisibility? Type3949 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHead? Type3949 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser? Type3950 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepo? Type3950 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserType? Type3951 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoLicense? Type3951 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHead? Type3952 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessage? Type3952 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo? Type3953 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitle? Type3953 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoLicense? Type3954 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoOwner? Type3954 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessage? Type3955 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoOwnerType? Type3955 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitle? Type3956 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoPermissions? Type3956 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwner? Type3957 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessage? Type3957 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerType? Type3958 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitTitle? Type3958 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoPermissions? Type3959 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadRepoVisibility? Type3959 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessage? Type3960 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadUser? Type3960 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitTitle? Type3961 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestHeadUserType? Type3961 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoVisibility? Type3962 { get; set; } + public global::System.Collections.Generic.IList? Type3962 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser? Type3963 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestLabel? Type3963 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadUserType? Type3964 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMergedBy? Type3964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3965 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMergedByType? Type3965 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLabel? Type3966 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMilestone? Type3966 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestone? Type3967 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMilestoneCreator? Type3967 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreator? Type3968 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMilestoneCreatorType? Type3968 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreatorType? Type3969 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestMilestoneState? Type3969 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneState? Type3970 { get; set; } + public global::System.Collections.Generic.IList>? Type3970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3971 { get; set; } + public global::G.OneOf? Type3971 { get; set; } /// /// /// - public global::G.OneOf? Type3972 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1? Type3972 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1? Type3973 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? Type3973 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? Type3974 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2? Type3974 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2? Type3975 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent? Type3975 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent? Type3976 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3976 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3977 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? Type3977 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? Type3978 { get; set; } + public global::System.Collections.Generic.IList? Type3978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3979 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedTeam? Type3979 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam? Type3980 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedTeamParent? Type3980 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent? Type3981 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? Type3981 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? Type3982 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? Type3982 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? Type3983 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestState? Type3983 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestState? Type3984 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestUser? Type3984 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestUser? Type3985 { get; set; } + public global::G.WebhookPullRequestLockedPullRequestUserType? Type3985 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentCreatedPullRequestUserType? Type3986 { get; set; } + public global::G.WebhookPullRequestMilestoned? Type3986 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeleted? Type3987 { get; set; } + public global::G.WebhookPullRequestMilestonedAction? Type3987 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedAction? Type3988 { get; set; } + public global::G.WebhookPullRequestOpened? Type3988 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequest? Type3989 { get; set; } + public global::G.WebhookPullRequestOpenedAction? Type3989 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinks? Type3990 { get; set; } + public global::G.WebhookPullRequestReadyForReview? Type3990 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksComments? Type3991 { get; set; } + public global::G.WebhookPullRequestReadyForReviewAction? Type3991 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksCommits? Type3992 { get; set; } + public global::G.WebhookPullRequestReopened? Type3992 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksHtml? Type3993 { get; set; } + public global::G.WebhookPullRequestReopenedAction? Type3993 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksIssue? Type3994 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreated? Type3994 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComment? Type3995 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedAction? Type3995 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComments? Type3996 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedComment? Type3996 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksSelf? Type3997 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentLinks? Type3997 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksStatuses? Type3998 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksHtml? Type3998 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReason? Type3999 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksPullRequest? Type3999 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssignee? Type4000 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentLinksSelf? Type4000 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType? Type4001 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociation? Type4001 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4002 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentReactions? Type4002 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2? Type4003 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentSide? Type4003 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? Type4004 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentStartSide? Type4004 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociation? Type4005 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentSubjectType? Type4005 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMerge? Type4006 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentUser? Type4006 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledBy? Type4007 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedCommentUserType? Type4007 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByType? Type4008 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequest? Type4008 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethod? Type4009 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinks? Type4009 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBase? Type4010 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksComments? Type4010 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo? Type4011 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksCommits? Type4011 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoLicense? Type4012 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksHtml? Type4012 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessage? Type4013 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksIssue? Type4013 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitle? Type4014 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComment? Type4014 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwner? Type4015 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComments? Type4015 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerType? Type4016 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksSelf? Type4016 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoPermissions? Type4017 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLinksStatuses? Type4017 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessage? Type4018 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReason? Type4018 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitTitle? Type4019 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssignee? Type4019 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoVisibility? Type4020 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType? Type4020 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser? Type4021 { get; set; } + public global::System.Collections.Generic.IList? Type4021 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserType? Type4022 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2? Type4022 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHead? Type4023 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? Type4023 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo? Type4024 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociation? Type4024 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoLicense? Type4025 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMerge? Type4025 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessage? Type4026 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledBy? Type4026 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitle? Type4027 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByType? Type4027 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwner? Type4028 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethod? Type4028 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerType? Type4029 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBase? Type4029 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoPermissions? Type4030 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo? Type4030 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessage? Type4031 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoLicense? Type4031 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitTitle? Type4032 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessage? Type4032 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoVisibility? Type4033 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitle? Type4033 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser? Type4034 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwner? Type4034 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadUserType? Type4035 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerType? Type4035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4036 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoPermissions? Type4036 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLabel? Type4037 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessage? Type4037 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestone? Type4038 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitTitle? Type4038 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreator? Type4039 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoVisibility? Type4039 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreatorType? Type4040 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser? Type4040 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneState? Type4041 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserType? Type4041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4042 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHead? Type4042 { get; set; } /// /// /// - public global::G.OneOf? Type4043 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo? Type4043 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1? Type4044 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoLicense? Type4044 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? Type4045 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessage? Type4045 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2? Type4046 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitle? Type4046 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent? Type4047 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwner? Type4047 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4048 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerType? Type4048 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? Type4049 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoPermissions? Type4049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4050 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessage? Type4050 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam? Type4051 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitTitle? Type4051 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent? Type4052 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoVisibility? Type4052 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? Type4053 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser? Type4053 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? Type4054 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestHeadUserType? Type4054 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestState? Type4055 { get; set; } + public global::System.Collections.Generic.IList? Type4055 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestUser? Type4056 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestLabel? Type4056 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentDeletedPullRequestUserType? Type4057 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestone? Type4057 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEdited? Type4058 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreator? Type4058 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedAction? Type4059 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreatorType? Type4059 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequest? Type4060 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneState? Type4060 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinks? Type4061 { get; set; } + public global::System.Collections.Generic.IList>? Type4061 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksComments? Type4062 { get; set; } + public global::G.OneOf? Type4062 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksCommits? Type4063 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1? Type4063 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksHtml? Type4064 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? Type4064 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksIssue? Type4065 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2? Type4065 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComment? Type4066 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent? Type4066 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComments? Type4067 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4067 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksSelf? Type4068 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? Type4068 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksStatuses? Type4069 { get; set; } + public global::System.Collections.Generic.IList? Type4069 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReason? Type4070 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam? Type4070 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssignee? Type4071 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent? Type4071 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType? Type4072 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? Type4072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4073 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? Type4073 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssignee2? Type4074 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestState? Type4074 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? Type4075 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestUser? Type4075 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociation? Type4076 { get; set; } + public global::G.WebhookPullRequestReviewCommentCreatedPullRequestUserType? Type4076 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMerge? Type4077 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeleted? Type4077 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledBy? Type4078 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedAction? Type4078 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByType? Type4079 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequest? Type4079 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethod? Type4080 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinks? Type4080 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBase? Type4081 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksComments? Type4081 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo? Type4082 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksCommits? Type4082 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoLicense? Type4083 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksHtml? Type4083 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessage? Type4084 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksIssue? Type4084 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitle? Type4085 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComment? Type4085 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwner? Type4086 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComments? Type4086 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerType? Type4087 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksSelf? Type4087 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoPermissions? Type4088 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLinksStatuses? Type4088 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessage? Type4089 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReason? Type4089 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitTitle? Type4090 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssignee? Type4090 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoVisibility? Type4091 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType? Type4091 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseUser? Type4092 { get; set; } + public global::System.Collections.Generic.IList? Type4092 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseUserType? Type4093 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2? Type4093 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHead? Type4094 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? Type4094 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo? Type4095 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociation? Type4095 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoLicense? Type4096 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMerge? Type4096 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessage? Type4097 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledBy? Type4097 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitle? Type4098 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByType? Type4098 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwner? Type4099 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethod? Type4099 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerType? Type4100 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBase? Type4100 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoPermissions? Type4101 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo? Type4101 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessage? Type4102 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoLicense? Type4102 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitTitle? Type4103 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessage? Type4103 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoVisibility? Type4104 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitle? Type4104 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadUser? Type4105 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwner? Type4105 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadUserType? Type4106 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerType? Type4106 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4107 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoPermissions? Type4107 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestLabel? Type4108 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessage? Type4108 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestone? Type4109 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitTitle? Type4109 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreator? Type4110 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoVisibility? Type4110 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreatorType? Type4111 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser? Type4111 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneState? Type4112 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserType? Type4112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4113 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHead? Type4113 { get; set; } /// /// /// - public global::G.OneOf? Type4114 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo? Type4114 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1? Type4115 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoLicense? Type4115 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? Type4116 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessage? Type4116 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2? Type4117 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitle? Type4117 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent? Type4118 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwner? Type4118 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4119 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerType? Type4119 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? Type4120 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoPermissions? Type4120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4121 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessage? Type4121 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam? Type4122 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitTitle? Type4122 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent? Type4123 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoVisibility? Type4123 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? Type4124 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser? Type4124 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? Type4125 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestHeadUserType? Type4125 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestState? Type4126 { get; set; } + public global::System.Collections.Generic.IList? Type4126 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestUser? Type4127 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestLabel? Type4127 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewCommentEditedPullRequestUserType? Type4128 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestone? Type4128 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissed? Type4129 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreator? Type4129 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedAction? Type4130 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreatorType? Type4130 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequest? Type4131 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneState? Type4131 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinks? Type4132 { get; set; } + public global::System.Collections.Generic.IList>? Type4132 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksComments? Type4133 { get; set; } + public global::G.OneOf? Type4133 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksCommits? Type4134 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1? Type4134 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksHtml? Type4135 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? Type4135 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksIssue? Type4136 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2? Type4136 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksReviewComment? Type4137 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent? Type4137 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksReviewComments? Type4138 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4138 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksSelf? Type4139 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? Type4139 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLinksStatuses? Type4140 { get; set; } + public global::System.Collections.Generic.IList? Type4140 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestActiveLockReason? Type4141 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam? Type4141 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAssignee? Type4142 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent? Type4142 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAssigneeType? Type4143 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? Type4143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4144 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? Type4144 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAssignee2? Type4145 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestState? Type4145 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? Type4146 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestUser? Type4146 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAuthorAssociation? Type4147 { get; set; } + public global::G.WebhookPullRequestReviewCommentDeletedPullRequestUserType? Type4147 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMerge? Type4148 { get; set; } + public global::G.WebhookPullRequestReviewCommentEdited? Type4148 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledBy? Type4149 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedAction? Type4149 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByType? Type4150 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequest? Type4150 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethod? Type4151 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinks? Type4151 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBase? Type4152 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksComments? Type4152 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepo? Type4153 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksCommits? Type4153 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoLicense? Type4154 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksHtml? Type4154 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessage? Type4155 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksIssue? Type4155 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitle? Type4156 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComment? Type4156 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwner? Type4157 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComments? Type4157 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerType? Type4158 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksSelf? Type4158 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoPermissions? Type4159 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLinksStatuses? Type4159 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessage? Type4160 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReason? Type4160 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitTitle? Type4161 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssignee? Type4161 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoVisibility? Type4162 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType? Type4162 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseUser? Type4163 { get; set; } + public global::System.Collections.Generic.IList? Type4163 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestBaseUserType? Type4164 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssignee2? Type4164 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHead? Type4165 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? Type4165 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepo? Type4166 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociation? Type4166 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoLicense? Type4167 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMerge? Type4167 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessage? Type4168 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledBy? Type4168 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitle? Type4169 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByType? Type4169 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwner? Type4170 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethod? Type4170 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerType? Type4171 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBase? Type4171 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoPermissions? Type4172 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo? Type4172 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessage? Type4173 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoLicense? Type4173 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitTitle? Type4174 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessage? Type4174 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoVisibility? Type4175 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitle? Type4175 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadUser? Type4176 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwner? Type4176 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestHeadUserType? Type4177 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerType? Type4177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4178 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoPermissions? Type4178 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestLabel? Type4179 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessage? Type4179 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestMilestone? Type4180 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitTitle? Type4180 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneCreator? Type4181 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoVisibility? Type4181 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneCreatorType? Type4182 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseUser? Type4182 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneState? Type4183 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestBaseUserType? Type4183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4184 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHead? Type4184 { get; set; } /// /// /// - public global::G.OneOf? Type4185 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo? Type4185 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1? Type4186 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoLicense? Type4186 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? Type4187 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessage? Type4187 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2? Type4188 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitle? Type4188 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent? Type4189 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwner? Type4189 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4190 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerType? Type4190 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? Type4191 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoPermissions? Type4191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4192 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessage? Type4192 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeam? Type4193 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitTitle? Type4193 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent? Type4194 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoVisibility? Type4194 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? Type4195 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadUser? Type4195 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? Type4196 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestHeadUserType? Type4196 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestState? Type4197 { get; set; } + public global::System.Collections.Generic.IList? Type4197 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestUser? Type4198 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestLabel? Type4198 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedPullRequestUserType? Type4199 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestone? Type4199 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReview? Type4200 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreator? Type4200 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewLinks? Type4201 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreatorType? Type4201 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewLinksHtml? Type4202 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestMilestoneState? Type4202 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewLinksPullRequest? Type4203 { get; set; } + public global::System.Collections.Generic.IList>? Type4203 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewAuthorAssociation? Type4204 { get; set; } + public global::G.OneOf? Type4204 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewState? Type4205 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1? Type4205 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewUser? Type4206 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? Type4206 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewDismissedReviewUserType? Type4207 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2? Type4207 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEdited? Type4208 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent? Type4208 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedAction? Type4209 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4209 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedChanges? Type4210 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? Type4210 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedChangesBody? Type4211 { get; set; } + public global::System.Collections.Generic.IList? Type4211 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequest? Type4212 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam? Type4212 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinks? Type4213 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent? Type4213 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksComments? Type4214 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? Type4214 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksCommits? Type4215 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? Type4215 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksHtml? Type4216 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestState? Type4216 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksIssue? Type4217 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestUser? Type4217 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksReviewComment? Type4218 { get; set; } + public global::G.WebhookPullRequestReviewCommentEditedPullRequestUserType? Type4218 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksReviewComments? Type4219 { get; set; } + public global::G.WebhookPullRequestReviewDismissed? Type4219 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksSelf? Type4220 { get; set; } + public global::G.WebhookPullRequestReviewDismissedAction? Type4220 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLinksStatuses? Type4221 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequest? Type4221 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestActiveLockReason? Type4222 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinks? Type4222 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAssignee? Type4223 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksComments? Type4223 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAssigneeType? Type4224 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksCommits? Type4224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4225 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksHtml? Type4225 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAssignee2? Type4226 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksIssue? Type4226 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAssigneeType2? Type4227 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksReviewComment? Type4227 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAuthorAssociation? Type4228 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksReviewComments? Type4228 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAutoMerge? Type4229 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksSelf? Type4229 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledBy? Type4230 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLinksStatuses? Type4230 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByType? Type4231 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestActiveLockReason? Type4231 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeMergeMethod? Type4232 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAssignee? Type4232 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBase? Type4233 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAssigneeType? Type4233 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepo? Type4234 { get; set; } + public global::System.Collections.Generic.IList? Type4234 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoLicense? Type4235 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAssignee2? Type4235 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoOwner? Type4236 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? Type4236 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoOwnerType? Type4237 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAuthorAssociation? Type4237 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoPermissions? Type4238 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMerge? Type4238 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoVisibility? Type4239 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledBy? Type4239 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseUser? Type4240 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByType? Type4240 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestBaseUserType? Type4241 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethod? Type4241 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHead? Type4242 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBase? Type4242 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepo? Type4243 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepo? Type4243 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoLicense? Type4244 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoLicense? Type4244 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoOwner? Type4245 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessage? Type4245 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoOwnerType? Type4246 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitle? Type4246 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoPermissions? Type4247 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwner? Type4247 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoVisibility? Type4248 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerType? Type4248 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadUser? Type4249 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoPermissions? Type4249 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestHeadUserType? Type4250 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessage? Type4250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4251 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitTitle? Type4251 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestLabel? Type4252 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseRepoVisibility? Type4252 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestMilestone? Type4253 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseUser? Type4253 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneCreator? Type4254 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestBaseUserType? Type4254 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneCreatorType? Type4255 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHead? Type4255 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneState? Type4256 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepo? Type4256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4257 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoLicense? Type4257 { get; set; } /// /// /// - public global::G.OneOf? Type4258 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessage? Type4258 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1? Type4259 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitle? Type4259 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? Type4260 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwner? Type4260 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2? Type4261 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerType? Type4261 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent? Type4262 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoPermissions? Type4262 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4263 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessage? Type4263 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? Type4264 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitTitle? Type4264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4265 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadRepoVisibility? Type4265 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeam? Type4266 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadUser? Type4266 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent? Type4267 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestHeadUserType? Type4267 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? Type4268 { get; set; } + public global::System.Collections.Generic.IList? Type4268 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? Type4269 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestLabel? Type4269 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestState? Type4270 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestMilestone? Type4270 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestUser? Type4271 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneCreator? Type4271 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewEditedPullRequestUserType? Type4272 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneCreatorType? Type4272 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemoved? Type4273 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestMilestoneState? Type4273 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1? Type4274 { get; set; } + public global::System.Collections.Generic.IList>? Type4274 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1Action? Type4275 { get; set; } + public global::G.OneOf? Type4275 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequest? Type4276 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1? Type4276 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinks? Type4277 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? Type4277 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksComments? Type4278 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2? Type4278 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksCommits? Type4279 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent? Type4279 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksHtml? Type4280 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4280 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksIssue? Type4281 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? Type4281 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComment? Type4282 { get; set; } + public global::System.Collections.Generic.IList? Type4282 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComments? Type4283 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeam? Type4283 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksSelf? Type4284 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent? Type4284 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksStatuses? Type4285 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? Type4285 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReason? Type4286 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? Type4286 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee? Type4287 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestState? Type4287 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType? Type4288 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestUser? Type4288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4289 { get; set; } + public global::G.WebhookPullRequestReviewDismissedPullRequestUserType? Type4289 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2? Type4290 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReview? Type4290 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? Type4291 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewLinks? Type4291 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociation? Type4292 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewLinksHtml? Type4292 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMerge? Type4293 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewLinksPullRequest? Type4293 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledBy? Type4294 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewAuthorAssociation? Type4294 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByType? Type4295 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewState? Type4295 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethod? Type4296 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewUser? Type4296 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBase? Type4297 { get; set; } + public global::G.WebhookPullRequestReviewDismissedReviewUserType? Type4297 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo? Type4298 { get; set; } + public global::G.WebhookPullRequestReviewEdited? Type4298 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoLicense? Type4299 { get; set; } + public global::G.WebhookPullRequestReviewEditedAction? Type4299 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessage? Type4300 { get; set; } + public global::G.WebhookPullRequestReviewEditedChanges? Type4300 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitle? Type4301 { get; set; } + public global::G.WebhookPullRequestReviewEditedChangesBody? Type4301 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwner? Type4302 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequest? Type4302 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerType? Type4303 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinks? Type4303 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoPermissions? Type4304 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksComments? Type4304 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4305 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksCommits? Type4305 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4306 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksHtml? Type4306 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoVisibility? Type4307 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksIssue? Type4307 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser? Type4308 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksReviewComment? Type4308 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserType? Type4309 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksReviewComments? Type4309 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHead? Type4310 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksSelf? Type4310 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo? Type4311 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLinksStatuses? Type4311 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoLicense? Type4312 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestActiveLockReason? Type4312 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessage? Type4313 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAssignee? Type4313 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitle? Type4314 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAssigneeType? Type4314 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwner? Type4315 { get; set; } + public global::System.Collections.Generic.IList? Type4315 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerType? Type4316 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAssignee2? Type4316 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoPermissions? Type4317 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAssigneeType2? Type4317 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4318 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAuthorAssociation? Type4318 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4319 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAutoMerge? Type4319 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoVisibility? Type4320 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledBy? Type4320 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser? Type4321 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByType? Type4321 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUserType? Type4322 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestAutoMergeMergeMethod? Type4322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4323 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBase? Type4323 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel? Type4324 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepo? Type4324 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedBy? Type4325 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoLicense? Type4325 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedByType? Type4326 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoOwner? Type4326 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestone? Type4327 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoOwnerType? Type4327 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreator? Type4328 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoPermissions? Type4328 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreatorType? Type4329 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseRepoVisibility? Type4329 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneState? Type4330 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseUser? Type4330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4331 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestBaseUserType? Type4331 { get; set; } /// /// /// - public global::G.OneOf? Type4332 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHead? Type4332 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1? Type4333 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepo? Type4333 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? Type4334 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoLicense? Type4334 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2? Type4335 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoOwner? Type4335 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent? Type4336 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoOwnerType? Type4336 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4337 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoPermissions? Type4337 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4338 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadRepoVisibility? Type4338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4339 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadUser? Type4339 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam? Type4340 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestHeadUserType? Type4340 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent? Type4341 { get; set; } + public global::System.Collections.Generic.IList? Type4341 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? Type4342 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestLabel? Type4342 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? Type4343 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestMilestone? Type4343 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestState? Type4344 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneCreator? Type4344 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser? Type4345 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneCreatorType? Type4345 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserType? Type4346 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestMilestoneState? Type4346 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? Type4347 { get; set; } + public global::System.Collections.Generic.IList>? Type4347 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType? Type4348 { get; set; } + public global::G.OneOf? Type4348 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2? Type4349 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1? Type4349 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2Action? Type4350 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? Type4350 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequest? Type4351 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2? Type4351 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinks? Type4352 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent? Type4352 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksComments? Type4353 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4353 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksCommits? Type4354 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? Type4354 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksHtml? Type4355 { get; set; } + public global::System.Collections.Generic.IList? Type4355 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksIssue? Type4356 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeam? Type4356 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComment? Type4357 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent? Type4357 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComments? Type4358 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? Type4358 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksSelf? Type4359 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? Type4359 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksStatuses? Type4360 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestState? Type4360 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReason? Type4361 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestUser? Type4361 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee? Type4362 { get; set; } + public global::G.WebhookPullRequestReviewEditedPullRequestUserType? Type4362 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType? Type4363 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemoved? Type4363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4364 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1? Type4364 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2? Type4365 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1Action? Type4365 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? Type4366 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequest? Type4366 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociation? Type4367 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinks? Type4367 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMerge? Type4368 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksComments? Type4368 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledBy? Type4369 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksCommits? Type4369 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByType? Type4370 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksHtml? Type4370 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethod? Type4371 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksIssue? Type4371 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBase? Type4372 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComment? Type4372 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo? Type4373 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComments? Type4373 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoLicense? Type4374 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksSelf? Type4374 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessage? Type4375 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksStatuses? Type4375 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitle? Type4376 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReason? Type4376 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwner? Type4377 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee? Type4377 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerType? Type4378 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType? Type4378 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoPermissions? Type4379 { get; set; } + public global::System.Collections.Generic.IList? Type4379 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4380 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2? Type4380 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4381 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? Type4381 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoVisibility? Type4382 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociation? Type4382 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser? Type4383 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMerge? Type4383 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserType? Type4384 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledBy? Type4384 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHead? Type4385 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByType? Type4385 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo? Type4386 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethod? Type4386 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoLicense? Type4387 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBase? Type4387 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessage? Type4388 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo? Type4388 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitle? Type4389 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoLicense? Type4389 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwner? Type4390 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessage? Type4390 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerType? Type4391 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitle? Type4391 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoPermissions? Type4392 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwner? Type4392 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4393 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerType? Type4393 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4394 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoPermissions? Type4394 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoVisibility? Type4395 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4395 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser? Type4396 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4396 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUserType? Type4397 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoVisibility? Type4397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4398 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser? Type4398 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel? Type4399 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserType? Type4399 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedBy? Type4400 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHead? Type4400 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedByType? Type4401 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo? Type4401 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestone? Type4402 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoLicense? Type4402 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreator? Type4403 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessage? Type4403 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreatorType? Type4404 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitle? Type4404 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneState? Type4405 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwner? Type4405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4406 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerType? Type4406 { get; set; } /// /// /// - public global::G.OneOf? Type4407 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoPermissions? Type4407 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1? Type4408 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4408 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? Type4409 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4409 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2? Type4410 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoVisibility? Type4410 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent? Type4411 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser? Type4411 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4412 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUserType? Type4412 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4413 { get; set; } + public global::System.Collections.Generic.IList? Type4413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4414 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel? Type4414 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam? Type4415 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedBy? Type4415 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent? Type4416 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedByType? Type4416 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? Type4417 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestone? Type4417 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? Type4418 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreator? Type4418 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestState? Type4419 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreatorType? Type4419 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser? Type4420 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneState? Type4420 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserType? Type4421 { get; set; } + public global::System.Collections.Generic.IList>? Type4421 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam? Type4422 { get; set; } + public global::G.OneOf? Type4422 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParent? Type4423 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1? Type4423 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacy? Type4424 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? Type4424 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacy? Type4425 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2? Type4425 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequested? Type4426 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent? Type4426 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1? Type4427 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4427 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1Action? Type4428 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4428 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequest? Type4429 { get; set; } + public global::System.Collections.Generic.IList? Type4429 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinks? Type4430 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam? Type4430 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksComments? Type4431 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent? Type4431 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksCommits? Type4432 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? Type4432 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksHtml? Type4433 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? Type4433 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksIssue? Type4434 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestState? Type4434 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComment? Type4435 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser? Type4435 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComments? Type4436 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserType? Type4436 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksSelf? Type4437 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? Type4437 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksStatuses? Type4438 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType? Type4438 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReason? Type4439 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2? Type4439 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee? Type4440 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2Action? Type4440 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType? Type4441 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequest? Type4441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4442 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinks? Type4442 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2? Type4443 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksComments? Type4443 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? Type4444 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksCommits? Type4444 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociation? Type4445 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksHtml? Type4445 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMerge? Type4446 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksIssue? Type4446 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledBy? Type4447 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComment? Type4447 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByType? Type4448 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComments? Type4448 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethod? Type4449 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksSelf? Type4449 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBase? Type4450 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksStatuses? Type4450 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo? Type4451 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReason? Type4451 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoLicense? Type4452 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee? Type4452 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessage? Type4453 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType? Type4453 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitle? Type4454 { get; set; } + public global::System.Collections.Generic.IList? Type4454 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwner? Type4455 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2? Type4455 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerType? Type4456 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? Type4456 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoPermissions? Type4457 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociation? Type4457 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4458 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMerge? Type4458 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4459 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledBy? Type4459 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoVisibility? Type4460 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByType? Type4460 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser? Type4461 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethod? Type4461 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserType? Type4462 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBase? Type4462 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHead? Type4463 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo? Type4463 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo? Type4464 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoLicense? Type4464 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoLicense? Type4465 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessage? Type4465 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessage? Type4466 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitle? Type4466 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitle? Type4467 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwner? Type4467 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwner? Type4468 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerType? Type4468 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerType? Type4469 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoPermissions? Type4469 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoPermissions? Type4470 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4470 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4471 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4471 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4472 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoVisibility? Type4472 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoVisibility? Type4473 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser? Type4473 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser? Type4474 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserType? Type4474 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUserType? Type4475 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHead? Type4475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4476 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo? Type4476 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLabel? Type4477 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoLicense? Type4477 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMergedBy? Type4478 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessage? Type4478 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMergedByType? Type4479 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitle? Type4479 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestone? Type4480 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwner? Type4480 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreator? Type4481 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerType? Type4481 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreatorType? Type4482 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoPermissions? Type4482 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneState? Type4483 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4484 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4484 { get; set; } /// /// /// - public global::G.OneOf? Type4485 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoVisibility? Type4485 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1? Type4486 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser? Type4486 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? Type4487 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUserType? Type4487 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2? Type4488 { get; set; } + public global::System.Collections.Generic.IList? Type4488 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent? Type4489 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel? Type4489 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4490 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedBy? Type4490 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4491 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedByType? Type4491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4492 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestone? Type4492 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam? Type4493 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreator? Type4493 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent? Type4494 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreatorType? Type4494 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? Type4495 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneState? Type4495 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? Type4496 { get; set; } + public global::System.Collections.Generic.IList>? Type4496 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestState? Type4497 { get; set; } + public global::G.OneOf? Type4497 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestUser? Type4498 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1? Type4498 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestUserType? Type4499 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? Type4499 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? Type4500 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2? Type4500 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewerType? Type4501 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent? Type4501 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2? Type4502 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4502 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2Action? Type4503 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4503 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequest? Type4504 { get; set; } + public global::System.Collections.Generic.IList? Type4504 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinks? Type4505 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam? Type4505 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksComments? Type4506 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent? Type4506 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksCommits? Type4507 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? Type4507 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksHtml? Type4508 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? Type4508 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksIssue? Type4509 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestState? Type4509 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComment? Type4510 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser? Type4510 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComments? Type4511 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserType? Type4511 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksSelf? Type4512 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam? Type4512 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksStatuses? Type4513 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParent? Type4513 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReason? Type4514 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacy? Type4514 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee? Type4515 { get; set; } + public global::G.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacy? Type4515 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType? Type4516 { get; set; } + public global::G.WebhookPullRequestReviewRequested? Type4516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4517 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1? Type4517 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2? Type4518 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1Action? Type4518 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? Type4519 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequest? Type4519 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociation? Type4520 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinks? Type4520 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMerge? Type4521 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksComments? Type4521 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledBy? Type4522 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksCommits? Type4522 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByType? Type4523 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksHtml? Type4523 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethod? Type4524 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksIssue? Type4524 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBase? Type4525 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComment? Type4525 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo? Type4526 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComments? Type4526 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoLicense? Type4527 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksSelf? Type4527 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessage? Type4528 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLinksStatuses? Type4528 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitle? Type4529 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReason? Type4529 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwner? Type4530 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee? Type4530 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerType? Type4531 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType? Type4531 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoPermissions? Type4532 { get; set; } + public global::System.Collections.Generic.IList? Type4532 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4533 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2? Type4533 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4534 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? Type4534 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoVisibility? Type4535 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociation? Type4535 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser? Type4536 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMerge? Type4536 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserType? Type4537 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledBy? Type4537 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHead? Type4538 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByType? Type4538 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo? Type4539 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethod? Type4539 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoLicense? Type4540 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBase? Type4540 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessage? Type4541 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo? Type4541 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitle? Type4542 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoLicense? Type4542 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwner? Type4543 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessage? Type4543 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerType? Type4544 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitle? Type4544 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoPermissions? Type4545 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwner? Type4545 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4546 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerType? Type4546 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4547 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoPermissions? Type4547 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoVisibility? Type4548 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4548 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser? Type4549 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4549 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUserType? Type4550 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoVisibility? Type4550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4551 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser? Type4551 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLabel? Type4552 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserType? Type4552 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMergedBy? Type4553 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHead? Type4553 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMergedByType? Type4554 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo? Type4554 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestone? Type4555 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoLicense? Type4555 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreator? Type4556 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessage? Type4556 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreatorType? Type4557 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitle? Type4557 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneState? Type4558 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwner? Type4558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4559 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerType? Type4559 { get; set; } /// /// /// - public global::G.OneOf? Type4560 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoPermissions? Type4560 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1? Type4561 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4561 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? Type4562 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4562 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2? Type4563 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoVisibility? Type4563 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent? Type4564 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser? Type4564 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4565 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUserType? Type4565 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4566 { get; set; } + public global::System.Collections.Generic.IList? Type4566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4567 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestLabel? Type4567 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam? Type4568 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMergedBy? Type4568 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent? Type4569 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMergedByType? Type4569 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? Type4570 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestone? Type4570 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? Type4571 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreator? Type4571 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestState? Type4572 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreatorType? Type4572 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestUser? Type4573 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneState? Type4573 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestUserType? Type4574 { get; set; } + public global::System.Collections.Generic.IList>? Type4574 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeam? Type4575 { get; set; } + public global::G.OneOf? Type4575 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamParent? Type4576 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1? Type4576 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacy? Type4577 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? Type4577 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacy? Type4578 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2? Type4578 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmitted? Type4579 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent? Type4579 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedAction? Type4580 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4580 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequest? Type4581 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4581 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinks? Type4582 { get; set; } + public global::System.Collections.Generic.IList? Type4582 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksComments? Type4583 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam? Type4583 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksCommits? Type4584 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent? Type4584 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksHtml? Type4585 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? Type4585 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksIssue? Type4586 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? Type4586 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComment? Type4587 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestState? Type4587 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComments? Type4588 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestUser? Type4588 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksSelf? Type4589 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1PullRequestUserType? Type4589 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksStatuses? Type4590 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? Type4590 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestActiveLockReason? Type4591 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant1RequestedReviewerType? Type4591 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAssignee? Type4592 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2? Type4592 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAssigneeType? Type4593 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2Action? Type4593 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4594 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequest? Type4594 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAssignee2? Type4595 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinks? Type4595 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? Type4596 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksComments? Type4596 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociation? Type4597 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksCommits? Type4597 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMerge? Type4598 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksHtml? Type4598 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledBy? Type4599 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksIssue? Type4599 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByType? Type4600 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComment? Type4600 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethod? Type4601 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComments? Type4601 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBase? Type4602 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksSelf? Type4602 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepo? Type4603 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLinksStatuses? Type4603 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoLicense? Type4604 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReason? Type4604 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessage? Type4605 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee? Type4605 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitle? Type4606 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType? Type4606 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwner? Type4607 { get; set; } + public global::System.Collections.Generic.IList? Type4607 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerType? Type4608 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2? Type4608 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoPermissions? Type4609 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? Type4609 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessage? Type4610 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociation? Type4610 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitTitle? Type4611 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMerge? Type4611 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoVisibility? Type4612 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledBy? Type4612 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseUser? Type4613 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByType? Type4613 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseUserType? Type4614 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethod? Type4614 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHead? Type4615 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBase? Type4615 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepo? Type4616 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo? Type4616 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoLicense? Type4617 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoLicense? Type4617 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessage? Type4618 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessage? Type4618 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitle? Type4619 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitle? Type4619 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwner? Type4620 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwner? Type4620 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerType? Type4621 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerType? Type4621 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoPermissions? Type4622 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoPermissions? Type4622 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessage? Type4623 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4623 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitTitle? Type4624 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4624 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoVisibility? Type4625 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoVisibility? Type4625 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadUser? Type4626 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser? Type4626 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadUserType? Type4627 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserType? Type4627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4628 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHead? Type4628 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestLabel? Type4629 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo? Type4629 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestone? Type4630 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoLicense? Type4630 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreator? Type4631 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessage? Type4631 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreatorType? Type4632 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitle? Type4632 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneState? Type4633 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwner? Type4633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4634 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerType? Type4634 { get; set; } /// /// /// - public global::G.OneOf? Type4635 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoPermissions? Type4635 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1? Type4636 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4636 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? Type4637 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4637 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2? Type4638 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoVisibility? Type4638 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent? Type4639 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser? Type4639 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4640 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUserType? Type4640 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? Type4641 { get; set; } + public global::System.Collections.Generic.IList? Type4641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4642 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestLabel? Type4642 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam? Type4643 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMergedBy? Type4643 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent? Type4644 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMergedByType? Type4644 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? Type4645 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestone? Type4645 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? Type4646 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreator? Type4646 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestState? Type4647 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreatorType? Type4647 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestUser? Type4648 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneState? Type4648 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewSubmittedPullRequestUserType? Type4649 { get; set; } + public global::System.Collections.Generic.IList>? Type4649 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolved? Type4650 { get; set; } + public global::G.OneOf? Type4650 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedAction? Type4651 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1? Type4651 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequest? Type4652 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? Type4652 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinks? Type4653 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2? Type4653 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksComments? Type4654 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent? Type4654 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksCommits? Type4655 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4655 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksHtml? Type4656 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4656 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksIssue? Type4657 { get; set; } + public global::System.Collections.Generic.IList? Type4657 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComment? Type4658 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam? Type4658 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComments? Type4659 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent? Type4659 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksSelf? Type4660 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? Type4660 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksStatuses? Type4661 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? Type4661 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReason? Type4662 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestState? Type4662 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssignee? Type4663 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestUser? Type4663 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType? Type4664 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2PullRequestUserType? Type4664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4665 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeam? Type4665 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2? Type4666 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamParent? Type4666 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? Type4667 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacy? Type4667 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociation? Type4668 { get; set; } + public global::G.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacy? Type4668 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMerge? Type4669 { get; set; } + public global::G.WebhookPullRequestReviewSubmitted? Type4669 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledBy? Type4670 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedAction? Type4670 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByType? Type4671 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequest? Type4671 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeMergeMethod? Type4672 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinks? Type4672 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBase? Type4673 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksComments? Type4673 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo? Type4674 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksCommits? Type4674 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoLicense? Type4675 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksHtml? Type4675 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwner? Type4676 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksIssue? Type4676 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwnerType? Type4677 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComment? Type4677 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoPermissions? Type4678 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComments? Type4678 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoVisibility? Type4679 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksSelf? Type4679 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser? Type4680 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLinksStatuses? Type4680 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseUserType? Type4681 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestActiveLockReason? Type4681 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHead? Type4682 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAssignee? Type4682 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo? Type4683 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAssigneeType? Type4683 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoLicense? Type4684 { get; set; } + public global::System.Collections.Generic.IList? Type4684 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwner? Type4685 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAssignee2? Type4685 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwnerType? Type4686 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? Type4686 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoPermissions? Type4687 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociation? Type4687 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoVisibility? Type4688 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMerge? Type4688 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser? Type4689 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledBy? Type4689 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadUserType? Type4690 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByType? Type4690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4691 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethod? Type4691 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLabel? Type4692 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBase? Type4692 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestone? Type4693 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepo? Type4693 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreator? Type4694 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoLicense? Type4694 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreatorType? Type4695 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessage? Type4695 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneState? Type4696 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitle? Type4696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4697 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwner? Type4697 { get; set; } /// /// /// - public global::G.OneOf? Type4698 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerType? Type4698 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1? Type4699 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoPermissions? Type4699 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? Type4700 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessage? Type4700 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2? Type4701 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitTitle? Type4701 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent? Type4702 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseRepoVisibility? Type4702 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4703 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseUser? Type4703 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? Type4704 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestBaseUserType? Type4704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4705 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHead? Type4705 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam? Type4706 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepo? Type4706 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent? Type4707 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoLicense? Type4707 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? Type4708 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessage? Type4708 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? Type4709 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitle? Type4709 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestState? Type4710 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwner? Type4710 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestUser? Type4711 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerType? Type4711 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedPullRequestUserType? Type4712 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoPermissions? Type4712 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThread? Type4713 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessage? Type4713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4714 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitTitle? Type4714 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadComment? Type4715 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadRepoVisibility? Type4715 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinks? Type4716 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadUser? Type4716 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml? Type4717 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestHeadUserType? Type4717 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest? Type4718 { get; set; } + public global::System.Collections.Generic.IList? Type4718 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf? Type4719 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestLabel? Type4719 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? Type4720 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestone? Type4720 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentReactions? Type4721 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreator? Type4721 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentSide? Type4722 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreatorType? Type4722 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? Type4723 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestMilestoneState? Type4723 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? Type4724 { get; set; } + public global::System.Collections.Generic.IList>? Type4724 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentUser? Type4725 { get; set; } + public global::G.OneOf? Type4725 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? Type4726 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1? Type4726 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolved? Type4727 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? Type4727 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedAction? Type4728 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2? Type4728 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequest? Type4729 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent? Type4729 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinks? Type4730 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4730 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksComments? Type4731 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? Type4731 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksCommits? Type4732 { get; set; } + public global::System.Collections.Generic.IList? Type4732 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksHtml? Type4733 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam? Type4733 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksIssue? Type4734 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent? Type4734 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComment? Type4735 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? Type4735 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComments? Type4736 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? Type4736 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksSelf? Type4737 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestState? Type4737 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksStatuses? Type4738 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestUser? Type4738 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReason? Type4739 { get; set; } + public global::G.WebhookPullRequestReviewSubmittedPullRequestUserType? Type4739 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee? Type4740 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolved? Type4740 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType? Type4741 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedAction? Type4741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4742 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequest? Type4742 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2? Type4743 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinks? Type4743 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? Type4744 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksComments? Type4744 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociation? Type4745 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksCommits? Type4745 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMerge? Type4746 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksHtml? Type4746 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledBy? Type4747 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksIssue? Type4747 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByType? Type4748 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComment? Type4748 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeMergeMethod? Type4749 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComments? Type4749 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBase? Type4750 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksSelf? Type4750 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo? Type4751 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLinksStatuses? Type4751 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoLicense? Type4752 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReason? Type4752 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwner? Type4753 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssignee? Type4753 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwnerType? Type4754 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType? Type4754 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoPermissions? Type4755 { get; set; } + public global::System.Collections.Generic.IList? Type4755 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoVisibility? Type4756 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2? Type4756 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser? Type4757 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? Type4757 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUserType? Type4758 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociation? Type4758 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHead? Type4759 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMerge? Type4759 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo? Type4760 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledBy? Type4760 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoLicense? Type4761 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByType? Type4761 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwner? Type4762 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeMergeMethod? Type4762 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwnerType? Type4763 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBase? Type4763 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoPermissions? Type4764 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo? Type4764 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoVisibility? Type4765 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoLicense? Type4765 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser? Type4766 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwner? Type4766 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUserType? Type4767 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwnerType? Type4767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4768 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoPermissions? Type4768 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel? Type4769 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoVisibility? Type4769 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestone? Type4770 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser? Type4770 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreator? Type4771 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestBaseUserType? Type4771 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreatorType? Type4772 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHead? Type4772 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneState? Type4773 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo? Type4773 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4774 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoLicense? Type4774 { get; set; } /// /// /// - public global::G.OneOf? Type4775 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwner? Type4775 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1? Type4776 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwnerType? Type4776 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? Type4777 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoPermissions? Type4777 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2? Type4778 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoVisibility? Type4778 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent? Type4779 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser? Type4779 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4780 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestHeadUserType? Type4780 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? Type4781 { get; set; } + public global::System.Collections.Generic.IList? Type4781 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4782 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestLabel? Type4782 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam? Type4783 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestone? Type4783 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent? Type4784 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreator? Type4784 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? Type4785 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreatorType? Type4785 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? Type4786 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneState? Type4786 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestState? Type4787 { get; set; } + public global::System.Collections.Generic.IList>? Type4787 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestUser? Type4788 { get; set; } + public global::G.OneOf? Type4788 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestUserType? Type4789 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1? Type4789 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThread? Type4790 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? Type4790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4791 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2? Type4791 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadComment? Type4792 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent? Type4792 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks? Type4793 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4793 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml? Type4794 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? Type4794 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest? Type4795 { get; set; } + public global::System.Collections.Generic.IList? Type4795 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf? Type4796 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam? Type4796 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? Type4797 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent? Type4797 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions? Type4798 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? Type4798 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? Type4799 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? Type4799 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? Type4800 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestState? Type4800 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? Type4801 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestUser? Type4801 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser? Type4802 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedPullRequestUserType? Type4802 { get; set; } /// /// /// - public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? Type4803 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThread? Type4803 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronize? Type4804 { get; set; } + public global::System.Collections.Generic.IList? Type4804 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizeAction? Type4805 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadComment? Type4805 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequest? Type4806 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinks? Type4806 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinks? Type4807 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml? Type4807 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksComments? Type4808 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest? Type4808 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksCommits? Type4809 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf? Type4809 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksHtml? Type4810 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? Type4810 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksIssue? Type4811 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentReactions? Type4811 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksReviewComment? Type4812 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentSide? Type4812 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksReviewComments? Type4813 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? Type4813 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksSelf? Type4814 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? Type4814 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLinksStatuses? Type4815 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentUser? Type4815 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestActiveLockReason? Type4816 { get; set; } + public global::G.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? Type4816 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAssignee? Type4817 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolved? Type4817 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAssigneeType? Type4818 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedAction? Type4818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4819 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequest? Type4819 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAssignee2? Type4820 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinks? Type4820 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAssigneeType2? Type4821 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksComments? Type4821 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAuthorAssociation? Type4822 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksCommits? Type4822 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAutoMerge? Type4823 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksHtml? Type4823 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledBy? Type4824 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksIssue? Type4824 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByType? Type4825 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComment? Type4825 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethod? Type4826 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComments? Type4826 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBase? Type4827 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksSelf? Type4827 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepo? Type4828 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksStatuses? Type4828 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoLicense? Type4829 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReason? Type4829 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessage? Type4830 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee? Type4830 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitle? Type4831 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType? Type4831 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoOwner? Type4832 { get; set; } + public global::System.Collections.Generic.IList? Type4832 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerType? Type4833 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2? Type4833 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoPermissions? Type4834 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? Type4834 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessage? Type4835 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociation? Type4835 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitTitle? Type4836 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMerge? Type4836 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoVisibility? Type4837 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledBy? Type4837 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseUser? Type4838 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByType? Type4838 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestBaseUserType? Type4839 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeMergeMethod? Type4839 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHead? Type4840 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBase? Type4840 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepo? Type4841 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo? Type4841 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoLicense? Type4842 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoLicense? Type4842 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessage? Type4843 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwner? Type4843 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitle? Type4844 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwnerType? Type4844 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoOwner? Type4845 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoPermissions? Type4845 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerType? Type4846 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoVisibility? Type4846 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoPermissions? Type4847 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser? Type4847 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessage? Type4848 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUserType? Type4848 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitTitle? Type4849 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHead? Type4849 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoVisibility? Type4850 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo? Type4850 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadUser? Type4851 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoLicense? Type4851 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestHeadUserType? Type4852 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwner? Type4852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4853 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwnerType? Type4853 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestLabel? Type4854 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoPermissions? Type4854 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMergedBy? Type4855 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoVisibility? Type4855 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMergedByType? Type4856 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser? Type4856 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMilestone? Type4857 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUserType? Type4857 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMilestoneCreator? Type4858 { get; set; } + public global::System.Collections.Generic.IList? Type4858 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMilestoneCreatorType? Type4859 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel? Type4859 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestMilestoneState? Type4860 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestone? Type4860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4861 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreator? Type4861 { get; set; } /// /// /// - public global::G.OneOf? Type4862 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreatorType? Type4862 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1? Type4863 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneState? Type4863 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? Type4864 { get; set; } + public global::System.Collections.Generic.IList>? Type4864 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2? Type4865 { get; set; } + public global::G.OneOf? Type4865 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent? Type4866 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1? Type4866 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? Type4867 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? Type4867 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? Type4868 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2? Type4868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4869 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent? Type4869 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeam? Type4870 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4870 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamParent? Type4871 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? Type4871 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? Type4872 { get; set; } + public global::System.Collections.Generic.IList? Type4872 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? Type4873 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam? Type4873 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestState? Type4874 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent? Type4874 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestUser? Type4875 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? Type4875 { get; set; } /// /// /// - public global::G.WebhookPullRequestSynchronizePullRequestUserType? Type4876 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? Type4876 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassigned? Type4877 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestState? Type4877 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedAction? Type4878 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestUser? Type4878 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequest? Type4879 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedPullRequestUserType? Type4879 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinks? Type4880 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThread? Type4880 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksComments? Type4881 { get; set; } + public global::System.Collections.Generic.IList? Type4881 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksCommits? Type4882 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadComment? Type4882 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksHtml? Type4883 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks? Type4883 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksIssue? Type4884 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml? Type4884 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksReviewComment? Type4885 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest? Type4885 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksReviewComments? Type4886 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf? Type4886 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksSelf? Type4887 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? Type4887 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLinksStatuses? Type4888 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions? Type4888 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestActiveLockReason? Type4889 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? Type4889 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAssignee? Type4890 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? Type4890 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAssigneeType? Type4891 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? Type4891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4892 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser? Type4892 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAssignee2? Type4893 { get; set; } + public global::G.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? Type4893 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAssigneeType2? Type4894 { get; set; } + public global::G.WebhookPullRequestSynchronize? Type4894 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAuthorAssociation? Type4895 { get; set; } + public global::G.WebhookPullRequestSynchronizeAction? Type4895 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAutoMerge? Type4896 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequest? Type4896 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledBy? Type4897 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinks? Type4897 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByType? Type4898 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksComments? Type4898 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethod? Type4899 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksCommits? Type4899 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBase? Type4900 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksHtml? Type4900 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepo? Type4901 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksIssue? Type4901 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoLicense? Type4902 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksReviewComment? Type4902 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessage? Type4903 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksReviewComments? Type4903 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitle? Type4904 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksSelf? Type4904 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoOwner? Type4905 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLinksStatuses? Type4905 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerType? Type4906 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestActiveLockReason? Type4906 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoPermissions? Type4907 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAssignee? Type4907 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessage? Type4908 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAssigneeType? Type4908 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitTitle? Type4909 { get; set; } + public global::System.Collections.Generic.IList? Type4909 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoVisibility? Type4910 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAssignee2? Type4910 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseUser? Type4911 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAssigneeType2? Type4911 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestBaseUserType? Type4912 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAuthorAssociation? Type4912 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHead? Type4913 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAutoMerge? Type4913 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepo? Type4914 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledBy? Type4914 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoLicense? Type4915 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByType? Type4915 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessage? Type4916 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethod? Type4916 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitle? Type4917 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBase? Type4917 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoOwner? Type4918 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepo? Type4918 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerType? Type4919 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoLicense? Type4919 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoPermissions? Type4920 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessage? Type4920 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessage? Type4921 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitle? Type4921 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitTitle? Type4922 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoOwner? Type4922 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoVisibility? Type4923 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerType? Type4923 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadUser? Type4924 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoPermissions? Type4924 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestHeadUserType? Type4925 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessage? Type4925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4926 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitTitle? Type4926 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestLabel? Type4927 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseRepoVisibility? Type4927 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMergedBy? Type4928 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseUser? Type4928 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMergedByType? Type4929 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestBaseUserType? Type4929 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMilestone? Type4930 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHead? Type4930 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMilestoneCreator? Type4931 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepo? Type4931 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMilestoneCreatorType? Type4932 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoLicense? Type4932 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestMilestoneState? Type4933 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessage? Type4933 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4934 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitle? Type4934 { get; set; } /// /// /// - public global::G.OneOf? Type4935 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoOwner? Type4935 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1? Type4936 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerType? Type4936 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? Type4937 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoPermissions? Type4937 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2? Type4938 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessage? Type4938 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent? Type4939 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitTitle? Type4939 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4940 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadRepoVisibility? Type4940 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? Type4941 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadUser? Type4941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4942 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestHeadUserType? Type4942 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeam? Type4943 { get; set; } + public global::System.Collections.Generic.IList? Type4943 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamParent? Type4944 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestLabel? Type4944 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? Type4945 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMergedBy? Type4945 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? Type4946 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMergedByType? Type4946 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestState? Type4947 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMilestone? Type4947 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestUser? Type4948 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMilestoneCreator? Type4948 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnassignedPullRequestUserType? Type4949 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMilestoneCreatorType? Type4949 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeled? Type4950 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestMilestoneState? Type4950 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledAction? Type4951 { get; set; } + public global::System.Collections.Generic.IList>? Type4951 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequest? Type4952 { get; set; } + public global::G.OneOf? Type4952 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinks? Type4953 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1? Type4953 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksComments? Type4954 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? Type4954 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksCommits? Type4955 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2? Type4955 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksHtml? Type4956 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent? Type4956 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksIssue? Type4957 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? Type4957 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksReviewComment? Type4958 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? Type4958 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksReviewComments? Type4959 { get; set; } + public global::System.Collections.Generic.IList? Type4959 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksSelf? Type4960 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeam? Type4960 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLinksStatuses? Type4961 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamParent? Type4961 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestActiveLockReason? Type4962 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? Type4962 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAssignee? Type4963 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? Type4963 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAssigneeType? Type4964 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestState? Type4964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4965 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestUser? Type4965 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAssignee2? Type4966 { get; set; } + public global::G.WebhookPullRequestSynchronizePullRequestUserType? Type4966 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAssigneeType2? Type4967 { get; set; } + public global::G.WebhookPullRequestUnassigned? Type4967 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAuthorAssociation? Type4968 { get; set; } + public global::G.WebhookPullRequestUnassignedAction? Type4968 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAutoMerge? Type4969 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequest? Type4969 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledBy? Type4970 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinks? Type4970 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByType? Type4971 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksComments? Type4971 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethod? Type4972 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksCommits? Type4972 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBase? Type4973 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksHtml? Type4973 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepo? Type4974 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksIssue? Type4974 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoLicense? Type4975 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksReviewComment? Type4975 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessage? Type4976 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksReviewComments? Type4976 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitle? Type4977 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksSelf? Type4977 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoOwner? Type4978 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLinksStatuses? Type4978 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerType? Type4979 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestActiveLockReason? Type4979 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoPermissions? Type4980 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAssignee? Type4980 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessage? Type4981 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAssigneeType? Type4981 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitTitle? Type4982 { get; set; } + public global::System.Collections.Generic.IList? Type4982 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoVisibility? Type4983 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAssignee2? Type4983 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseUser? Type4984 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAssigneeType2? Type4984 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestBaseUserType? Type4985 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAuthorAssociation? Type4985 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHead? Type4986 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAutoMerge? Type4986 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepo? Type4987 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledBy? Type4987 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoLicense? Type4988 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByType? Type4988 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessage? Type4989 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethod? Type4989 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitle? Type4990 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBase? Type4990 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoOwner? Type4991 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepo? Type4991 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerType? Type4992 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoLicense? Type4992 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoPermissions? Type4993 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessage? Type4993 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessage? Type4994 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitle? Type4994 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitTitle? Type4995 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoOwner? Type4995 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoVisibility? Type4996 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerType? Type4996 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadUser? Type4997 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoPermissions? Type4997 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestHeadUserType? Type4998 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessage? Type4998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4999 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitTitle? Type4999 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestLabel? Type5000 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseRepoVisibility? Type5000 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMergedBy? Type5001 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseUser? Type5001 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMergedByType? Type5002 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestBaseUserType? Type5002 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMilestone? Type5003 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHead? Type5003 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneCreator? Type5004 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepo? Type5004 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneCreatorType? Type5005 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoLicense? Type5005 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneState? Type5006 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessage? Type5006 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type5007 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitle? Type5007 { get; set; } /// /// /// - public global::G.OneOf? Type5008 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoOwner? Type5008 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1? Type5009 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerType? Type5009 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? Type5010 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoPermissions? Type5010 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2? Type5011 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessage? Type5011 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent? Type5012 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitTitle? Type5012 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type5013 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadRepoVisibility? Type5013 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? Type5014 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadUser? Type5014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5015 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestHeadUserType? Type5015 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeam? Type5016 { get; set; } + public global::System.Collections.Generic.IList? Type5016 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent? Type5017 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestLabel? Type5017 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? Type5018 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMergedBy? Type5018 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? Type5019 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMergedByType? Type5019 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestState? Type5020 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMilestone? Type5020 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestUser? Type5021 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMilestoneCreator? Type5021 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlabeledPullRequestUserType? Type5022 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMilestoneCreatorType? Type5022 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlocked? Type5023 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestMilestoneState? Type5023 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedAction? Type5024 { get; set; } + public global::System.Collections.Generic.IList>? Type5024 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequest? Type5025 { get; set; } + public global::G.OneOf? Type5025 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinks? Type5026 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1? Type5026 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksComments? Type5027 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? Type5027 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksCommits? Type5028 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2? Type5028 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksHtml? Type5029 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent? Type5029 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksIssue? Type5030 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type5030 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksReviewComment? Type5031 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? Type5031 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksReviewComments? Type5032 { get; set; } + public global::System.Collections.Generic.IList? Type5032 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksSelf? Type5033 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeam? Type5033 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLinksStatuses? Type5034 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamParent? Type5034 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestActiveLockReason? Type5035 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? Type5035 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAssignee? Type5036 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? Type5036 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAssigneeType? Type5037 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestState? Type5037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5038 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestUser? Type5038 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAssignee2? Type5039 { get; set; } + public global::G.WebhookPullRequestUnassignedPullRequestUserType? Type5039 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAssigneeType2? Type5040 { get; set; } + public global::G.WebhookPullRequestUnlabeled? Type5040 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAuthorAssociation? Type5041 { get; set; } + public global::G.WebhookPullRequestUnlabeledAction? Type5041 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAutoMerge? Type5042 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequest? Type5042 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledBy? Type5043 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinks? Type5043 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByType? Type5044 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksComments? Type5044 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethod? Type5045 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksCommits? Type5045 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBase? Type5046 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksHtml? Type5046 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepo? Type5047 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksIssue? Type5047 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoLicense? Type5048 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksReviewComment? Type5048 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessage? Type5049 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksReviewComments? Type5049 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitle? Type5050 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksSelf? Type5050 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoOwner? Type5051 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLinksStatuses? Type5051 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerType? Type5052 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestActiveLockReason? Type5052 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoPermissions? Type5053 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAssignee? Type5053 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessage? Type5054 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAssigneeType? Type5054 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitTitle? Type5055 { get; set; } + public global::System.Collections.Generic.IList? Type5055 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoVisibility? Type5056 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAssignee2? Type5056 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseUser? Type5057 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAssigneeType2? Type5057 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestBaseUserType? Type5058 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAuthorAssociation? Type5058 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHead? Type5059 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAutoMerge? Type5059 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepo? Type5060 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledBy? Type5060 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoLicense? Type5061 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByType? Type5061 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessage? Type5062 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethod? Type5062 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitle? Type5063 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBase? Type5063 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoOwner? Type5064 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepo? Type5064 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerType? Type5065 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoLicense? Type5065 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoPermissions? Type5066 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessage? Type5066 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessage? Type5067 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitle? Type5067 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitTitle? Type5068 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoOwner? Type5068 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoVisibility? Type5069 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerType? Type5069 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadUser? Type5070 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoPermissions? Type5070 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestHeadUserType? Type5071 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessage? Type5071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5072 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitTitle? Type5072 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestLabel? Type5073 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseRepoVisibility? Type5073 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMergedBy? Type5074 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseUser? Type5074 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMergedByType? Type5075 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestBaseUserType? Type5075 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMilestone? Type5076 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHead? Type5076 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMilestoneCreator? Type5077 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepo? Type5077 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMilestoneCreatorType? Type5078 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoLicense? Type5078 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestMilestoneState? Type5079 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessage? Type5079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type5080 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitle? Type5080 { get; set; } /// /// /// - public global::G.OneOf? Type5081 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoOwner? Type5081 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1? Type5082 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerType? Type5082 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? Type5083 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoPermissions? Type5083 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2? Type5084 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessage? Type5084 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent? Type5085 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitTitle? Type5085 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type5086 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadRepoVisibility? Type5086 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? Type5087 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadUser? Type5087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5088 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestHeadUserType? Type5088 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeam? Type5089 { get; set; } + public global::System.Collections.Generic.IList? Type5089 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamParent? Type5090 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestLabel? Type5090 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? Type5091 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMergedBy? Type5091 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? Type5092 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMergedByType? Type5092 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestState? Type5093 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMilestone? Type5093 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestUser? Type5094 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneCreator? Type5094 { get; set; } /// /// /// - public global::G.WebhookPullRequestUnlockedPullRequestUserType? Type5095 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneCreatorType? Type5095 { get; set; } /// /// /// - public global::G.WebhookPush? Type5096 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestMilestoneState? Type5096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5097 { get; set; } + public global::System.Collections.Generic.IList>? Type5097 { get; set; } /// /// /// - public global::G.WebhookPushCommit? Type5098 { get; set; } + public global::G.OneOf? Type5098 { get; set; } /// /// /// - public global::G.WebhookPushCommitAuthor? Type5099 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1? Type5099 { get; set; } /// /// /// - public global::G.WebhookPushCommitCommitter? Type5100 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? Type5100 { get; set; } /// /// /// - public global::G.WebhookPushHeadCommit? Type5101 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2? Type5101 { get; set; } /// /// /// - public global::G.WebhookPushHeadCommitAuthor? Type5102 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent? Type5102 { get; set; } /// /// /// - public global::G.WebhookPushHeadCommitCommitter? Type5103 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type5103 { get; set; } /// /// /// - public global::G.WebhookPushPusher? Type5104 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? Type5104 { get; set; } /// /// /// - public global::G.WebhookPushRepository? Type5105 { get; set; } + public global::System.Collections.Generic.IList? Type5105 { get; set; } /// /// /// - public global::G.WebhookPushRepositoryLicense? Type5106 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeam? Type5106 { get; set; } /// /// /// - public global::G.WebhookPushRepositoryOwner? Type5107 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent? Type5107 { get; set; } /// /// /// - public global::G.WebhookPushRepositoryOwnerType? Type5108 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? Type5108 { get; set; } /// /// /// - public global::G.WebhookPushRepositoryPermissions? Type5109 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? Type5109 { get; set; } /// /// /// - public global::G.WebhookPushRepositoryVisibility? Type5110 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestState? Type5110 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublished? Type5111 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestUser? Type5111 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedAction? Type5112 { get; set; } + public global::G.WebhookPullRequestUnlabeledPullRequestUserType? Type5112 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackage? Type5113 { get; set; } + public global::G.WebhookPullRequestUnlocked? Type5113 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackageOwner? Type5114 { get; set; } + public global::G.WebhookPullRequestUnlockedAction? Type5114 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersion? Type5115 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequest? Type5115 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionAuthor? Type5116 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinks? Type5116 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata? Type5117 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksComments? Type5117 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataTag? Type5118 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksCommits? Type5118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5119 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksHtml? Type5119 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem? Type5120 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksIssue? Type5120 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata? Type5121 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksReviewComment? Type5121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5122 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksReviewComments? Type5122 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem? Type5123 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksSelf? Type5123 { get; set; } /// /// /// - public global::G.OneOf? Type5124 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLinksStatuses? Type5124 { get; set; } /// /// /// - public global::G.OneOf? Type5125 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestActiveLockReason? Type5125 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue? Type5126 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAssignee? Type5126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5127 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAssigneeType? Type5127 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile? Type5128 { get; set; } + public global::System.Collections.Generic.IList? Type5128 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionRelease? Type5129 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAssignee2? Type5129 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionReleaseAuthor? Type5130 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAssigneeType2? Type5130 { get; set; } /// /// /// - public global::G.WebhookRegistryPackagePublishedRegistryPackageRegistry? Type5131 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAuthorAssociation? Type5131 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdated? Type5132 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAutoMerge? Type5132 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedAction? Type5133 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledBy? Type5133 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackage? Type5134 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByType? Type5134 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackageOwner? Type5135 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethod? Type5135 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion? Type5136 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBase? Type5136 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionAuthor? Type5137 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepo? Type5137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5138 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoLicense? Type5138 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem? Type5139 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessage? Type5139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5140 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitle? Type5140 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile? Type5141 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoOwner? Type5141 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionRelease? Type5142 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerType? Type5142 { get; set; } /// /// /// - public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionReleaseAuthor? Type5143 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoPermissions? Type5143 { get; set; } /// /// /// - public global::G.WebhookReleaseCreated? Type5144 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessage? Type5144 { get; set; } /// /// /// - public global::G.WebhookReleaseCreatedAction? Type5145 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitTitle? Type5145 { get; set; } /// /// /// - public global::G.WebhookReleaseDeleted? Type5146 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseRepoVisibility? Type5146 { get; set; } /// /// /// - public global::G.WebhookReleaseDeletedAction? Type5147 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseUser? Type5147 { get; set; } /// /// /// - public global::G.WebhookReleaseEdited? Type5148 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestBaseUserType? Type5148 { get; set; } /// /// /// - public global::G.WebhookReleaseEditedAction? Type5149 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHead? Type5149 { get; set; } /// /// /// - public global::G.WebhookReleaseEditedChanges? Type5150 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepo? Type5150 { get; set; } /// /// /// - public global::G.WebhookReleaseEditedChangesBody? Type5151 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoLicense? Type5151 { get; set; } /// /// /// - public global::G.WebhookReleaseEditedChangesName? Type5152 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessage? Type5152 { get; set; } /// /// /// - public global::G.WebhookReleaseEditedChangesMakeLatest? Type5153 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitle? Type5153 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleased? Type5154 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoOwner? Type5154 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedAction? Type5155 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerType? Type5155 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedRelease? Type5156 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoPermissions? Type5156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5157 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessage? Type5157 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAsset? Type5158 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitTitle? Type5158 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAssetState? Type5159 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadRepoVisibility? Type5159 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAssetUploader? Type5160 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadUser? Type5160 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAssetUploaderType? Type5161 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestHeadUserType? Type5161 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAuthor? Type5162 { get; set; } + public global::System.Collections.Generic.IList? Type5162 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseAuthorType? Type5163 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestLabel? Type5163 { get; set; } /// /// /// - public global::G.WebhookReleasePrereleasedReleaseReactions? Type5164 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMergedBy? Type5164 { get; set; } /// /// /// - public global::G.WebhookReleasePublished? Type5165 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMergedByType? Type5165 { get; set; } /// /// /// - public global::G.WebhookReleasePublishedAction? Type5166 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMilestone? Type5166 { get; set; } /// /// /// - public global::G.WebhookReleaseReleased? Type5167 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMilestoneCreator? Type5167 { get; set; } /// /// /// - public global::G.WebhookReleaseReleasedAction? Type5168 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMilestoneCreatorType? Type5168 { get; set; } /// /// /// - public global::G.WebhookReleaseUnpublished? Type5169 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestMilestoneState? Type5169 { get; set; } /// /// /// - public global::G.WebhookReleaseUnpublishedAction? Type5170 { get; set; } + public global::System.Collections.Generic.IList>? Type5170 { get; set; } /// /// /// - public global::G.WebhookRepositoryAdvisoryPublished? Type5171 { get; set; } + public global::G.OneOf? Type5171 { get; set; } /// /// /// - public global::G.WebhookRepositoryAdvisoryPublishedAction? Type5172 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1? Type5172 { get; set; } /// /// /// - public global::G.WebhookRepositoryAdvisoryReported? Type5173 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? Type5173 { get; set; } /// /// /// - public global::G.WebhookRepositoryAdvisoryReportedAction? Type5174 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2? Type5174 { get; set; } /// /// /// - public global::G.WebhookRepositoryArchived? Type5175 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent? Type5175 { get; set; } /// /// /// - public global::G.WebhookRepositoryArchivedAction? Type5176 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type5176 { get; set; } /// /// /// - public global::G.WebhookRepositoryCreated? Type5177 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? Type5177 { get; set; } /// /// /// - public global::G.WebhookRepositoryCreatedAction? Type5178 { get; set; } + public global::System.Collections.Generic.IList? Type5178 { get; set; } /// /// /// - public global::G.WebhookRepositoryDeleted? Type5179 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeam? Type5179 { get; set; } /// /// /// - public global::G.WebhookRepositoryDeletedAction? Type5180 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamParent? Type5180 { get; set; } /// /// /// - public global::G.WebhookRepositoryDispatchSample? Type5181 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? Type5181 { get; set; } /// /// /// - public global::G.WebhookRepositoryEdited? Type5182 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? Type5182 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedAction? Type5183 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestState? Type5183 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedChanges? Type5184 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestUser? Type5184 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedChangesDefaultBranch? Type5185 { get; set; } + public global::G.WebhookPullRequestUnlockedPullRequestUserType? Type5185 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedChangesDescription? Type5186 { get; set; } + public global::G.WebhookPush? Type5186 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedChangesHomepage? Type5187 { get; set; } + public global::System.Collections.Generic.IList? Type5187 { get; set; } /// /// /// - public global::G.WebhookRepositoryEditedChangesTopics? Type5188 { get; set; } + public global::G.WebhookPushCommit? Type5188 { get; set; } /// /// /// - public global::G.WebhookRepositoryImport? Type5189 { get; set; } + public global::G.WebhookPushCommitAuthor? Type5189 { get; set; } /// /// /// - public global::G.WebhookRepositoryImportStatus? Type5190 { get; set; } + public global::G.WebhookPushCommitCommitter? Type5190 { get; set; } /// /// /// - public global::G.WebhookRepositoryPrivatized? Type5191 { get; set; } + public global::G.WebhookPushHeadCommit? Type5191 { get; set; } /// /// /// - public global::G.WebhookRepositoryPrivatizedAction? Type5192 { get; set; } + public global::G.WebhookPushHeadCommitAuthor? Type5192 { get; set; } /// /// /// - public global::G.WebhookRepositoryPublicized? Type5193 { get; set; } + public global::G.WebhookPushHeadCommitCommitter? Type5193 { get; set; } /// /// /// - public global::G.WebhookRepositoryPublicizedAction? Type5194 { get; set; } + public global::G.WebhookPushPusher? Type5194 { get; set; } /// /// /// - public global::G.WebhookRepositoryRenamed? Type5195 { get; set; } + public global::G.WebhookPushRepository? Type5195 { get; set; } /// /// /// - public global::G.WebhookRepositoryRenamedAction? Type5196 { get; set; } + public global::G.WebhookPushRepositoryLicense? Type5196 { get; set; } /// /// /// - public global::G.WebhookRepositoryRenamedChanges? Type5197 { get; set; } + public global::G.WebhookPushRepositoryOwner? Type5197 { get; set; } /// /// /// - public global::G.WebhookRepositoryRenamedChangesRepository? Type5198 { get; set; } + public global::G.WebhookPushRepositoryOwnerType? Type5198 { get; set; } /// /// /// - public global::G.WebhookRepositoryRenamedChangesRepositoryName? Type5199 { get; set; } + public global::G.WebhookPushRepositoryPermissions? Type5199 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetCreated? Type5200 { get; set; } + public global::G.WebhookPushRepositoryVisibility? Type5200 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetCreatedAction? Type5201 { get; set; } + public global::G.WebhookRegistryPackagePublished? Type5201 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetDeleted? Type5202 { get; set; } + public global::G.WebhookRegistryPackagePublishedAction? Type5202 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetDeletedAction? Type5203 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackage? Type5203 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEdited? Type5204 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackageOwner? Type5204 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedAction? Type5205 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersion? Type5205 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChanges? Type5206 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionAuthor? Type5206 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesName? Type5207 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata? Type5207 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesEnforcement? Type5208 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataTag? Type5208 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditions? Type5209 { get; set; } + public global::System.Collections.Generic.IList? Type5209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5210 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem? Type5210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5211 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata? Type5211 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem? Type5212 { get; set; } + public global::System.Collections.Generic.IList? Type5212 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges? Type5213 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem? Type5213 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType? Type5214 { get; set; } + public global::G.OneOf? Type5214 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget? Type5215 { get; set; } + public global::G.OneOf? Type5215 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude? Type5216 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue? Type5216 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude? Type5217 { get; set; } + public global::System.Collections.Generic.IList? Type5217 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRules? Type5218 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile? Type5218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5219 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionRelease? Type5219 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem? Type5220 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackagePackageVersionReleaseAuthor? Type5220 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges? Type5221 { get; set; } + public global::G.WebhookRegistryPackagePublishedRegistryPackageRegistry? Type5221 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration? Type5222 { get; set; } + public global::G.WebhookRegistryPackageUpdated? Type5222 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType? Type5223 { get; set; } + public global::G.WebhookRegistryPackageUpdatedAction? Type5223 { get; set; } /// /// /// - public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern? Type5224 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackage? Type5224 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferred? Type5225 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackageOwner? Type5225 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredAction? Type5226 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion? Type5226 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChanges? Type5227 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionAuthor? Type5227 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChangesOwner? Type5228 { get; set; } + public global::System.Collections.Generic.IList? Type5228 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChangesOwnerFrom? Type5229 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem? Type5229 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChangesOwnerFromOrganization? Type5230 { get; set; } + public global::System.Collections.Generic.IList? Type5230 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChangesOwnerFromUser? Type5231 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile? Type5231 { get; set; } /// /// /// - public global::G.WebhookRepositoryTransferredChangesOwnerFromUserType? Type5232 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionRelease? Type5232 { get; set; } /// /// /// - public global::G.WebhookRepositoryUnarchived? Type5233 { get; set; } + public global::G.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionReleaseAuthor? Type5233 { get; set; } /// /// /// - public global::G.WebhookRepositoryUnarchivedAction? Type5234 { get; set; } + public global::G.WebhookReleaseCreated? Type5234 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertCreate? Type5235 { get; set; } + public global::G.WebhookReleaseCreatedAction? Type5235 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertCreateAction? Type5236 { get; set; } + public global::G.WebhookReleaseDeleted? Type5236 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismiss? Type5237 { get; set; } + public global::G.WebhookReleaseDeletedAction? Type5237 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismissAction? Type5238 { get; set; } + public global::G.WebhookReleaseEdited? Type5238 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismissAlert? Type5239 { get; set; } + public global::G.WebhookReleaseEditedAction? Type5239 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertDismisser? Type5240 { get; set; } + public global::G.WebhookReleaseEditedChanges? Type5240 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserType? Type5241 { get; set; } + public global::G.WebhookReleaseEditedChangesBody? Type5241 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertState? Type5242 { get; set; } + public global::G.WebhookReleaseEditedChangesName? Type5242 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertReopen? Type5243 { get; set; } + public global::G.WebhookReleaseEditedChangesMakeLatest? Type5243 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertReopenAction? Type5244 { get; set; } + public global::G.WebhookReleasePrereleased? Type5244 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolve? Type5245 { get; set; } + public global::G.WebhookReleasePrereleasedAction? Type5245 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolveAction? Type5246 { get; set; } + public global::G.WebhookReleasePrereleasedRelease? Type5246 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolveAlert? Type5247 { get; set; } + public global::System.Collections.Generic.IList? Type5247 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertDismisser? Type5248 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAsset? Type5248 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserType? Type5249 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAssetState? Type5249 { get; set; } /// /// /// - public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertState? Type5250 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAssetUploader? Type5250 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertCreated? Type5251 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAssetUploaderType? Type5251 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertCreatedAction? Type5252 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAuthor? Type5252 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertLocationCreated? Type5253 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseAuthorType? Type5253 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertLocationCreatedAction? Type5254 { get; set; } + public global::G.WebhookReleasePrereleasedReleaseReactions? Type5254 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertLocationCreatedFormEncoded? Type5255 { get; set; } + public global::G.WebhookReleasePublished? Type5255 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertReopened? Type5256 { get; set; } + public global::G.WebhookReleasePublishedAction? Type5256 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertReopenedAction? Type5257 { get; set; } + public global::G.WebhookReleaseReleased? Type5257 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertResolved? Type5258 { get; set; } + public global::G.WebhookReleaseReleasedAction? Type5258 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertResolvedAction? Type5259 { get; set; } + public global::G.WebhookReleaseUnpublished? Type5259 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertRevoked? Type5260 { get; set; } + public global::G.WebhookReleaseUnpublishedAction? Type5260 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertRevokedAction? Type5261 { get; set; } + public global::G.WebhookRepositoryAdvisoryPublished? Type5261 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertValidated? Type5262 { get; set; } + public global::G.WebhookRepositoryAdvisoryPublishedAction? Type5262 { get; set; } /// /// /// - public global::G.WebhookSecretScanningAlertValidatedAction? Type5263 { get; set; } + public global::G.WebhookRepositoryAdvisoryReported? Type5263 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryPublished? Type5264 { get; set; } + public global::G.WebhookRepositoryAdvisoryReportedAction? Type5264 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryPublishedAction? Type5265 { get; set; } + public global::G.WebhookRepositoryArchived? Type5265 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryUpdated? Type5266 { get; set; } + public global::G.WebhookRepositoryArchivedAction? Type5266 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryUpdatedAction? Type5267 { get; set; } + public global::G.WebhookRepositoryCreated? Type5267 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawn? Type5268 { get; set; } + public global::G.WebhookRepositoryCreatedAction? Type5268 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnAction? Type5269 { get; set; } + public global::G.WebhookRepositoryDeleted? Type5269 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory? Type5270 { get; set; } + public global::G.WebhookRepositoryDeletedAction? Type5270 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss? Type5271 { get; set; } + public global::G.WebhookRepositoryDispatchSample? Type5271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5272 { get; set; } + public global::G.WebhookRepositoryEdited? Type5272 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe? Type5273 { get; set; } + public global::G.WebhookRepositoryEditedAction? Type5273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5274 { get; set; } + public global::G.WebhookRepositoryEditedChanges? Type5274 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier? Type5275 { get; set; } + public global::G.WebhookRepositoryEditedChangesDefaultBranch? Type5275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5276 { get; set; } + public global::G.WebhookRepositoryEditedChangesDescription? Type5276 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference? Type5277 { get; set; } + public global::G.WebhookRepositoryEditedChangesHomepage? Type5277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5278 { get; set; } + public global::G.WebhookRepositoryEditedChangesTopics? Type5278 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie? Type5279 { get; set; } + public global::G.WebhookRepositoryImport? Type5279 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type5280 { get; set; } + public global::G.WebhookRepositoryImportStatus? Type5280 { get; set; } /// /// /// - public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage? Type5281 { get; set; } + public global::G.WebhookRepositoryPrivatized? Type5281 { get; set; } /// /// /// - public global::G.WebhookSecurityAndAnalysis? Type5282 { get; set; } + public global::G.WebhookRepositoryPrivatizedAction? Type5282 { get; set; } /// /// /// - public global::G.WebhookSecurityAndAnalysisChanges? Type5283 { get; set; } + public global::G.WebhookRepositoryPublicized? Type5283 { get; set; } /// /// /// - public global::G.WebhookSecurityAndAnalysisChangesFrom? Type5284 { get; set; } + public global::G.WebhookRepositoryPublicizedAction? Type5284 { get; set; } /// /// /// - public global::G.WebhookSponsorshipCancelled? Type5285 { get; set; } + public global::G.WebhookRepositoryRenamed? Type5285 { get; set; } /// /// /// - public global::G.WebhookSponsorshipCancelledAction? Type5286 { get; set; } + public global::G.WebhookRepositoryRenamedAction? Type5286 { get; set; } /// /// /// - public global::G.WebhookSponsorshipCreated? Type5287 { get; set; } + public global::G.WebhookRepositoryRenamedChanges? Type5287 { get; set; } /// /// /// - public global::G.WebhookSponsorshipCreatedAction? Type5288 { get; set; } + public global::G.WebhookRepositoryRenamedChangesRepository? Type5288 { get; set; } /// /// /// - public global::G.WebhookSponsorshipEdited? Type5289 { get; set; } + public global::G.WebhookRepositoryRenamedChangesRepositoryName? Type5289 { get; set; } /// /// /// - public global::G.WebhookSponsorshipEditedAction? Type5290 { get; set; } + public global::G.WebhookRepositoryRulesetCreated? Type5290 { get; set; } /// /// /// - public global::G.WebhookSponsorshipEditedChanges? Type5291 { get; set; } + public global::G.WebhookRepositoryRulesetCreatedAction? Type5291 { get; set; } /// /// /// - public global::G.WebhookSponsorshipEditedChangesPrivacyLevel? Type5292 { get; set; } + public global::G.WebhookRepositoryRulesetDeleted? Type5292 { get; set; } /// /// /// - public global::G.WebhookSponsorshipPendingCancellation? Type5293 { get; set; } + public global::G.WebhookRepositoryRulesetDeletedAction? Type5293 { get; set; } /// /// /// - public global::G.WebhookSponsorshipPendingCancellationAction? Type5294 { get; set; } + public global::G.WebhookRepositoryRulesetEdited? Type5294 { get; set; } /// /// /// - public global::G.WebhookSponsorshipPendingTierChange? Type5295 { get; set; } + public global::G.WebhookRepositoryRulesetEditedAction? Type5295 { get; set; } /// /// /// - public global::G.WebhookSponsorshipPendingTierChangeAction? Type5296 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChanges? Type5296 { get; set; } /// /// /// - public global::G.WebhookSponsorshipTierChanged? Type5297 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesName? Type5297 { get; set; } /// /// /// - public global::G.WebhookSponsorshipTierChangedAction? Type5298 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesEnforcement? Type5298 { get; set; } /// /// /// - public global::G.WebhookStarCreated? Type5299 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditions? Type5299 { get; set; } /// /// /// - public global::G.WebhookStarCreatedAction? Type5300 { get; set; } + public global::System.Collections.Generic.IList? Type5300 { get; set; } /// /// /// - public global::G.WebhookStarDeleted? Type5301 { get; set; } + public global::System.Collections.Generic.IList? Type5301 { get; set; } /// /// /// - public global::G.WebhookStarDeletedAction? Type5302 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem? Type5302 { get; set; } /// /// /// - public global::G.WebhookStatus? Type5303 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges? Type5303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5304 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType? Type5304 { get; set; } /// /// /// - public global::G.WebhookStatusBranche? Type5305 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget? Type5305 { get; set; } /// /// /// - public global::G.WebhookStatusBrancheCommit? Type5306 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude? Type5306 { get; set; } /// /// /// - public global::G.WebhookStatusCommit? Type5307 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude? Type5307 { get; set; } /// /// /// - public global::G.WebhookStatusCommitAuthor? Type5308 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRules? Type5308 { get; set; } /// /// /// - public global::G.WebhookStatusCommitAuthorType? Type5309 { get; set; } + public global::System.Collections.Generic.IList? Type5309 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommit? Type5310 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem? Type5310 { get; set; } /// /// /// - public global::G.AllOf? Type5311 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges? Type5311 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitAuthorVariant1? Type5312 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration? Type5312 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitAuthorVariant2? Type5313 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType? Type5313 { get; set; } /// /// /// - public global::G.AllOf? Type5314 { get; set; } + public global::G.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern? Type5314 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitCommitterVariant1? Type5315 { get; set; } + public global::G.WebhookRepositoryTransferred? Type5315 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitCommitterVariant2? Type5316 { get; set; } + public global::G.WebhookRepositoryTransferredAction? Type5316 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitTree? Type5317 { get; set; } + public global::G.WebhookRepositoryTransferredChanges? Type5317 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitVerification? Type5318 { get; set; } + public global::G.WebhookRepositoryTransferredChangesOwner? Type5318 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitVerificationReason? Type5319 { get; set; } + public global::G.WebhookRepositoryTransferredChangesOwnerFrom? Type5319 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitter? Type5320 { get; set; } + public global::G.WebhookRepositoryTransferredChangesOwnerFromOrganization? Type5320 { get; set; } /// /// /// - public global::G.WebhookStatusCommitCommitterType? Type5321 { get; set; } + public global::G.WebhookRepositoryTransferredChangesOwnerFromUser? Type5321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5322 { get; set; } + public global::G.WebhookRepositoryTransferredChangesOwnerFromUserType? Type5322 { get; set; } /// /// /// - public global::G.WebhookStatusCommitParent? Type5323 { get; set; } + public global::G.WebhookRepositoryUnarchived? Type5323 { get; set; } /// /// /// - public global::G.WebhookStatusState? Type5324 { get; set; } + public global::G.WebhookRepositoryUnarchivedAction? Type5324 { get; set; } /// /// /// - public global::G.WebhookTeamAdd? Type5325 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertCreate? Type5325 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepository? Type5326 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertCreateAction? Type5326 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryAction? Type5327 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismiss? Type5327 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepository? Type5328 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismissAction? Type5328 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepositoryLicense? Type5329 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismissAlert? Type5329 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepositoryOwner? Type5330 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertDismisser? Type5330 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepositoryOwnerType? Type5331 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserType? Type5331 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepositoryPermissions? Type5332 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertDismissAlertState? Type5332 { get; set; } /// /// /// - public global::G.WebhookTeamAddedToRepositoryRepositoryVisibility? Type5333 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertReopen? Type5333 { get; set; } /// /// /// - public global::G.WebhookTeamCreated? Type5334 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertReopenAction? Type5334 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedAction? Type5335 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolve? Type5335 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepository? Type5336 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolveAction? Type5336 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepositoryLicense? Type5337 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolveAlert? Type5337 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepositoryOwner? Type5338 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertDismisser? Type5338 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepositoryOwnerType? Type5339 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserType? Type5339 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepositoryPermissions? Type5340 { get; set; } + public global::G.WebhookRepositoryVulnerabilityAlertResolveAlertState? Type5340 { get; set; } /// /// /// - public global::G.WebhookTeamCreatedRepositoryVisibility? Type5341 { get; set; } + public global::G.WebhookSecretScanningAlertCreated? Type5341 { get; set; } /// /// /// - public global::G.WebhookTeamDeleted? Type5342 { get; set; } + public global::G.WebhookSecretScanningAlertCreatedAction? Type5342 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedAction? Type5343 { get; set; } + public global::G.WebhookSecretScanningAlertLocationCreated? Type5343 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepository? Type5344 { get; set; } + public global::G.WebhookSecretScanningAlertLocationCreatedAction? Type5344 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepositoryLicense? Type5345 { get; set; } + public global::G.WebhookSecretScanningAlertLocationCreatedFormEncoded? Type5345 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepositoryOwner? Type5346 { get; set; } + public global::G.WebhookSecretScanningAlertReopened? Type5346 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepositoryOwnerType? Type5347 { get; set; } + public global::G.WebhookSecretScanningAlertReopenedAction? Type5347 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepositoryPermissions? Type5348 { get; set; } + public global::G.WebhookSecretScanningAlertResolved? Type5348 { get; set; } /// /// /// - public global::G.WebhookTeamDeletedRepositoryVisibility? Type5349 { get; set; } + public global::G.WebhookSecretScanningAlertResolvedAction? Type5349 { get; set; } /// /// /// - public global::G.WebhookTeamEdited? Type5350 { get; set; } + public global::G.WebhookSecretScanningAlertValidated? Type5350 { get; set; } /// /// /// - public global::G.WebhookTeamEditedAction? Type5351 { get; set; } + public global::G.WebhookSecretScanningAlertValidatedAction? Type5351 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChanges? Type5352 { get; set; } + public global::G.WebhookSecurityAdvisoryPublished? Type5352 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesDescription? Type5353 { get; set; } + public global::G.WebhookSecurityAdvisoryPublishedAction? Type5353 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesName? Type5354 { get; set; } + public global::G.WebhookSecurityAdvisoryUpdated? Type5354 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesPrivacy? Type5355 { get; set; } + public global::G.WebhookSecurityAdvisoryUpdatedAction? Type5355 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesNotificationSetting? Type5356 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawn? Type5356 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesRepository? Type5357 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnAction? Type5357 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesRepositoryPermissions? Type5358 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory? Type5358 { get; set; } /// /// /// - public global::G.WebhookTeamEditedChangesRepositoryPermissionsFrom? Type5359 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss? Type5359 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepository? Type5360 { get; set; } + public global::System.Collections.Generic.IList? Type5360 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepositoryLicense? Type5361 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe? Type5361 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepositoryOwner? Type5362 { get; set; } + public global::System.Collections.Generic.IList? Type5362 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepositoryOwnerType? Type5363 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier? Type5363 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepositoryPermissions? Type5364 { get; set; } + public global::System.Collections.Generic.IList? Type5364 { get; set; } /// /// /// - public global::G.WebhookTeamEditedRepositoryVisibility? Type5365 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference? Type5365 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepository? Type5366 { get; set; } + public global::System.Collections.Generic.IList? Type5366 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryAction? Type5367 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie? Type5367 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepository? Type5368 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type5368 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepositoryLicense? Type5369 { get; set; } + public global::G.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage? Type5369 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepositoryOwner? Type5370 { get; set; } + public global::G.WebhookSecurityAndAnalysis? Type5370 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepositoryOwnerType? Type5371 { get; set; } + public global::G.WebhookSecurityAndAnalysisChanges? Type5371 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepositoryPermissions? Type5372 { get; set; } + public global::G.WebhookSecurityAndAnalysisChangesFrom? Type5372 { get; set; } /// /// /// - public global::G.WebhookTeamRemovedFromRepositoryRepositoryVisibility? Type5373 { get; set; } + public global::G.WebhookSponsorshipCancelled? Type5373 { get; set; } /// /// /// - public global::G.WebhookWatchStarted? Type5374 { get; set; } + public global::G.WebhookSponsorshipCancelledAction? Type5374 { get; set; } /// /// /// - public global::G.WebhookWatchStartedAction? Type5375 { get; set; } + public global::G.WebhookSponsorshipCreated? Type5375 { get; set; } /// /// /// - public global::G.WebhookWorkflowDispatch? Type5376 { get; set; } + public global::G.WebhookSponsorshipCreatedAction? Type5376 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompleted? Type5377 { get; set; } + public global::G.WebhookSponsorshipEdited? Type5377 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedAction? Type5378 { get; set; } + public global::G.WebhookSponsorshipEditedAction? Type5378 { get; set; } /// /// /// - public global::G.AllOf? Type5379 { get; set; } + public global::G.WebhookSponsorshipEditedChanges? Type5379 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1? Type5380 { get; set; } + public global::G.WebhookSponsorshipEditedChangesPrivacyLevel? Type5380 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? Type5381 { get; set; } + public global::G.WebhookSponsorshipPendingCancellation? Type5381 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Status? Type5382 { get; set; } + public global::G.WebhookSponsorshipPendingCancellationAction? Type5382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5383 { get; set; } + public global::G.WebhookSponsorshipPendingTierChange? Type5383 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Step? Type5384 { get; set; } + public global::G.WebhookSponsorshipPendingTierChangeAction? Type5384 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? Type5385 { get; set; } + public global::G.WebhookSponsorshipTierChanged? Type5385 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? Type5386 { get; set; } + public global::G.WebhookSponsorshipTierChangedAction? Type5386 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant2? Type5387 { get; set; } + public global::G.WebhookStarCreated? Type5387 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? Type5388 { get; set; } + public global::G.WebhookStarCreatedAction? Type5388 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgress? Type5389 { get; set; } + public global::G.WebhookStarDeleted? Type5389 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressAction? Type5390 { get; set; } + public global::G.WebhookStarDeletedAction? Type5390 { get; set; } /// /// /// - public global::G.AllOf? Type5391 { get; set; } + public global::G.WebhookStatus? Type5391 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1? Type5392 { get; set; } + public global::System.Collections.Generic.IList? Type5392 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? Type5393 { get; set; } + public global::G.WebhookStatusBranche? Type5393 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Status? Type5394 { get; set; } + public global::G.WebhookStatusBrancheCommit? Type5394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5395 { get; set; } + public global::G.WebhookStatusCommit? Type5395 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Step? Type5396 { get; set; } + public global::G.WebhookStatusCommitAuthor? Type5396 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? Type5397 { get; set; } + public global::G.WebhookStatusCommitAuthorType? Type5397 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? Type5398 { get; set; } + public global::G.WebhookStatusCommitCommit? Type5398 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2? Type5399 { get; set; } + public global::G.AllOf? Type5399 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2Status? Type5400 { get; set; } + public global::G.WebhookStatusCommitCommitAuthorVariant1? Type5400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5401 { get; set; } + public global::G.WebhookStatusCommitCommitAuthorVariant2? Type5401 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2Step? Type5402 { get; set; } + public global::G.AllOf? Type5402 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? Type5403 { get; set; } + public global::G.WebhookStatusCommitCommitCommitterVariant1? Type5403 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueued? Type5404 { get; set; } + public global::G.WebhookStatusCommitCommitCommitterVariant2? Type5404 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedAction? Type5405 { get; set; } + public global::G.WebhookStatusCommitCommitTree? Type5405 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedWorkflowJob? Type5406 { get; set; } + public global::G.WebhookStatusCommitCommitVerification? Type5406 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedWorkflowJobStatus? Type5407 { get; set; } + public global::G.WebhookStatusCommitCommitVerificationReason? Type5407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5408 { get; set; } + public global::G.WebhookStatusCommitCommitter? Type5408 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedWorkflowJobStep? Type5409 { get; set; } + public global::G.WebhookStatusCommitCommitterType? Type5409 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? Type5410 { get; set; } + public global::System.Collections.Generic.IList? Type5410 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobQueuedWorkflowJobStepStatus? Type5411 { get; set; } + public global::G.WebhookStatusCommitParent? Type5411 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaiting? Type5412 { get; set; } + public global::G.WebhookStatusState? Type5412 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingAction? Type5413 { get; set; } + public global::G.WebhookSubIssuesParentIssueAdded? Type5413 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingWorkflowJob? Type5414 { get; set; } + public global::G.WebhookSubIssuesParentIssueAddedAction? Type5414 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingWorkflowJobStatus? Type5415 { get; set; } + public global::G.WebhookSubIssuesParentIssueRemoved? Type5415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5416 { get; set; } + public global::G.WebhookSubIssuesParentIssueRemovedAction? Type5416 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingWorkflowJobStep? Type5417 { get; set; } + public global::G.WebhookSubIssuesSubIssueAdded? Type5417 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? Type5418 { get; set; } + public global::G.WebhookSubIssuesSubIssueAddedAction? Type5418 { get; set; } /// /// /// - public global::G.WebhookWorkflowJobWaitingWorkflowJobStepStatus? Type5419 { get; set; } + public global::G.WebhookSubIssuesSubIssueRemoved? Type5419 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompleted? Type5420 { get; set; } + public global::G.WebhookSubIssuesSubIssueRemovedAction? Type5420 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedAction? Type5421 { get; set; } + public global::G.WebhookTeamAdd? Type5421 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRun? Type5422 { get; set; } + public global::G.WebhookTeamAddedToRepository? Type5422 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunActor? Type5423 { get; set; } + public global::G.WebhookTeamAddedToRepositoryAction? Type5423 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunActorType? Type5424 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepository? Type5424 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunConclusion? Type5425 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepositoryLicense? Type5425 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommit? Type5426 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepositoryOwner? Type5426 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommitAuthor? Type5427 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepositoryOwnerType? Type5427 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommitCommitter? Type5428 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepositoryPermissions? Type5428 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepository? Type5429 { get; set; } + public global::G.WebhookTeamAddedToRepositoryRepositoryVisibility? Type5429 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwner? Type5430 { get; set; } + public global::G.WebhookTeamCreated? Type5430 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerType? Type5431 { get; set; } + public global::G.WebhookTeamCreatedAction? Type5431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5432 { get; set; } + public global::G.WebhookTeamCreatedRepository? Type5432 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequest? Type5433 { get; set; } + public global::G.WebhookTeamCreatedRepositoryLicense? Type5433 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase? Type5434 { get; set; } + public global::G.WebhookTeamCreatedRepositoryOwner? Type5434 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo? Type5435 { get; set; } + public global::G.WebhookTeamCreatedRepositoryOwnerType? Type5435 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead? Type5436 { get; set; } + public global::G.WebhookTeamCreatedRepositoryPermissions? Type5436 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo? Type5437 { get; set; } + public global::G.WebhookTeamCreatedRepositoryVisibility? Type5437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5438 { get; set; } + public global::G.WebhookTeamDeleted? Type5438 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow? Type5439 { get; set; } + public global::G.WebhookTeamDeletedAction? Type5439 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunRepository? Type5440 { get; set; } + public global::G.WebhookTeamDeletedRepository? Type5440 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwner? Type5441 { get; set; } + public global::G.WebhookTeamDeletedRepositoryLicense? Type5441 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerType? Type5442 { get; set; } + public global::G.WebhookTeamDeletedRepositoryOwner? Type5442 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunStatus? Type5443 { get; set; } + public global::G.WebhookTeamDeletedRepositoryOwnerType? Type5443 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunTriggeringActor? Type5444 { get; set; } + public global::G.WebhookTeamDeletedRepositoryPermissions? Type5444 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorType? Type5445 { get; set; } + public global::G.WebhookTeamDeletedRepositoryVisibility? Type5445 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgress? Type5446 { get; set; } + public global::G.WebhookTeamEdited? Type5446 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressAction? Type5447 { get; set; } + public global::G.WebhookTeamEditedAction? Type5447 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRun? Type5448 { get; set; } + public global::G.WebhookTeamEditedChanges? Type5448 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunActor? Type5449 { get; set; } + public global::G.WebhookTeamEditedChangesDescription? Type5449 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunActorType? Type5450 { get; set; } + public global::G.WebhookTeamEditedChangesName? Type5450 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunConclusion? Type5451 { get; set; } + public global::G.WebhookTeamEditedChangesPrivacy? Type5451 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommit? Type5452 { get; set; } + public global::G.WebhookTeamEditedChangesNotificationSetting? Type5452 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommitAuthor? Type5453 { get; set; } + public global::G.WebhookTeamEditedChangesRepository? Type5453 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommitCommitter? Type5454 { get; set; } + public global::G.WebhookTeamEditedChangesRepositoryPermissions? Type5454 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepository? Type5455 { get; set; } + public global::G.WebhookTeamEditedChangesRepositoryPermissionsFrom? Type5455 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwner? Type5456 { get; set; } + public global::G.WebhookTeamEditedRepository? Type5456 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerType? Type5457 { get; set; } + public global::G.WebhookTeamEditedRepositoryLicense? Type5457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5458 { get; set; } + public global::G.WebhookTeamEditedRepositoryOwner? Type5458 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequest? Type5459 { get; set; } + public global::G.WebhookTeamEditedRepositoryOwnerType? Type5459 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase? Type5460 { get; set; } + public global::G.WebhookTeamEditedRepositoryPermissions? Type5460 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo? Type5461 { get; set; } + public global::G.WebhookTeamEditedRepositoryVisibility? Type5461 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead? Type5462 { get; set; } + public global::G.WebhookTeamRemovedFromRepository? Type5462 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo? Type5463 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryAction? Type5463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5464 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepository? Type5464 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow? Type5465 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepositoryLicense? Type5465 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunRepository? Type5466 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepositoryOwner? Type5466 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwner? Type5467 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepositoryOwnerType? Type5467 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerType? Type5468 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepositoryPermissions? Type5468 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunStatus? Type5469 { get; set; } + public global::G.WebhookTeamRemovedFromRepositoryRepositoryVisibility? Type5469 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunTriggeringActor? Type5470 { get; set; } + public global::G.WebhookWatchStarted? Type5470 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorType? Type5471 { get; set; } + public global::G.WebhookWatchStartedAction? Type5471 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequested? Type5472 { get; set; } + public global::G.WebhookWorkflowDispatch? Type5472 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedAction? Type5473 { get; set; } + public global::G.WebhookWorkflowJobCompleted? Type5473 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRun? Type5474 { get; set; } + public global::G.WebhookWorkflowJobCompletedAction? Type5474 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunActor? Type5475 { get; set; } + public global::G.AllOf? Type5475 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunActorType? Type5476 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1? Type5476 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunConclusion? Type5477 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? Type5477 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommit? Type5478 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Status? Type5478 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommitAuthor? Type5479 { get; set; } + public global::System.Collections.Generic.IList? Type5479 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommitCommitter? Type5480 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1Step? Type5480 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepository? Type5481 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? Type5481 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwner? Type5482 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? Type5482 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerType? Type5483 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant2? Type5483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5484 { get; set; } + public global::G.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? Type5484 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequest? Type5485 { get; set; } + public global::G.WebhookWorkflowJobInProgress? Type5485 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase? Type5486 { get; set; } + public global::G.WebhookWorkflowJobInProgressAction? Type5486 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo? Type5487 { get; set; } + public global::G.AllOf? Type5487 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead? Type5488 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1? Type5488 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo? Type5489 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? Type5489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5490 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Status? Type5490 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow? Type5491 { get; set; } + public global::System.Collections.Generic.IList? Type5491 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunRepository? Type5492 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1Step? Type5492 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwner? Type5493 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? Type5493 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerType? Type5494 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? Type5494 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunStatus? Type5495 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2? Type5495 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunTriggeringActor? Type5496 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2Status? Type5496 { get; set; } /// /// /// - public global::G.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorType? Type5497 { get; set; } + public global::System.Collections.Generic.IList? Type5497 { get; set; } /// /// /// - public global::G.AppsUpdateWebhookConfigForAppRequest? Type5498 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2Step? Type5498 { get; set; } /// /// /// - public global::G.AppsCreateInstallationAccessTokenRequest? Type5499 { get; set; } + public global::G.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? Type5499 { get; set; } /// /// /// - public global::G.AppsDeleteAuthorizationRequest? Type5500 { get; set; } + public global::G.WebhookWorkflowJobQueued? Type5500 { get; set; } /// /// /// - public global::G.AppsCheckTokenRequest? Type5501 { get; set; } + public global::G.WebhookWorkflowJobQueuedAction? Type5501 { get; set; } /// /// /// - public global::G.AppsResetTokenRequest? Type5502 { get; set; } + public global::G.WebhookWorkflowJobQueuedWorkflowJob? Type5502 { get; set; } /// /// /// - public global::G.AppsDeleteTokenRequest? Type5503 { get; set; } + public global::G.WebhookWorkflowJobQueuedWorkflowJobStatus? Type5503 { get; set; } /// /// /// - public global::G.AppsScopeTokenRequest? Type5504 { get; set; } + public global::System.Collections.Generic.IList? Type5504 { get; set; } /// /// /// - public global::G.GistsCreateRequest? Type5505 { get; set; } + public global::G.WebhookWorkflowJobQueuedWorkflowJobStep? Type5505 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type5506 { get; set; } + public global::G.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? Type5506 { get; set; } /// /// /// - public global::G.GistsCreateRequestFiles2? Type5507 { get; set; } + public global::G.WebhookWorkflowJobQueuedWorkflowJobStepStatus? Type5507 { get; set; } /// /// /// - public global::G.OneOf? Type5508 { get; set; } + public global::G.WebhookWorkflowJobWaiting? Type5508 { get; set; } /// /// /// - public global::G.GistsCreateRequestPublic? Type5509 { get; set; } + public global::G.WebhookWorkflowJobWaitingAction? Type5509 { get; set; } /// /// /// - public global::G.GistsUpdateRequest? Type5510 { get; set; } + public global::G.WebhookWorkflowJobWaitingWorkflowJob? Type5510 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type5511 { get; set; } + public global::G.WebhookWorkflowJobWaitingWorkflowJobStatus? Type5511 { get; set; } /// /// /// - public global::G.GistsUpdateRequestFiles2? Type5512 { get; set; } + public global::System.Collections.Generic.IList? Type5512 { get; set; } /// /// /// - public global::G.GistsCreateCommentRequest? Type5513 { get; set; } + public global::G.WebhookWorkflowJobWaitingWorkflowJobStep? Type5513 { get; set; } /// /// /// - public global::G.GistsUpdateCommentRequest? Type5514 { get; set; } + public global::G.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? Type5514 { get; set; } /// /// /// - public global::G.MarkdownRenderRequest? Type5515 { get; set; } + public global::G.WebhookWorkflowJobWaitingWorkflowJobStepStatus? Type5515 { get; set; } /// /// /// - public global::G.MarkdownRenderRequestMode? Type5516 { get; set; } + public global::G.WebhookWorkflowRunCompleted? Type5516 { get; set; } /// /// /// - public global::G.ActivityMarkNotificationsAsReadRequest? Type5517 { get; set; } + public global::G.WebhookWorkflowRunCompletedAction? Type5517 { get; set; } /// /// /// - public global::G.ActivitySetThreadSubscriptionRequest? Type5518 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRun? Type5518 { get; set; } /// /// /// - public global::G.OrgsUpdateRequest? Type5519 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunActor? Type5519 { get; set; } /// /// /// - public global::G.OrgsUpdateRequestDefaultRepositoryPermission? Type5520 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunActorType? Type5520 { get; set; } /// /// /// - public global::G.OrgsUpdateRequestMembersAllowedRepositoryCreationType? Type5521 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunConclusion? Type5521 { get; set; } /// /// /// - public global::G.ActionsSetGithubActionsPermissionsOrganizationRequest? Type5522 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommit? Type5522 { get; set; } /// /// /// - public global::G.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest? Type5523 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommitAuthor? Type5523 { get; set; } /// /// /// - public global::G.ActionsGenerateRunnerJitconfigForOrgRequest? Type5524 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadCommitCommitter? Type5524 { get; set; } /// /// /// - public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest? Type5525 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepository? Type5525 { get; set; } /// /// /// - public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest? Type5526 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwner? Type5526 { get; set; } /// /// /// - public global::G.ActionsCreateOrUpdateOrgSecretRequest? Type5527 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerType? Type5527 { get; set; } /// /// /// - public global::G.ActionsCreateOrUpdateOrgSecretRequestVisibility? Type5528 { get; set; } + public global::System.Collections.Generic.IList? Type5528 { get; set; } /// /// /// - public global::G.ActionsSetSelectedReposForOrgSecretRequest? Type5529 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequest? Type5529 { get; set; } /// /// /// - public global::G.ActionsCreateOrgVariableRequest? Type5530 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase? Type5530 { get; set; } /// /// /// - public global::G.ActionsCreateOrgVariableRequestVisibility? Type5531 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo? Type5531 { get; set; } /// /// /// - public global::G.ActionsUpdateOrgVariableRequest? Type5532 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead? Type5532 { get; set; } /// /// /// - public global::G.ActionsUpdateOrgVariableRequestVisibility? Type5533 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo? Type5533 { get; set; } /// /// /// - public global::G.ActionsSetSelectedReposForOrgVariableRequest? Type5534 { get; set; } + public global::System.Collections.Generic.IList? Type5534 { get; set; } /// /// /// - public global::G.CodespacesSetCodespacesAccessRequest? Type5535 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow? Type5535 { get; set; } /// /// /// - public global::G.CodespacesSetCodespacesAccessRequestVisibility? Type5536 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunRepository? Type5536 { get; set; } /// /// /// - public global::G.CodespacesSetCodespacesAccessUsersRequest? Type5537 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwner? Type5537 { get; set; } /// /// /// - public global::G.CodespacesDeleteCodespacesAccessUsersRequest? Type5538 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerType? Type5538 { get; set; } /// /// /// - public global::G.CodespacesCreateOrUpdateOrgSecretRequest? Type5539 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunStatus? Type5539 { get; set; } /// /// /// - public global::G.CodespacesCreateOrUpdateOrgSecretRequestVisibility? Type5540 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunTriggeringActor? Type5540 { get; set; } /// /// /// - public global::G.CodespacesSetSelectedReposForOrgSecretRequest? Type5541 { get; set; } + public global::G.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorType? Type5541 { get; set; } /// /// /// - public global::G.CopilotAddCopilotSeatsForTeamsRequest? Type5542 { get; set; } + public global::G.WebhookWorkflowRunInProgress? Type5542 { get; set; } /// /// /// - public global::G.CopilotCancelCopilotSeatAssignmentForTeamsRequest? Type5543 { get; set; } + public global::G.WebhookWorkflowRunInProgressAction? Type5543 { get; set; } /// /// /// - public global::G.CopilotAddCopilotSeatsForUsersRequest? Type5544 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRun? Type5544 { get; set; } /// /// /// - public global::G.CopilotCancelCopilotSeatAssignmentForUsersRequest? Type5545 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunActor? Type5545 { get; set; } /// /// /// - public global::G.DependabotCreateOrUpdateOrgSecretRequest? Type5546 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunActorType? Type5546 { get; set; } /// /// /// - public global::G.DependabotCreateOrUpdateOrgSecretRequestVisibility? Type5547 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunConclusion? Type5547 { get; set; } /// /// /// - public global::G.DependabotSetSelectedReposForOrgSecretRequest? Type5548 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommit? Type5548 { get; set; } /// /// /// - public global::G.OrgsCreateWebhookRequest? Type5549 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommitAuthor? Type5549 { get; set; } /// /// /// - public global::G.OrgsCreateWebhookRequestConfig? Type5550 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadCommitCommitter? Type5550 { get; set; } /// /// /// - public global::G.OrgsUpdateWebhookRequest? Type5551 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepository? Type5551 { get; set; } /// /// /// - public global::G.OrgsUpdateWebhookRequestConfig? Type5552 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwner? Type5552 { get; set; } /// /// /// - public global::G.OrgsUpdateWebhookConfigForOrgRequest? Type5553 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerType? Type5553 { get; set; } /// /// /// - public global::G.OrgsCreateInvitationRequest? Type5554 { get; set; } + public global::System.Collections.Generic.IList? Type5554 { get; set; } /// /// /// - public global::G.OrgsCreateInvitationRequestRole? Type5555 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequest? Type5555 { get; set; } /// /// /// - public global::G.OrgsSetMembershipForUserRequest? Type5556 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase? Type5556 { get; set; } /// /// /// - public global::G.OrgsSetMembershipForUserRequestRole? Type5557 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo? Type5557 { get; set; } /// /// /// - public global::G.MigrationsStartForOrgRequest? Type5558 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead? Type5558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5559 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo? Type5559 { get; set; } /// /// /// - public global::G.MigrationsStartForOrgRequestExcludeItem? Type5560 { get; set; } + public global::System.Collections.Generic.IList? Type5560 { get; set; } /// /// /// - public global::G.OrgsCreateCustomOrganizationRoleRequest? Type5561 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow? Type5561 { get; set; } /// /// /// - public global::G.OrgsPatchCustomOrganizationRoleRequest? Type5562 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunRepository? Type5562 { get; set; } /// /// /// - public global::G.OrgsConvertMemberToOutsideCollaboratorRequest? Type5563 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwner? Type5563 { get; set; } /// /// /// - public global::G.OrgsReviewPatGrantRequestsInBulkRequest? Type5564 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerType? Type5564 { get; set; } /// /// /// - public global::G.OrgsReviewPatGrantRequestsInBulkRequestAction? Type5565 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunStatus? Type5565 { get; set; } /// /// /// - public global::G.OrgsReviewPatGrantRequestRequest? Type5566 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunTriggeringActor? Type5566 { get; set; } /// /// /// - public global::G.OrgsReviewPatGrantRequestRequestAction? Type5567 { get; set; } + public global::G.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorType? Type5567 { get; set; } /// /// /// - public global::G.OrgsUpdatePatAccessesRequest? Type5568 { get; set; } + public global::G.WebhookWorkflowRunRequested? Type5568 { get; set; } /// /// /// - public global::G.OrgsUpdatePatAccessesRequestAction? Type5569 { get; set; } + public global::G.WebhookWorkflowRunRequestedAction? Type5569 { get; set; } /// /// /// - public global::G.OrgsUpdatePatAccessRequest? Type5570 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRun? Type5570 { get; set; } /// /// /// - public global::G.OrgsUpdatePatAccessRequestAction? Type5571 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunActor? Type5571 { get; set; } /// /// /// - public global::G.ProjectsCreateForOrgRequest? Type5572 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunActorType? Type5572 { get; set; } /// /// /// - public global::G.OrgsCreateOrUpdateCustomPropertiesRequest? Type5573 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunConclusion? Type5573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5574 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommit? Type5574 { get; set; } /// /// /// - public global::G.OrgsCreateOrUpdateCustomPropertyRequest? Type5575 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommitAuthor? Type5575 { get; set; } /// /// /// - public global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType? Type5576 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadCommitCommitter? Type5576 { get; set; } /// /// /// - public global::G.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest? Type5577 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepository? Type5577 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequest? Type5578 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwner? Type5578 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequestVisibility? Type5579 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerType? Type5579 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequestSquashMergeCommitTitle? Type5580 { get; set; } + public global::System.Collections.Generic.IList? Type5580 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? Type5581 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequest? Type5581 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequestMergeCommitTitle? Type5582 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase? Type5582 { get; set; } /// /// /// - public global::G.ReposCreateInOrgRequestMergeCommitMessage? Type5583 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo? Type5583 { get; set; } /// /// /// - public global::G.ReposCreateOrgRulesetRequest? Type5584 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead? Type5584 { get; set; } /// /// /// - public global::G.ReposCreateOrgRulesetRequestTarget? Type5585 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo? Type5585 { get; set; } /// /// /// - public global::G.ReposUpdateOrgRulesetRequest? Type5586 { get; set; } + public global::System.Collections.Generic.IList? Type5586 { get; set; } /// /// /// - public global::G.ReposUpdateOrgRulesetRequestTarget? Type5587 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow? Type5587 { get; set; } /// /// /// - public global::G.TeamsCreateRequest? Type5588 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunRepository? Type5588 { get; set; } /// /// /// - public global::G.TeamsCreateRequestPrivacy? Type5589 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwner? Type5589 { get; set; } /// /// /// - public global::G.TeamsCreateRequestNotificationSetting? Type5590 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerType? Type5590 { get; set; } /// /// /// - public global::G.TeamsCreateRequestPermission? Type5591 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunStatus? Type5591 { get; set; } /// /// /// - public global::G.TeamsUpdateInOrgRequest? Type5592 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunTriggeringActor? Type5592 { get; set; } /// /// /// - public global::G.TeamsUpdateInOrgRequestPrivacy? Type5593 { get; set; } + public global::G.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorType? Type5593 { get; set; } /// /// /// - public global::G.TeamsUpdateInOrgRequestNotificationSetting? Type5594 { get; set; } + public global::G.AppsUpdateWebhookConfigForAppRequest? Type5594 { get; set; } /// /// /// - public global::G.TeamsUpdateInOrgRequestPermission? Type5595 { get; set; } + public global::G.AppsCreateInstallationAccessTokenRequest? Type5595 { get; set; } /// /// /// - public global::G.TeamsCreateDiscussionInOrgRequest? Type5596 { get; set; } + public global::G.AppsDeleteAuthorizationRequest? Type5596 { get; set; } /// /// /// - public global::G.TeamsUpdateDiscussionInOrgRequest? Type5597 { get; set; } + public global::G.AppsCheckTokenRequest? Type5597 { get; set; } /// /// /// - public global::G.TeamsCreateDiscussionCommentInOrgRequest? Type5598 { get; set; } + public global::G.AppsResetTokenRequest? Type5598 { get; set; } /// /// /// - public global::G.TeamsUpdateDiscussionCommentInOrgRequest? Type5599 { get; set; } + public global::G.AppsDeleteTokenRequest? Type5599 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequest? Type5600 { get; set; } + public global::G.AppsScopeTokenRequest? Type5600 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequestContent? Type5601 { get; set; } + public global::G.GistsCreateRequest? Type5601 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionInOrgRequest? Type5602 { get; set; } + public global::System.Collections.Generic.Dictionary? Type5602 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionInOrgRequestContent? Type5603 { get; set; } + public global::G.GistsCreateRequestFiles2? Type5603 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateMembershipForUserInOrgRequest? Type5604 { get; set; } + public global::G.OneOf? Type5604 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole? Type5605 { get; set; } + public global::G.GistsCreateRequestPublic? Type5605 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequest? Type5606 { get; set; } + public global::G.GistsUpdateRequest? Type5606 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermission? Type5607 { get; set; } + public global::System.Collections.Generic.Dictionary? Type5607 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest? Type5608 { get; set; } + public global::G.GistsUpdateRequestFiles2? Type5608 { get; set; } /// /// /// - public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest? Type5609 { get; set; } + public global::G.GistsCreateCommentRequest? Type5609 { get; set; } /// /// /// - public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? Type5610 { get; set; } + public global::G.GistsUpdateCommentRequest? Type5610 { get; set; } /// /// /// - public global::G.ProjectsUpdateCardRequest? Type5611 { get; set; } + public global::G.MarkdownRenderRequest? Type5611 { get; set; } /// /// /// - public global::G.ProjectsMoveCardRequest? Type5612 { get; set; } + public global::G.MarkdownRenderRequestMode? Type5612 { get; set; } /// /// /// - public global::G.ProjectsUpdateColumnRequest? Type5613 { get; set; } + public global::G.ActivityMarkNotificationsAsReadRequest? Type5613 { get; set; } /// /// /// - public global::G.OneOf? Type5614 { get; set; } + public global::G.ActivitySetThreadSubscriptionRequest? Type5614 { get; set; } /// /// /// - public global::G.ProjectsCreateCardRequestVariant1? Type5615 { get; set; } + public global::G.OrgsUpdateRequest? Type5615 { get; set; } /// /// /// - public global::G.ProjectsCreateCardRequestVariant2? Type5616 { get; set; } + public global::G.OrgsUpdateRequestDefaultRepositoryPermission? Type5616 { get; set; } /// /// /// - public global::G.ProjectsMoveColumnRequest? Type5617 { get; set; } + public global::G.OrgsUpdateRequestMembersAllowedRepositoryCreationType? Type5617 { get; set; } /// /// /// - public global::G.ProjectsUpdateRequest? Type5618 { get; set; } + public global::G.ActionsSetGithubActionsPermissionsOrganizationRequest? Type5618 { get; set; } /// /// /// - public global::G.ProjectsUpdateRequestOrganizationPermission? Type5619 { get; set; } + public global::G.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest? Type5619 { get; set; } /// /// /// - public global::G.ProjectsAddCollaboratorRequest? Type5620 { get; set; } + public global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequest? Type5620 { get; set; } /// /// /// - public global::G.ProjectsAddCollaboratorRequestPermission? Type5621 { get; set; } + public global::G.ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility? Type5621 { get; set; } /// /// /// - public global::G.ProjectsCreateColumnRequest? Type5622 { get; set; } + public global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequest? Type5622 { get; set; } /// /// /// - public global::G.ReposUpdateRequest? Type5623 { get; set; } + public global::G.ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility? Type5623 { get; set; } /// /// /// - public global::G.ReposUpdateRequestVisibility? Type5624 { get; set; } + public global::G.ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest? Type5624 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSecurityAndAnalysis? Type5625 { get; set; } + public global::G.ActionsSetSelfHostedRunnersInGroupForOrgRequest? Type5625 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSecurityAndAnalysisAdvancedSecurity? Type5626 { get; set; } + public global::G.ActionsGenerateRunnerJitconfigForOrgRequest? Type5626 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanning? Type5627 { get; set; } + public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest? Type5627 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection? Type5628 { get; set; } + public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest? Type5628 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSquashMergeCommitTitle? Type5629 { get; set; } + public global::G.ActionsCreateOrUpdateOrgSecretRequest? Type5629 { get; set; } /// /// /// - public global::G.ReposUpdateRequestSquashMergeCommitMessage? Type5630 { get; set; } + public global::G.ActionsCreateOrUpdateOrgSecretRequestVisibility? Type5630 { get; set; } /// /// /// - public global::G.ReposUpdateRequestMergeCommitTitle? Type5631 { get; set; } + public global::G.ActionsSetSelectedReposForOrgSecretRequest? Type5631 { get; set; } /// /// /// - public global::G.ReposUpdateRequestMergeCommitMessage? Type5632 { get; set; } + public global::G.ActionsCreateOrgVariableRequest? Type5632 { get; set; } /// /// /// - public global::G.ActionsReRunJobForWorkflowRunRequest? Type5633 { get; set; } + public global::G.ActionsCreateOrgVariableRequestVisibility? Type5633 { get; set; } /// /// /// - public global::G.ActionsSetCustomOidcSubClaimForRepoRequest? Type5634 { get; set; } + public global::G.ActionsUpdateOrgVariableRequest? Type5634 { get; set; } /// /// /// - public global::G.ActionsSetGithubActionsPermissionsRepositoryRequest? Type5635 { get; set; } + public global::G.ActionsUpdateOrgVariableRequestVisibility? Type5635 { get; set; } /// /// /// - public global::G.ActionsGenerateRunnerJitconfigForRepoRequest? Type5636 { get; set; } + public global::G.ActionsSetSelectedReposForOrgVariableRequest? Type5636 { get; set; } /// /// /// - public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest? Type5637 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequest? Type5637 { get; set; } /// /// /// - public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest? Type5638 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestAdvancedSecurity? Type5638 { get; set; } /// /// /// - public global::G.AnyOf? Type5639 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraph? Type5639 { get; set; } /// /// /// - public global::G.ActionsReviewPendingDeploymentsForRunRequest? Type5640 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction? Type5640 { get; set; } /// /// /// - public global::G.ActionsReviewPendingDeploymentsForRunRequestState? Type5641 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions? Type5641 { get; set; } /// /// /// - public global::G.ActionsReRunWorkflowRequest? Type5642 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestDependabotAlerts? Type5642 { get; set; } /// /// /// - public global::G.ActionsReRunWorkflowFailedJobsRequest? Type5643 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? Type5643 { get; set; } /// /// /// - public global::G.ActionsCreateOrUpdateRepoSecretRequest? Type5644 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? Type5644 { get; set; } /// /// /// - public global::G.ActionsCreateRepoVariableRequest? Type5645 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestSecretScanning? Type5645 { get; set; } /// /// /// - public global::G.ActionsUpdateRepoVariableRequest? Type5646 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? Type5646 { get; set; } /// /// /// - public global::G.ActionsCreateWorkflowDispatchRequest? Type5647 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? Type5647 { get; set; } /// /// /// - public global::G.ReposCreateAutolinkRequest? Type5648 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns? Type5648 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequest? Type5649 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? Type5649 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecks? Type5650 { get; set; } + public global::G.CodeSecurityCreateConfigurationRequestEnforcement? Type5650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5651 { get; set; } + public global::G.CodeSecurityDetachConfigurationRequest? Type5651 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck? Type5652 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequest? Type5652 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviews? Type5653 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? Type5653 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions? Type5654 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraph? Type5654 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances? Type5655 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction? Type5655 { get; set; } /// /// /// - public global::G.ReposUpdateBranchProtectionRequestRestrictions? Type5656 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions? Type5656 { get; set; } /// /// /// - public global::G.ReposUpdatePullRequestReviewProtectionRequest? Type5657 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestDependabotAlerts? Type5657 { get; set; } /// /// /// - public global::G.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions? Type5658 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? Type5658 { get; set; } /// /// /// - public global::G.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances? Type5659 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? Type5659 { get; set; } /// /// /// - public global::G.ReposUpdateStatusCheckProtectionRequest? Type5660 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanning? Type5660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5661 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? Type5661 { get; set; } /// /// /// - public global::G.ReposUpdateStatusCheckProtectionRequestCheck? Type5662 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? Type5662 { get; set; } /// /// /// - public global::G.OneOf>? Type5663 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns? Type5663 { get; set; } /// /// /// - public global::G.ReposAddStatusCheckContextsRequest2? Type5664 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? Type5664 { get; set; } /// /// /// - public global::G.OneOf>? Type5665 { get; set; } + public global::G.CodeSecurityUpdateConfigurationRequestEnforcement? Type5665 { get; set; } /// /// /// - public global::G.ReposSetStatusCheckContextsRequest2? Type5666 { get; set; } + public global::G.CodeSecurityAttachConfigurationRequest? Type5666 { get; set; } /// /// /// - public global::G.OneOf>? Type5667 { get; set; } + public global::G.CodeSecurityAttachConfigurationRequestScope? Type5667 { get; set; } /// /// /// - public global::G.ReposRemoveStatusCheckContextsRequest2? Type5668 { get; set; } + public global::G.CodeSecuritySetConfigurationAsDefaultRequest? Type5668 { get; set; } /// /// /// - public global::G.OneOf>? Type5669 { get; set; } + public global::G.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? Type5669 { get; set; } /// /// /// - public global::G.ReposAddAppAccessRestrictionsRequest2? Type5670 { get; set; } + public global::G.CodespacesSetCodespacesAccessRequest? Type5670 { get; set; } /// /// /// - public global::G.OneOf>? Type5671 { get; set; } + public global::G.CodespacesSetCodespacesAccessRequestVisibility? Type5671 { get; set; } /// /// /// - public global::G.ReposSetAppAccessRestrictionsRequest2? Type5672 { get; set; } + public global::G.CodespacesSetCodespacesAccessUsersRequest? Type5672 { get; set; } /// /// /// - public global::G.OneOf>? Type5673 { get; set; } + public global::G.CodespacesDeleteCodespacesAccessUsersRequest? Type5673 { get; set; } /// /// /// - public global::G.ReposRemoveAppAccessRestrictionsRequest2? Type5674 { get; set; } + public global::G.CodespacesCreateOrUpdateOrgSecretRequest? Type5674 { get; set; } /// /// /// - public global::G.OneOf>? Type5675 { get; set; } + public global::G.CodespacesCreateOrUpdateOrgSecretRequestVisibility? Type5675 { get; set; } /// /// /// - public global::G.ReposAddTeamAccessRestrictionsRequest2? Type5676 { get; set; } + public global::G.CodespacesSetSelectedReposForOrgSecretRequest? Type5676 { get; set; } /// /// /// - public global::G.OneOf>? Type5677 { get; set; } + public global::G.CopilotAddCopilotSeatsForTeamsRequest? Type5677 { get; set; } /// /// /// - public global::G.ReposSetTeamAccessRestrictionsRequest2? Type5678 { get; set; } + public global::G.CopilotCancelCopilotSeatAssignmentForTeamsRequest? Type5678 { get; set; } /// /// /// - public global::G.OneOf>? Type5679 { get; set; } + public global::G.CopilotAddCopilotSeatsForUsersRequest? Type5679 { get; set; } /// /// /// - public global::G.ReposRemoveTeamAccessRestrictionsRequest2? Type5680 { get; set; } + public global::G.CopilotCancelCopilotSeatAssignmentForUsersRequest? Type5680 { get; set; } /// /// /// - public global::G.OneOf>? Type5681 { get; set; } + public global::G.DependabotCreateOrUpdateOrgSecretRequest? Type5681 { get; set; } /// /// /// - public global::G.ReposAddUserAccessRestrictionsRequest2? Type5682 { get; set; } + public global::G.DependabotCreateOrUpdateOrgSecretRequestVisibility? Type5682 { get; set; } /// /// /// - public global::G.OneOf>? Type5683 { get; set; } + public global::G.DependabotSetSelectedReposForOrgSecretRequest? Type5683 { get; set; } /// /// /// - public global::G.ReposSetUserAccessRestrictionsRequest2? Type5684 { get; set; } + public global::G.OrgsCreateWebhookRequest? Type5684 { get; set; } /// /// /// - public global::G.OneOf>? Type5685 { get; set; } + public global::G.OrgsCreateWebhookRequestConfig? Type5685 { get; set; } /// /// /// - public global::G.ReposRemoveUserAccessRestrictionsRequest2? Type5686 { get; set; } + public global::G.OrgsUpdateWebhookRequest? Type5686 { get; set; } /// /// /// - public global::G.ReposRenameBranchRequest? Type5687 { get; set; } + public global::G.OrgsUpdateWebhookRequestConfig? Type5687 { get; set; } /// /// /// - public global::G.ChecksCreateRequest? Type5688 { get; set; } + public global::G.OrgsUpdateWebhookConfigForOrgRequest? Type5688 { get; set; } /// /// /// - public global::G.ChecksCreateRequestStatus? Type5689 { get; set; } + public global::G.OrgsCreateInvitationRequest? Type5689 { get; set; } /// /// /// - public global::G.ChecksCreateRequestConclusion? Type5690 { get; set; } + public global::G.OrgsCreateInvitationRequestRole? Type5690 { get; set; } /// /// /// - public global::G.ChecksCreateRequestOutput? Type5691 { get; set; } + public global::G.OrgsSetMembershipForUserRequest? Type5691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5692 { get; set; } + public global::G.OrgsSetMembershipForUserRequestRole? Type5692 { get; set; } /// /// /// - public global::G.ChecksCreateRequestOutputAnnotation? Type5693 { get; set; } + public global::G.MigrationsStartForOrgRequest? Type5693 { get; set; } /// /// /// - public global::G.ChecksCreateRequestOutputAnnotationAnnotationLevel? Type5694 { get; set; } + public global::System.Collections.Generic.IList? Type5694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5695 { get; set; } + public global::G.MigrationsStartForOrgRequestExcludeItem? Type5695 { get; set; } /// /// /// - public global::G.ChecksCreateRequestOutputImage? Type5696 { get; set; } + public global::G.OrgsConvertMemberToOutsideCollaboratorRequest? Type5696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5697 { get; set; } + public global::G.OrgsReviewPatGrantRequestsInBulkRequest? Type5697 { get; set; } /// /// /// - public global::G.ChecksCreateRequestAction? Type5698 { get; set; } + public global::G.OrgsReviewPatGrantRequestsInBulkRequestAction? Type5698 { get; set; } /// /// /// - public global::G.ChecksCreateRequestVariant1? Type5699 { get; set; } + public global::G.OrgsReviewPatGrantRequestRequest? Type5699 { get; set; } /// /// /// - public global::G.ChecksCreateRequestVariant1Status? Type5700 { get; set; } + public global::G.OrgsReviewPatGrantRequestRequestAction? Type5700 { get; set; } /// /// /// - public global::G.ChecksCreateRequestVariant2? Type5701 { get; set; } + public global::G.OrgsUpdatePatAccessesRequest? Type5701 { get; set; } /// /// /// - public global::G.ChecksCreateRequestVariant2Status? Type5702 { get; set; } + public global::G.OrgsUpdatePatAccessesRequestAction? Type5702 { get; set; } /// /// /// - public global::G.ChecksUpdateRequest? Type5703 { get; set; } + public global::G.OrgsUpdatePatAccessRequest? Type5703 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestStatus? Type5704 { get; set; } + public global::G.OrgsUpdatePatAccessRequestAction? Type5704 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestConclusion? Type5705 { get; set; } + public global::G.ProjectsCreateForOrgRequest? Type5705 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestOutput? Type5706 { get; set; } + public global::G.OrgsCreateOrUpdateCustomPropertiesRequest? Type5706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5707 { get; set; } + public global::System.Collections.Generic.IList? Type5707 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestOutputAnnotation? Type5708 { get; set; } + public global::G.OrgsCreateOrUpdateCustomPropertyRequest? Type5708 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestOutputAnnotationAnnotationLevel? Type5709 { get; set; } + public global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType? Type5709 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5710 { get; set; } + public global::G.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest? Type5710 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestOutputImage? Type5711 { get; set; } + public global::G.ReposCreateInOrgRequest? Type5711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5712 { get; set; } + public global::G.ReposCreateInOrgRequestVisibility? Type5712 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestAction? Type5713 { get; set; } + public global::G.ReposCreateInOrgRequestSquashMergeCommitTitle? Type5713 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestVariant1? Type5714 { get; set; } + public global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? Type5714 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestVariant1Status? Type5715 { get; set; } + public global::G.ReposCreateInOrgRequestMergeCommitTitle? Type5715 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestVariant2? Type5716 { get; set; } + public global::G.ReposCreateInOrgRequestMergeCommitMessage? Type5716 { get; set; } /// /// /// - public global::G.ChecksUpdateRequestVariant2Status? Type5717 { get; set; } + public global::G.ReposCreateOrgRulesetRequest? Type5717 { get; set; } /// /// /// - public global::G.ChecksCreateSuiteRequest? Type5718 { get; set; } + public global::G.ReposCreateOrgRulesetRequestTarget? Type5718 { get; set; } /// /// /// - public global::G.ChecksSetSuitesPreferencesRequest? Type5719 { get; set; } + public global::G.ReposUpdateOrgRulesetRequest? Type5719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5720 { get; set; } + public global::G.ReposUpdateOrgRulesetRequestTarget? Type5720 { get; set; } /// /// /// - public global::G.ChecksSetSuitesPreferencesRequestAutoTriggerCheck? Type5721 { get; set; } + public global::G.TeamsCreateRequest? Type5721 { get; set; } /// /// /// - public global::G.CodeScanningUpdateAlertRequest? Type5722 { get; set; } + public global::G.TeamsCreateRequestPrivacy? Type5722 { get; set; } /// /// /// - public global::G.CodeScanningCreateVariantAnalysisRequest? Type5723 { get; set; } + public global::G.TeamsCreateRequestNotificationSetting? Type5723 { get; set; } /// /// /// - public global::G.CodeScanningUploadSarifRequest? Type5724 { get; set; } + public global::G.TeamsCreateRequestPermission? Type5724 { get; set; } /// /// /// - public global::G.CodespacesCreateWithRepoForAuthenticatedUserRequest? Type5725 { get; set; } + public global::G.TeamsUpdateInOrgRequest? Type5725 { get; set; } /// /// /// - public global::G.CodespacesCreateWithRepoForAuthenticatedUserRequestGeo? Type5726 { get; set; } + public global::G.TeamsUpdateInOrgRequestPrivacy? Type5726 { get; set; } /// /// /// - public global::G.CodespacesCreateOrUpdateRepoSecretRequest? Type5727 { get; set; } + public global::G.TeamsUpdateInOrgRequestNotificationSetting? Type5727 { get; set; } /// /// /// - public global::G.ReposAddCollaboratorRequest? Type5728 { get; set; } + public global::G.TeamsUpdateInOrgRequestPermission? Type5728 { get; set; } /// /// /// - public global::G.ReposUpdateCommitCommentRequest? Type5729 { get; set; } + public global::G.TeamsCreateDiscussionInOrgRequest? Type5729 { get; set; } /// /// /// - public global::G.ReactionsCreateForCommitCommentRequest? Type5730 { get; set; } + public global::G.TeamsUpdateDiscussionInOrgRequest? Type5730 { get; set; } /// /// /// - public global::G.ReactionsCreateForCommitCommentRequestContent? Type5731 { get; set; } + public global::G.TeamsCreateDiscussionCommentInOrgRequest? Type5731 { get; set; } /// /// /// - public global::G.ReposCreateCommitCommentRequest? Type5732 { get; set; } + public global::G.TeamsUpdateDiscussionCommentInOrgRequest? Type5732 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateFileContentsRequest? Type5733 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequest? Type5733 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateFileContentsRequestCommitter? Type5734 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequestContent? Type5734 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateFileContentsRequestAuthor? Type5735 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionInOrgRequest? Type5735 { get; set; } /// /// /// - public global::G.ReposDeleteFileRequest? Type5736 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionInOrgRequestContent? Type5736 { get; set; } /// /// /// - public global::G.ReposDeleteFileRequestCommitter? Type5737 { get; set; } + public global::G.TeamsAddOrUpdateMembershipForUserInOrgRequest? Type5737 { get; set; } /// /// /// - public global::G.ReposDeleteFileRequestAuthor? Type5738 { get; set; } + public global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole? Type5738 { get; set; } /// /// /// - public global::G.DependabotUpdateAlertRequest? Type5739 { get; set; } + public global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequest? Type5739 { get; set; } /// /// /// - public global::G.DependabotUpdateAlertRequestState? Type5740 { get; set; } + public global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermission? Type5740 { get; set; } /// /// /// - public global::G.DependabotUpdateAlertRequestDismissedReason? Type5741 { get; set; } + public global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest? Type5741 { get; set; } /// /// /// - public global::G.DependabotCreateOrUpdateRepoSecretRequest? Type5742 { get; set; } + public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest? Type5742 { get; set; } /// /// /// - public global::G.ReposCreateDeploymentRequest? Type5743 { get; set; } + public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? Type5743 { get; set; } /// /// /// - public global::G.ReposCreateDeploymentStatusRequest? Type5744 { get; set; } + public global::G.ProjectsUpdateCardRequest? Type5744 { get; set; } /// /// /// - public global::G.ReposCreateDeploymentStatusRequestState? Type5745 { get; set; } + public global::G.ProjectsMoveCardRequest? Type5745 { get; set; } /// /// /// - public global::G.ReposCreateDispatchEventRequest? Type5746 { get; set; } + public global::G.ProjectsUpdateColumnRequest? Type5746 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateEnvironmentRequest? Type5747 { get; set; } + public global::G.OneOf? Type5747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5748 { get; set; } + public global::G.ProjectsCreateCardRequestVariant1? Type5748 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateEnvironmentRequestReviewer? Type5749 { get; set; } + public global::G.ProjectsCreateCardRequestVariant2? Type5749 { get; set; } /// /// /// - public global::G.ReposCreateDeploymentProtectionRuleRequest? Type5750 { get; set; } + public global::G.ProjectsMoveColumnRequest? Type5750 { get; set; } /// /// /// - public global::G.ActionsCreateOrUpdateEnvironmentSecretRequest? Type5751 { get; set; } + public global::G.ProjectsUpdateRequest? Type5751 { get; set; } /// /// /// - public global::G.ActionsCreateEnvironmentVariableRequest? Type5752 { get; set; } + public global::G.ProjectsUpdateRequestOrganizationPermission? Type5752 { get; set; } /// /// /// - public global::G.ActionsUpdateEnvironmentVariableRequest? Type5753 { get; set; } + public global::G.ProjectsAddCollaboratorRequest? Type5753 { get; set; } /// /// /// - public global::G.ReposCreateForkRequest? Type5754 { get; set; } + public global::G.ProjectsAddCollaboratorRequestPermission? Type5754 { get; set; } /// /// /// - public global::G.GitCreateBlobRequest? Type5755 { get; set; } + public global::G.ProjectsCreateColumnRequest? Type5755 { get; set; } /// /// /// - public global::G.GitCreateCommitRequest? Type5756 { get; set; } + public global::G.ReposUpdateRequest? Type5756 { get; set; } /// /// /// - public global::G.GitCreateCommitRequestAuthor? Type5757 { get; set; } + public global::G.ReposUpdateRequestVisibility? Type5757 { get; set; } /// /// /// - public global::G.GitCreateCommitRequestCommitter? Type5758 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysis? Type5758 { get; set; } /// /// /// - public global::G.GitCreateRefRequest? Type5759 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysisAdvancedSecurity? Type5759 { get; set; } /// /// /// - public global::G.GitUpdateRefRequest? Type5760 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanning? Type5760 { get; set; } /// /// /// - public global::G.GitCreateTagRequest? Type5761 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection? Type5761 { get; set; } /// /// /// - public global::G.GitCreateTagRequestType? Type5762 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection? Type5762 { get; set; } /// /// /// - public global::G.GitCreateTagRequestTagger? Type5763 { get; set; } + public global::G.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? Type5763 { get; set; } /// /// /// - public global::G.GitCreateTreeRequest? Type5764 { get; set; } + public global::G.ReposUpdateRequestSquashMergeCommitTitle? Type5764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5765 { get; set; } + public global::G.ReposUpdateRequestSquashMergeCommitMessage? Type5765 { get; set; } /// /// /// - public global::G.GitCreateTreeRequestTreeItem? Type5766 { get; set; } + public global::G.ReposUpdateRequestMergeCommitTitle? Type5766 { get; set; } /// /// /// - public global::G.GitCreateTreeRequestTreeItemMode? Type5767 { get; set; } + public global::G.ReposUpdateRequestMergeCommitMessage? Type5767 { get; set; } /// /// /// - public global::G.GitCreateTreeRequestTreeItemType? Type5768 { get; set; } + public global::G.ActionsReRunJobForWorkflowRunRequest? Type5768 { get; set; } /// /// /// - public global::G.ReposCreateWebhookRequest? Type5769 { get; set; } + public global::G.ActionsSetCustomOidcSubClaimForRepoRequest? Type5769 { get; set; } /// /// /// - public global::G.ReposCreateWebhookRequestConfig? Type5770 { get; set; } + public global::G.ActionsSetGithubActionsPermissionsRepositoryRequest? Type5770 { get; set; } /// /// /// - public global::G.ReposUpdateWebhookRequest? Type5771 { get; set; } + public global::G.ActionsGenerateRunnerJitconfigForRepoRequest? Type5771 { get; set; } /// /// /// - public global::G.ReposUpdateWebhookConfigForRepoRequest? Type5772 { get; set; } + public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest? Type5772 { get; set; } /// /// /// - public global::G.MigrationsStartImportRequest? Type5773 { get; set; } + public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest? Type5773 { get; set; } /// /// /// - public global::G.MigrationsStartImportRequestVcs? Type5774 { get; set; } + public global::G.AnyOf? Type5774 { get; set; } /// /// /// - public global::G.MigrationsUpdateImportRequest? Type5775 { get; set; } + public global::G.ActionsReviewPendingDeploymentsForRunRequest? Type5775 { get; set; } /// /// /// - public global::G.MigrationsUpdateImportRequestVcs? Type5776 { get; set; } + public global::G.ActionsReviewPendingDeploymentsForRunRequestState? Type5776 { get; set; } /// /// /// - public global::G.MigrationsMapCommitAuthorRequest? Type5777 { get; set; } + public global::G.ActionsReRunWorkflowRequest? Type5777 { get; set; } /// /// /// - public global::G.MigrationsSetLfsPreferenceRequest? Type5778 { get; set; } + public global::G.ActionsReRunWorkflowFailedJobsRequest? Type5778 { get; set; } /// /// /// - public global::G.MigrationsSetLfsPreferenceRequestUseLfs? Type5779 { get; set; } + public global::G.ActionsCreateOrUpdateRepoSecretRequest? Type5779 { get; set; } /// /// /// - public global::G.ReposUpdateInvitationRequest? Type5780 { get; set; } + public global::G.ActionsCreateRepoVariableRequest? Type5780 { get; set; } /// /// /// - public global::G.ReposUpdateInvitationRequestPermissions? Type5781 { get; set; } + public global::G.ActionsUpdateRepoVariableRequest? Type5781 { get; set; } /// /// /// - public global::G.IssuesCreateRequest? Type5782 { get; set; } + public global::G.ActionsCreateWorkflowDispatchRequest? Type5782 { get; set; } /// /// /// - public global::G.OneOf? Type5783 { get; set; } + public global::G.ReposCreateAttestationRequest? Type5783 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type5784 { get; set; } + public global::G.ReposCreateAttestationRequestBundle? Type5784 { get; set; } /// /// /// - public global::G.OneOf? Type5785 { get; set; } + public global::G.ReposCreateAutolinkRequest? Type5785 { get; set; } /// /// /// - public global::G.IssuesCreateRequestLabel? Type5786 { get; set; } + public global::G.ReposUpdateBranchProtectionRequest? Type5786 { get; set; } /// /// /// - public global::G.IssuesUpdateCommentRequest? Type5787 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecks? Type5787 { get; set; } /// /// /// - public global::G.ReactionsCreateForIssueCommentRequest? Type5788 { get; set; } + public global::System.Collections.Generic.IList? Type5788 { get; set; } /// /// /// - public global::G.ReactionsCreateForIssueCommentRequestContent? Type5789 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck? Type5789 { get; set; } /// /// /// - public global::G.IssuesUpdateRequest? Type5790 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviews? Type5790 { get; set; } /// /// /// - public global::G.IssuesUpdateRequestState? Type5791 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions? Type5791 { get; set; } /// /// /// - public global::G.IssuesUpdateRequestStateReason? Type5792 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances? Type5792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type5793 { get; set; } + public global::G.ReposUpdateBranchProtectionRequestRestrictions? Type5793 { get; set; } /// /// /// - public global::G.OneOf? Type5794 { get; set; } + public global::G.ReposUpdatePullRequestReviewProtectionRequest? Type5794 { get; set; } /// /// /// - public global::G.IssuesUpdateRequestLabel? Type5795 { get; set; } + public global::G.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions? Type5795 { get; set; } /// /// /// - public global::G.IssuesAddAssigneesRequest? Type5796 { get; set; } + public global::G.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances? Type5796 { get; set; } /// /// /// - public global::G.IssuesRemoveAssigneesRequest? Type5797 { get; set; } + public global::G.ReposUpdateStatusCheckProtectionRequest? Type5797 { get; set; } /// /// /// - public global::G.IssuesCreateCommentRequest? Type5798 { get; set; } + public global::System.Collections.Generic.IList? Type5798 { get; set; } /// /// /// - public global::G.OneOf, global::G.IssuesAddLabelsRequestVariant3, global::System.Collections.Generic.IList, string>? Type5799 { get; set; } + public global::G.ReposUpdateStatusCheckProtectionRequestCheck? Type5799 { get; set; } /// /// /// - public global::G.IssuesAddLabelsRequestVariant1? Type5800 { get; set; } + public global::G.OneOf>? Type5800 { get; set; } /// /// /// - public global::G.IssuesAddLabelsRequestVariant3? Type5801 { get; set; } + public global::G.ReposAddStatusCheckContextsRequest2? Type5801 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5802 { get; set; } + public global::G.OneOf>? Type5802 { get; set; } /// /// /// - public global::G.IssuesAddLabelsRequestVariant3Label? Type5803 { get; set; } + public global::G.ReposSetStatusCheckContextsRequest2? Type5803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5804 { get; set; } + public global::G.OneOf>? Type5804 { get; set; } /// /// /// - public global::G.IssuesAddLabelsRequestVariant4Item? Type5805 { get; set; } + public global::G.ReposRemoveStatusCheckContextsRequest2? Type5805 { get; set; } /// /// /// - public global::G.OneOf, global::G.IssuesSetLabelsRequestVariant3, global::System.Collections.Generic.IList, string>? Type5806 { get; set; } + public global::G.ReposAddAppAccessRestrictionsRequest? Type5806 { get; set; } /// /// /// - public global::G.IssuesSetLabelsRequestVariant1? Type5807 { get; set; } + public global::G.ReposSetAppAccessRestrictionsRequest? Type5807 { get; set; } /// /// /// - public global::G.IssuesSetLabelsRequestVariant3? Type5808 { get; set; } + public global::G.ReposRemoveAppAccessRestrictionsRequest? Type5808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5809 { get; set; } + public global::G.OneOf>? Type5809 { get; set; } /// /// /// - public global::G.IssuesSetLabelsRequestVariant3Label? Type5810 { get; set; } + public global::G.ReposAddTeamAccessRestrictionsRequest2? Type5810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5811 { get; set; } + public global::G.OneOf>? Type5811 { get; set; } /// /// /// - public global::G.IssuesSetLabelsRequestVariant4Item? Type5812 { get; set; } + public global::G.ReposSetTeamAccessRestrictionsRequest2? Type5812 { get; set; } /// /// /// - public global::G.IssuesLockRequest? Type5813 { get; set; } + public global::G.OneOf>? Type5813 { get; set; } /// /// /// - public global::G.IssuesLockRequestLockReason? Type5814 { get; set; } + public global::G.ReposRemoveTeamAccessRestrictionsRequest2? Type5814 { get; set; } /// /// /// - public global::G.ReactionsCreateForIssueRequest? Type5815 { get; set; } + public global::G.ReposAddUserAccessRestrictionsRequest? Type5815 { get; set; } /// /// /// - public global::G.ReactionsCreateForIssueRequestContent? Type5816 { get; set; } + public global::G.ReposSetUserAccessRestrictionsRequest? Type5816 { get; set; } /// /// /// - public global::G.ReposCreateDeployKeyRequest? Type5817 { get; set; } + public global::G.ReposRemoveUserAccessRestrictionsRequest? Type5817 { get; set; } /// /// /// - public global::G.IssuesCreateLabelRequest? Type5818 { get; set; } + public global::G.ReposRenameBranchRequest? Type5818 { get; set; } /// /// /// - public global::G.IssuesUpdateLabelRequest? Type5819 { get; set; } + public global::G.ChecksCreateRequest? Type5819 { get; set; } /// /// /// - public global::G.ReposMergeUpstreamRequest? Type5820 { get; set; } + public global::G.ChecksCreateRequestStatus? Type5820 { get; set; } /// /// /// - public global::G.ReposMergeRequest? Type5821 { get; set; } + public global::G.ChecksCreateRequestConclusion? Type5821 { get; set; } /// /// /// - public global::G.IssuesCreateMilestoneRequest? Type5822 { get; set; } + public global::G.ChecksCreateRequestOutput? Type5822 { get; set; } /// /// /// - public global::G.IssuesCreateMilestoneRequestState? Type5823 { get; set; } + public global::System.Collections.Generic.IList? Type5823 { get; set; } /// /// /// - public global::G.IssuesUpdateMilestoneRequest? Type5824 { get; set; } + public global::G.ChecksCreateRequestOutputAnnotation? Type5824 { get; set; } /// /// /// - public global::G.IssuesUpdateMilestoneRequestState? Type5825 { get; set; } + public global::G.ChecksCreateRequestOutputAnnotationAnnotationLevel? Type5825 { get; set; } /// /// /// - public global::G.ActivityMarkRepoNotificationsAsReadRequest? Type5826 { get; set; } + public global::System.Collections.Generic.IList? Type5826 { get; set; } /// /// /// - public global::G.ReposCreatePagesSiteRequest? Type5827 { get; set; } + public global::G.ChecksCreateRequestOutputImage? Type5827 { get; set; } /// /// /// - public global::G.ReposCreatePagesSiteRequestBuildType? Type5828 { get; set; } + public global::System.Collections.Generic.IList? Type5828 { get; set; } /// /// /// - public global::G.ReposCreatePagesSiteRequestSource? Type5829 { get; set; } + public global::G.ChecksCreateRequestAction? Type5829 { get; set; } /// /// /// - public global::G.ReposCreatePagesSiteRequestSourcePath? Type5830 { get; set; } + public global::G.ChecksCreateRequestVariant1? Type5830 { get; set; } /// /// /// - public global::G.ReposUpdateInformationAboutPagesSiteRequest? Type5831 { get; set; } + public global::G.ChecksCreateRequestVariant1Status? Type5831 { get; set; } /// /// /// - public global::G.ReposUpdateInformationAboutPagesSiteRequestBuildType? Type5832 { get; set; } + public global::G.ChecksCreateRequestVariant2? Type5832 { get; set; } /// /// /// - public global::G.AnyOf? Type5833 { get; set; } + public global::G.ChecksCreateRequestVariant2Status? Type5833 { get; set; } /// /// /// - public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnum? Type5834 { get; set; } + public global::G.ChecksCreateRequestDiscriminator? Type5834 { get; set; } /// /// /// - public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnum2? Type5835 { get; set; } + public global::G.ChecksUpdateRequest? Type5835 { get; set; } /// /// /// - public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnumPath? Type5836 { get; set; } + public global::G.ChecksUpdateRequestStatus? Type5836 { get; set; } /// /// /// - public global::G.ReposCreatePagesDeploymentRequest? Type5837 { get; set; } + public global::G.ChecksUpdateRequestConclusion? Type5837 { get; set; } /// /// /// - public global::G.ProjectsCreateForRepoRequest? Type5838 { get; set; } + public global::G.ChecksUpdateRequestOutput? Type5838 { get; set; } /// /// /// - public global::G.ReposCreateOrUpdateCustomPropertiesValuesRequest? Type5839 { get; set; } + public global::System.Collections.Generic.IList? Type5839 { get; set; } /// /// /// - public global::G.PullsCreateRequest? Type5840 { get; set; } + public global::G.ChecksUpdateRequestOutputAnnotation? Type5840 { get; set; } /// /// /// - public global::G.PullsUpdateReviewCommentRequest? Type5841 { get; set; } + public global::G.ChecksUpdateRequestOutputAnnotationAnnotationLevel? Type5841 { get; set; } /// /// /// - public global::G.ReactionsCreateForPullRequestReviewCommentRequest? Type5842 { get; set; } + public global::System.Collections.Generic.IList? Type5842 { get; set; } /// /// /// - public global::G.ReactionsCreateForPullRequestReviewCommentRequestContent? Type5843 { get; set; } + public global::G.ChecksUpdateRequestOutputImage? Type5843 { get; set; } /// /// /// - public global::G.PullsUpdateRequest? Type5844 { get; set; } + public global::System.Collections.Generic.IList? Type5844 { get; set; } /// /// /// - public global::G.PullsUpdateRequestState? Type5845 { get; set; } + public global::G.ChecksUpdateRequestAction? Type5845 { get; set; } /// /// /// - public global::G.CodespacesCreateWithPrForAuthenticatedUserRequest? Type5846 { get; set; } + public global::G.ChecksUpdateRequestVariant1? Type5846 { get; set; } /// /// /// - public global::G.CodespacesCreateWithPrForAuthenticatedUserRequestGeo? Type5847 { get; set; } + public global::G.ChecksUpdateRequestVariant1Status? Type5847 { get; set; } /// /// /// - public global::G.PullsCreateReviewCommentRequest? Type5848 { get; set; } + public global::G.ChecksUpdateRequestVariant2? Type5848 { get; set; } /// /// /// - public global::G.PullsCreateReviewCommentRequestSide? Type5849 { get; set; } + public global::G.ChecksUpdateRequestVariant2Status? Type5849 { get; set; } /// /// /// - public global::G.PullsCreateReviewCommentRequestStartSide? Type5850 { get; set; } + public global::G.ChecksCreateSuiteRequest? Type5850 { get; set; } /// /// /// - public global::G.PullsCreateReviewCommentRequestSubjectType? Type5851 { get; set; } + public global::G.ChecksSetSuitesPreferencesRequest? Type5851 { get; set; } /// /// /// - public global::G.PullsCreateReplyForReviewCommentRequest? Type5852 { get; set; } + public global::System.Collections.Generic.IList? Type5852 { get; set; } /// /// /// - public global::G.PullsMergeRequest? Type5853 { get; set; } + public global::G.ChecksSetSuitesPreferencesRequestAutoTriggerCheck? Type5853 { get; set; } /// /// /// - public global::G.PullsMergeRequestMergeMethod? Type5854 { get; set; } + public global::G.CodeScanningUpdateAlertRequest? Type5854 { get; set; } /// /// /// - public global::G.PullsRequestReviewersRequest? Type5855 { get; set; } + public global::G.CodeScanningCreateVariantAnalysisRequest? Type5855 { get; set; } /// /// /// - public global::G.PullsRemoveRequestedReviewersRequest? Type5856 { get; set; } + public global::G.CodeScanningUploadSarifRequest? Type5856 { get; set; } /// /// /// - public global::G.PullsCreateReviewRequest? Type5857 { get; set; } + public global::G.CodespacesCreateWithRepoForAuthenticatedUserRequest? Type5857 { get; set; } /// /// /// - public global::G.PullsCreateReviewRequestEvent? Type5858 { get; set; } + public global::G.CodespacesCreateWithRepoForAuthenticatedUserRequestGeo? Type5858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5859 { get; set; } + public global::G.CodespacesCreateOrUpdateRepoSecretRequest? Type5859 { get; set; } /// /// /// - public global::G.PullsCreateReviewRequestComment? Type5860 { get; set; } + public global::G.ReposAddCollaboratorRequest? Type5860 { get; set; } /// /// /// - public global::G.PullsUpdateReviewRequest? Type5861 { get; set; } + public global::G.ReposUpdateCommitCommentRequest? Type5861 { get; set; } /// /// /// - public global::G.PullsDismissReviewRequest? Type5862 { get; set; } + public global::G.ReactionsCreateForCommitCommentRequest? Type5862 { get; set; } /// /// /// - public global::G.PullsDismissReviewRequestEvent? Type5863 { get; set; } + public global::G.ReactionsCreateForCommitCommentRequestContent? Type5863 { get; set; } /// /// /// - public global::G.PullsSubmitReviewRequest? Type5864 { get; set; } + public global::G.ReposCreateCommitCommentRequest? Type5864 { get; set; } /// /// /// - public global::G.PullsSubmitReviewRequestEvent? Type5865 { get; set; } + public global::G.ReposCreateOrUpdateFileContentsRequest? Type5865 { get; set; } /// /// /// - public global::G.PullsUpdateBranchRequest? Type5866 { get; set; } + public global::G.ReposCreateOrUpdateFileContentsRequestCommitter? Type5866 { get; set; } /// /// /// - public global::G.ReposCreateReleaseRequest? Type5867 { get; set; } + public global::G.ReposCreateOrUpdateFileContentsRequestAuthor? Type5867 { get; set; } /// /// /// - public global::G.ReposCreateReleaseRequestMakeLatest? Type5868 { get; set; } + public global::G.ReposDeleteFileRequest? Type5868 { get; set; } /// /// /// - public global::G.ReposUpdateReleaseAssetRequest? Type5869 { get; set; } + public global::G.ReposDeleteFileRequestCommitter? Type5869 { get; set; } /// /// /// - public global::G.ReposGenerateReleaseNotesRequest? Type5870 { get; set; } + public global::G.ReposDeleteFileRequestAuthor? Type5870 { get; set; } /// /// /// - public global::G.ReposUpdateReleaseRequest? Type5871 { get; set; } + public global::G.DependabotUpdateAlertRequest? Type5871 { get; set; } /// /// /// - public global::G.ReposUpdateReleaseRequestMakeLatest? Type5872 { get; set; } + public global::G.DependabotUpdateAlertRequestState? Type5872 { get; set; } /// /// /// - public byte[]? Type5873 { get; set; } + public global::G.DependabotUpdateAlertRequestDismissedReason? Type5873 { get; set; } /// /// /// - public global::G.ReactionsCreateForReleaseRequest? Type5874 { get; set; } + public global::G.DependabotCreateOrUpdateRepoSecretRequest? Type5874 { get; set; } /// /// /// - public global::G.ReactionsCreateForReleaseRequestContent? Type5875 { get; set; } + public global::G.ReposCreateDeploymentRequest? Type5875 { get; set; } /// /// /// - public global::G.ReposCreateRepoRulesetRequest? Type5876 { get; set; } + public global::G.ReposCreateDeploymentStatusRequest? Type5876 { get; set; } /// /// /// - public global::G.ReposCreateRepoRulesetRequestTarget? Type5877 { get; set; } + public global::G.ReposCreateDeploymentStatusRequestState? Type5877 { get; set; } /// /// /// - public global::G.ReposUpdateRepoRulesetRequest? Type5878 { get; set; } + public global::G.ReposCreateDispatchEventRequest? Type5878 { get; set; } /// /// /// - public global::G.ReposUpdateRepoRulesetRequestTarget? Type5879 { get; set; } + public global::G.ReposCreateOrUpdateEnvironmentRequest? Type5879 { get; set; } /// /// /// - public global::G.SecretScanningUpdateAlertRequest? Type5880 { get; set; } + public global::System.Collections.Generic.IList? Type5880 { get; set; } /// /// /// - public global::G.ReposCreateCommitStatusRequest? Type5881 { get; set; } + public global::G.ReposCreateOrUpdateEnvironmentRequestReviewer? Type5881 { get; set; } /// /// /// - public global::G.ReposCreateCommitStatusRequestState? Type5882 { get; set; } + public global::G.ReposCreateDeploymentProtectionRuleRequest? Type5882 { get; set; } /// /// /// - public global::G.ActivitySetRepoSubscriptionRequest? Type5883 { get; set; } + public global::G.ActionsCreateOrUpdateEnvironmentSecretRequest? Type5883 { get; set; } /// /// /// - public global::G.ReposCreateTagProtectionRequest? Type5884 { get; set; } + public global::G.ActionsCreateEnvironmentVariableRequest? Type5884 { get; set; } /// /// /// - public global::G.ReposReplaceAllTopicsRequest? Type5885 { get; set; } + public global::G.ActionsUpdateEnvironmentVariableRequest? Type5885 { get; set; } /// /// /// - public global::G.ReposTransferRequest? Type5886 { get; set; } + public global::G.ReposCreateForkRequest? Type5886 { get; set; } /// /// /// - public global::G.ReposCreateUsingTemplateRequest? Type5887 { get; set; } + public global::G.GitCreateBlobRequest? Type5887 { get; set; } /// /// /// - public global::G.TeamsUpdateLegacyRequest? Type5888 { get; set; } + public global::G.GitCreateCommitRequest? Type5888 { get; set; } /// /// /// - public global::G.TeamsUpdateLegacyRequestPrivacy? Type5889 { get; set; } + public global::G.GitCreateCommitRequestAuthor? Type5889 { get; set; } /// /// /// - public global::G.TeamsUpdateLegacyRequestNotificationSetting? Type5890 { get; set; } + public global::G.GitCreateCommitRequestCommitter? Type5890 { get; set; } /// /// /// - public global::G.TeamsUpdateLegacyRequestPermission? Type5891 { get; set; } + public global::G.GitCreateRefRequest? Type5891 { get; set; } /// /// /// - public global::G.TeamsCreateDiscussionLegacyRequest? Type5892 { get; set; } + public global::G.GitUpdateRefRequest? Type5892 { get; set; } /// /// /// - public global::G.TeamsUpdateDiscussionLegacyRequest? Type5893 { get; set; } + public global::G.GitCreateTagRequest? Type5893 { get; set; } /// /// /// - public global::G.TeamsCreateDiscussionCommentLegacyRequest? Type5894 { get; set; } + public global::G.GitCreateTagRequestType? Type5894 { get; set; } /// /// /// - public global::G.TeamsUpdateDiscussionCommentLegacyRequest? Type5895 { get; set; } + public global::G.GitCreateTagRequestTagger? Type5895 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequest? Type5896 { get; set; } + public global::G.GitCreateTreeRequest? Type5896 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequestContent? Type5897 { get; set; } + public global::System.Collections.Generic.IList? Type5897 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionLegacyRequest? Type5898 { get; set; } + public global::G.GitCreateTreeRequestTreeItem? Type5898 { get; set; } /// /// /// - public global::G.ReactionsCreateForTeamDiscussionLegacyRequestContent? Type5899 { get; set; } + public global::G.GitCreateTreeRequestTreeItemMode? Type5899 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateMembershipForUserLegacyRequest? Type5900 { get; set; } + public global::G.GitCreateTreeRequestTreeItemType? Type5900 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole? Type5901 { get; set; } + public global::G.ReposCreateWebhookRequest? Type5901 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequest? Type5902 { get; set; } + public global::G.ReposCreateWebhookRequestConfig? Type5902 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermission? Type5903 { get; set; } + public global::G.ReposUpdateWebhookRequest? Type5903 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequest? Type5904 { get; set; } + public global::G.ReposUpdateWebhookConfigForRepoRequest? Type5904 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermission? Type5905 { get; set; } + public global::G.MigrationsStartImportRequest? Type5905 { get; set; } /// /// /// - public global::G.UsersUpdateAuthenticatedRequest? Type5906 { get; set; } + public global::G.MigrationsStartImportRequestVcs? Type5906 { get; set; } /// /// /// - public global::G.OneOf? Type5907 { get; set; } + public global::G.MigrationsUpdateImportRequest? Type5907 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserRequestVariant1? Type5908 { get; set; } + public global::G.MigrationsUpdateImportRequestVcs? Type5908 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserRequestVariant1Geo? Type5909 { get; set; } + public global::G.MigrationsMapCommitAuthorRequest? Type5909 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2? Type5910 { get; set; } + public global::G.MigrationsSetLfsPreferenceRequest? Type5910 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2PullRequest? Type5911 { get; set; } + public global::G.MigrationsSetLfsPreferenceRequestUseLfs? Type5911 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2Geo? Type5912 { get; set; } + public global::G.ReposUpdateInvitationRequest? Type5912 { get; set; } /// /// /// - public global::G.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest? Type5913 { get; set; } + public global::G.ReposUpdateInvitationRequestPermissions? Type5913 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type5914 { get; set; } + public global::G.IssuesCreateRequest? Type5914 { get; set; } /// /// /// - public global::G.AnyOf? Type5915 { get; set; } + public global::G.OneOf? Type5915 { get; set; } /// /// /// - public global::G.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest? Type5916 { get; set; } + public global::System.Collections.Generic.IList>? Type5916 { get; set; } /// /// /// - public global::G.CodespacesUpdateForAuthenticatedUserRequest? Type5917 { get; set; } + public global::G.OneOf? Type5917 { get; set; } /// /// /// - public global::G.CodespacesPublishForAuthenticatedUserRequest? Type5918 { get; set; } + public global::G.IssuesCreateRequestLabel? Type5918 { get; set; } /// /// /// - public global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest? Type5919 { get; set; } + public global::G.IssuesUpdateCommentRequest? Type5919 { get; set; } /// /// /// - public global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibility? Type5920 { get; set; } + public global::G.ReactionsCreateForIssueCommentRequest? Type5920 { get; set; } /// /// /// - public global::G.OneOf, string>? Type5921 { get; set; } + public global::G.ReactionsCreateForIssueCommentRequestContent? Type5921 { get; set; } /// /// /// - public global::G.UsersAddEmailForAuthenticatedUserRequest2? Type5922 { get; set; } + public global::G.IssuesUpdateRequest? Type5922 { get; set; } /// /// /// - public global::G.OneOf, string>? Type5923 { get; set; } + public global::G.IssuesUpdateRequestState? Type5923 { get; set; } /// /// /// - public global::G.UsersDeleteEmailForAuthenticatedUserRequest2? Type5924 { get; set; } + public global::G.IssuesUpdateRequestStateReason? Type5924 { get; set; } /// /// /// - public global::G.UsersCreateGpgKeyForAuthenticatedUserRequest? Type5925 { get; set; } + public global::System.Collections.Generic.IList>? Type5925 { get; set; } /// /// /// - public global::G.UsersCreatePublicSshKeyForAuthenticatedUserRequest? Type5926 { get; set; } + public global::G.OneOf? Type5926 { get; set; } /// /// /// - public global::G.OrgsUpdateMembershipForAuthenticatedUserRequest? Type5927 { get; set; } + public global::G.IssuesUpdateRequestLabel? Type5927 { get; set; } /// /// /// - public global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState? Type5928 { get; set; } + public global::G.IssuesAddAssigneesRequest? Type5928 { get; set; } /// /// /// - public global::G.MigrationsStartForAuthenticatedUserRequest? Type5929 { get; set; } + public global::G.IssuesRemoveAssigneesRequest? Type5929 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5930 { get; set; } + public global::G.IssuesCreateCommentRequest? Type5930 { get; set; } /// /// /// - public global::G.MigrationsStartForAuthenticatedUserRequestExcludeItem? Type5931 { get; set; } + public global::G.OneOf, global::G.IssuesAddLabelsRequestVariant3, global::System.Collections.Generic.IList, string>? Type5931 { get; set; } /// /// /// - public global::G.ProjectsCreateForAuthenticatedUserRequest? Type5932 { get; set; } + public global::G.IssuesAddLabelsRequestVariant1? Type5932 { get; set; } /// /// /// - public global::G.ReposCreateForAuthenticatedUserRequest? Type5933 { get; set; } + public global::G.IssuesAddLabelsRequestVariant3? Type5933 { get; set; } /// /// /// - public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle? Type5934 { get; set; } + public global::System.Collections.Generic.IList? Type5934 { get; set; } /// /// /// - public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? Type5935 { get; set; } + public global::G.IssuesAddLabelsRequestVariant3Label? Type5935 { get; set; } /// /// /// - public global::G.ReposCreateForAuthenticatedUserRequestMergeCommitTitle? Type5936 { get; set; } + public global::System.Collections.Generic.IList? Type5936 { get; set; } /// /// /// - public global::G.ReposCreateForAuthenticatedUserRequestMergeCommitMessage? Type5937 { get; set; } + public global::G.IssuesAddLabelsRequestVariant4Item? Type5937 { get; set; } /// /// /// - public global::G.UsersAddSocialAccountForAuthenticatedUserRequest? Type5938 { get; set; } + public global::G.OneOf, global::G.IssuesSetLabelsRequestVariant3, global::System.Collections.Generic.IList, string>? Type5938 { get; set; } /// /// /// - public global::G.UsersDeleteSocialAccountForAuthenticatedUserRequest? Type5939 { get; set; } + public global::G.IssuesSetLabelsRequestVariant1? Type5939 { get; set; } /// /// /// - public global::G.UsersCreateSshSigningKeyForAuthenticatedUserRequest? Type5940 { get; set; } + public global::G.IssuesSetLabelsRequestVariant3? Type5940 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListGlobalAdvisoriesType? Type5941 { get; set; } + public global::System.Collections.Generic.IList? Type5941 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListGlobalAdvisoriesSeverity? Type5942 { get; set; } + public global::G.IssuesSetLabelsRequestVariant3Label? Type5942 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? Type5943 { get; set; } + public global::System.Collections.Generic.IList? Type5943 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListGlobalAdvisoriesSort? Type5944 { get; set; } + public global::G.IssuesSetLabelsRequestVariant4Item? Type5944 { get; set; } /// /// /// - public global::G.DependabotListAlertsForEnterpriseScope? Type5945 { get; set; } + public global::G.IssuesLockRequest? Type5945 { get; set; } /// /// /// - public global::G.DependabotListAlertsForEnterpriseSort? Type5946 { get; set; } + public global::G.IssuesLockRequestLockReason? Type5946 { get; set; } /// /// /// - public global::G.DependabotListAlertsForEnterpriseDirection? Type5947 { get; set; } + public global::G.ReactionsCreateForIssueRequest? Type5947 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForEnterpriseState? Type5948 { get; set; } + public global::G.ReactionsCreateForIssueRequestContent? Type5948 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForEnterpriseSort? Type5949 { get; set; } + public global::G.ReposCreateDeployKeyRequest? Type5949 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForEnterpriseDirection? Type5950 { get; set; } + public global::G.IssuesCreateLabelRequest? Type5950 { get; set; } /// /// /// - public global::G.IssuesListFilter? Type5951 { get; set; } + public global::G.IssuesUpdateLabelRequest? Type5951 { get; set; } /// /// /// - public global::G.IssuesListState? Type5952 { get; set; } + public global::G.ReposMergeUpstreamRequest? Type5952 { get; set; } /// /// /// - public global::G.IssuesListSort? Type5953 { get; set; } + public global::G.ReposMergeRequest? Type5953 { get; set; } /// /// /// - public global::G.IssuesListDirection? Type5954 { get; set; } + public global::G.IssuesCreateMilestoneRequest? Type5954 { get; set; } /// /// /// - public global::G.AppsListAccountsForPlanSort? Type5955 { get; set; } + public global::G.IssuesCreateMilestoneRequestState? Type5955 { get; set; } /// /// /// - public global::G.AppsListAccountsForPlanDirection? Type5956 { get; set; } + public global::G.IssuesUpdateMilestoneRequest? Type5956 { get; set; } /// /// /// - public global::G.AppsListAccountsForPlanStubbedSort? Type5957 { get; set; } + public global::G.IssuesUpdateMilestoneRequestState? Type5957 { get; set; } /// /// /// - public global::G.AppsListAccountsForPlanStubbedDirection? Type5958 { get; set; } + public global::G.ActivityMarkRepoNotificationsAsReadRequest? Type5958 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForOrgDirection? Type5959 { get; set; } + public global::G.ReposCreatePagesSiteRequest? Type5959 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForOrgSort? Type5960 { get; set; } + public global::G.ReposCreatePagesSiteRequestBuildType? Type5960 { get; set; } /// /// /// - public global::G.DependabotListAlertsForOrgScope? Type5961 { get; set; } + public global::G.ReposCreatePagesSiteRequestSource? Type5961 { get; set; } /// /// /// - public global::G.DependabotListAlertsForOrgSort? Type5962 { get; set; } + public global::G.ReposCreatePagesSiteRequestSourcePath? Type5962 { get; set; } /// /// /// - public global::G.DependabotListAlertsForOrgDirection? Type5963 { get; set; } + public global::G.ReposUpdateInformationAboutPagesSiteRequest? Type5963 { get; set; } /// /// /// - public global::G.OrgsListPendingInvitationsRole? Type5964 { get; set; } + public global::G.ReposUpdateInformationAboutPagesSiteRequestBuildType? Type5964 { get; set; } /// /// /// - public global::G.OrgsListPendingInvitationsInvitationSource? Type5965 { get; set; } + public global::G.AnyOf? Type5965 { get; set; } /// /// /// - public global::G.IssuesListForOrgFilter? Type5966 { get; set; } + public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnum? Type5966 { get; set; } /// /// /// - public global::G.IssuesListForOrgState? Type5967 { get; set; } + public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnum2? Type5967 { get; set; } /// /// /// - public global::G.IssuesListForOrgSort? Type5968 { get; set; } + public global::G.ReposUpdateInformationAboutPagesSiteRequestSourceEnumPath? Type5968 { get; set; } /// /// /// - public global::G.IssuesListForOrgDirection? Type5969 { get; set; } + public global::G.ReposCreatePagesDeploymentRequest? Type5969 { get; set; } /// /// /// - public global::G.OrgsListMembersFilter? Type5970 { get; set; } + public global::G.ProjectsCreateForRepoRequest? Type5970 { get; set; } /// /// /// - public global::G.OrgsListMembersRole? Type5971 { get; set; } + public global::G.ReposCreateOrUpdateCustomPropertiesValuesRequest? Type5971 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5972 { get; set; } + public global::G.PullsCreateRequest? Type5972 { get; set; } /// /// /// - public global::G.MigrationsListForOrgExcludeItem? Type5973 { get; set; } + public global::G.PullsUpdateReviewCommentRequest? Type5973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5974 { get; set; } + public global::G.ReactionsCreateForPullRequestReviewCommentRequest? Type5974 { get; set; } /// /// /// - public global::G.MigrationsGetStatusForOrgExcludeItem? Type5975 { get; set; } + public global::G.ReactionsCreateForPullRequestReviewCommentRequestContent? Type5975 { get; set; } /// /// /// - public global::G.OrgsListOutsideCollaboratorsFilter? Type5976 { get; set; } + public global::G.PullsUpdateRequest? Type5976 { get; set; } /// /// /// - public global::G.PackagesListPackagesForOrganizationPackageType? Type5977 { get; set; } + public global::G.PullsUpdateRequestState? Type5977 { get; set; } /// /// /// - public global::G.PackagesListPackagesForOrganizationVisibility? Type5978 { get; set; } + public global::G.CodespacesCreateWithPrForAuthenticatedUserRequest? Type5978 { get; set; } /// /// /// - public global::G.PackagesGetPackageForOrganizationPackageType? Type5979 { get; set; } + public global::G.CodespacesCreateWithPrForAuthenticatedUserRequestGeo? Type5979 { get; set; } /// /// /// - public global::G.PackagesDeletePackageForOrgPackageType? Type5980 { get; set; } + public global::G.PullsCreateReviewCommentRequest? Type5980 { get; set; } /// /// /// - public global::G.PackagesRestorePackageForOrgPackageType? Type5981 { get; set; } + public global::G.PullsCreateReviewCommentRequestSide? Type5981 { get; set; } /// /// /// - public global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgPackageType? Type5982 { get; set; } + public global::G.PullsCreateReviewCommentRequestStartSide? Type5982 { get; set; } /// /// /// - public global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? Type5983 { get; set; } + public global::G.PullsCreateReviewCommentRequestSubjectType? Type5983 { get; set; } /// /// /// - public global::G.PackagesGetPackageVersionForOrganizationPackageType? Type5984 { get; set; } + public global::G.PullsCreateReplyForReviewCommentRequest? Type5984 { get; set; } /// /// /// - public global::G.PackagesDeletePackageVersionForOrgPackageType? Type5985 { get; set; } + public global::G.PullsMergeRequest? Type5985 { get; set; } /// /// /// - public global::G.PackagesRestorePackageVersionForOrgPackageType? Type5986 { get; set; } + public global::G.PullsMergeRequestMergeMethod? Type5986 { get; set; } /// /// /// - public global::G.OrgsListPatGrantRequestsSort? Type5987 { get; set; } + public global::G.PullsRequestReviewersRequest? Type5987 { get; set; } /// /// /// - public global::G.OrgsListPatGrantRequestsDirection? Type5988 { get; set; } + public global::G.PullsRemoveRequestedReviewersRequest? Type5988 { get; set; } /// /// /// - public global::G.OrgsListPatGrantsSort? Type5989 { get; set; } + public global::G.PullsCreateReviewRequest? Type5989 { get; set; } /// /// /// - public global::G.OrgsListPatGrantsDirection? Type5990 { get; set; } + public global::G.PullsCreateReviewRequestEvent? Type5990 { get; set; } /// /// /// - public global::G.ProjectsListForOrgState? Type5991 { get; set; } + public global::System.Collections.Generic.IList? Type5991 { get; set; } /// /// /// - public global::G.ReposListForOrgType? Type5992 { get; set; } + public global::G.PullsCreateReviewRequestComment? Type5992 { get; set; } /// /// /// - public global::G.ReposListForOrgSort? Type5993 { get; set; } + public global::G.PullsUpdateReviewRequest? Type5993 { get; set; } /// /// /// - public global::G.ReposListForOrgDirection? Type5994 { get; set; } + public global::G.PullsDismissReviewRequest? Type5994 { get; set; } /// /// /// - public global::G.ReposGetOrgRuleSuitesTimePeriod? Type5995 { get; set; } + public global::G.PullsDismissReviewRequestEvent? Type5995 { get; set; } /// /// /// - public global::G.ReposGetOrgRuleSuitesRuleSuiteResult? Type5996 { get; set; } + public global::G.PullsSubmitReviewRequest? Type5996 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForOrgState? Type5997 { get; set; } + public global::G.PullsSubmitReviewRequestEvent? Type5997 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForOrgSort? Type5998 { get; set; } + public global::G.PullsUpdateBranchRequest? Type5998 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForOrgDirection? Type5999 { get; set; } + public global::G.ReposCreateReleaseRequest? Type5999 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? Type6000 { get; set; } + public global::G.ReposCreateReleaseRequestMakeLatest? Type6000 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? Type6001 { get; set; } + public global::G.ReposUpdateReleaseAssetRequest? Type6001 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? Type6002 { get; set; } + public global::G.ReposGenerateReleaseNotesRequest? Type6002 { get; set; } /// /// /// - public global::G.TeamsListDiscussionsInOrgDirection? Type6003 { get; set; } + public global::G.ReposUpdateReleaseRequest? Type6003 { get; set; } /// /// /// - public global::G.TeamsListDiscussionCommentsInOrgDirection? Type6004 { get; set; } + public global::G.ReposUpdateReleaseRequestMakeLatest? Type6004 { get; set; } /// /// /// - public global::G.ReactionsListForTeamDiscussionCommentInOrgContent? Type6005 { get; set; } + public byte[]? Type6005 { get; set; } /// /// /// - public global::G.ReactionsListForTeamDiscussionInOrgContent? Type6006 { get; set; } + public global::G.ReactionsCreateForReleaseRequest? Type6006 { get; set; } /// /// /// - public global::G.TeamsListMembersInOrgRole? Type6007 { get; set; } + public global::G.ReactionsCreateForReleaseRequestContent? Type6007 { get; set; } /// /// /// - public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct? Type6008 { get; set; } + public global::G.ReposCreateRepoRulesetRequest? Type6008 { get; set; } /// /// /// - public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement? Type6009 { get; set; } + public global::G.ReposCreateRepoRulesetRequestTarget? Type6009 { get; set; } /// /// /// - public global::G.ProjectsListCardsArchivedState? Type6010 { get; set; } + public global::G.ReposUpdateRepoRulesetRequest? Type6010 { get; set; } /// /// /// - public global::G.ProjectsListCollaboratorsAffiliation? Type6011 { get; set; } + public global::G.ReposUpdateRepoRulesetRequestTarget? Type6011 { get; set; } /// /// /// - public global::G.ActionsGetActionsCacheListSort? Type6012 { get; set; } + public global::G.SecretScanningUpdateAlertRequest? Type6012 { get; set; } /// /// /// - public global::G.ActionsGetActionsCacheListDirection? Type6013 { get; set; } + public global::G.SecretScanningCreatePushProtectionBypassRequest? Type6013 { get; set; } /// /// /// - public global::G.ActionsListWorkflowRunsForRepoStatus? Type6014 { get; set; } + public global::G.ReposCreateCommitStatusRequest? Type6014 { get; set; } /// /// /// - public global::G.ActionsListJobsForWorkflowRunFilter? Type6015 { get; set; } + public global::G.ReposCreateCommitStatusRequestState? Type6015 { get; set; } /// /// /// - public global::G.ActionsListWorkflowRunsStatus? Type6016 { get; set; } + public global::G.ActivitySetRepoSubscriptionRequest? Type6016 { get; set; } /// /// /// - public global::G.ReposListActivitiesDirection? Type6017 { get; set; } + public global::G.ReposCreateTagProtectionRequest? Type6017 { get; set; } /// /// /// - public global::G.ReposListActivitiesTimePeriod? Type6018 { get; set; } + public global::G.ReposReplaceAllTopicsRequest? Type6018 { get; set; } /// /// /// - public global::G.ReposListActivitiesActivityType? Type6019 { get; set; } + public global::G.ReposTransferRequest? Type6019 { get; set; } /// /// /// - public global::G.ChecksListForSuiteStatus? Type6020 { get; set; } + public global::G.ReposCreateUsingTemplateRequest? Type6020 { get; set; } /// /// /// - public global::G.ChecksListForSuiteFilter? Type6021 { get; set; } + public global::G.TeamsUpdateLegacyRequest? Type6021 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForRepoDirection? Type6022 { get; set; } + public global::G.TeamsUpdateLegacyRequestPrivacy? Type6022 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForRepoSort? Type6023 { get; set; } + public global::G.TeamsUpdateLegacyRequestNotificationSetting? Type6023 { get; set; } /// /// /// - public global::G.CodeScanningListRecentAnalysesDirection? Type6024 { get; set; } + public global::G.TeamsUpdateLegacyRequestPermission? Type6024 { get; set; } /// /// /// - public global::G.CodeScanningListRecentAnalysesSort? Type6025 { get; set; } + public global::G.TeamsCreateDiscussionLegacyRequest? Type6025 { get; set; } /// /// /// - public global::G.ReposListCollaboratorsAffiliation? Type6026 { get; set; } + public global::G.TeamsUpdateDiscussionLegacyRequest? Type6026 { get; set; } /// /// /// - public global::G.ReposListCollaboratorsPermission? Type6027 { get; set; } + public global::G.TeamsCreateDiscussionCommentLegacyRequest? Type6027 { get; set; } /// /// /// - public global::G.ReactionsListForCommitCommentContent? Type6028 { get; set; } + public global::G.TeamsUpdateDiscussionCommentLegacyRequest? Type6028 { get; set; } /// /// /// - public global::G.ChecksListForRefStatus? Type6029 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequest? Type6029 { get; set; } /// /// /// - public global::G.ChecksListForRefFilter? Type6030 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequestContent? Type6030 { get; set; } /// /// /// - public global::G.DependabotListAlertsForRepoScope? Type6031 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionLegacyRequest? Type6031 { get; set; } /// /// /// - public global::G.DependabotListAlertsForRepoSort? Type6032 { get; set; } + public global::G.ReactionsCreateForTeamDiscussionLegacyRequestContent? Type6032 { get; set; } /// /// /// - public global::G.DependabotListAlertsForRepoDirection? Type6033 { get; set; } + public global::G.TeamsAddOrUpdateMembershipForUserLegacyRequest? Type6033 { get; set; } /// /// /// - public global::G.ReposListForksSort? Type6034 { get; set; } + public global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole? Type6034 { get; set; } /// /// /// - public global::G.IssuesListForRepoState? Type6035 { get; set; } + public global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequest? Type6035 { get; set; } /// /// /// - public global::G.IssuesListForRepoSort? Type6036 { get; set; } + public global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermission? Type6036 { get; set; } /// /// /// - public global::G.IssuesListForRepoDirection? Type6037 { get; set; } + public global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequest? Type6037 { get; set; } /// /// /// - public global::G.IssuesListCommentsForRepoSort? Type6038 { get; set; } + public global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermission? Type6038 { get; set; } /// /// /// - public global::G.IssuesListCommentsForRepoDirection? Type6039 { get; set; } + public global::G.UsersUpdateAuthenticatedRequest? Type6039 { get; set; } /// /// /// - public global::G.ReactionsListForIssueCommentContent? Type6040 { get; set; } + public global::G.OneOf? Type6040 { get; set; } /// /// /// - public global::G.ReactionsListForIssueContent? Type6041 { get; set; } + public global::G.CodespacesCreateForAuthenticatedUserRequestVariant1? Type6041 { get; set; } /// /// /// - public global::G.IssuesListMilestonesState? Type6042 { get; set; } + public global::G.CodespacesCreateForAuthenticatedUserRequestVariant1Geo? Type6042 { get; set; } /// /// /// - public global::G.IssuesListMilestonesSort? Type6043 { get; set; } + public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2? Type6043 { get; set; } /// /// /// - public global::G.IssuesListMilestonesDirection? Type6044 { get; set; } + public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2PullRequest? Type6044 { get; set; } /// /// /// - public global::G.ProjectsListForRepoState? Type6045 { get; set; } + public global::G.CodespacesCreateForAuthenticatedUserRequestVariant2Geo? Type6045 { get; set; } /// /// /// - public global::G.PullsListState? Type6046 { get; set; } + public global::G.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest? Type6046 { get; set; } /// /// /// - public global::G.PullsListSort? Type6047 { get; set; } + public global::System.Collections.Generic.IList>? Type6047 { get; set; } /// /// /// - public global::G.PullsListDirection? Type6048 { get; set; } + public global::G.AnyOf? Type6048 { get; set; } /// /// /// - public global::G.PullsListReviewCommentsForRepoSort? Type6049 { get; set; } + public global::G.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest? Type6049 { get; set; } /// /// /// - public global::G.PullsListReviewCommentsForRepoDirection? Type6050 { get; set; } + public global::G.CodespacesUpdateForAuthenticatedUserRequest? Type6050 { get; set; } /// /// /// - public global::G.ReactionsListForPullRequestReviewCommentContent? Type6051 { get; set; } + public global::G.CodespacesPublishForAuthenticatedUserRequest? Type6051 { get; set; } /// /// /// - public global::G.PullsListReviewCommentsSort? Type6052 { get; set; } + public global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest? Type6052 { get; set; } /// /// /// - public global::G.PullsListReviewCommentsDirection? Type6053 { get; set; } + public global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibility? Type6053 { get; set; } /// /// /// - public global::G.ReactionsListForReleaseContent? Type6054 { get; set; } + public global::G.OneOf, string>? Type6054 { get; set; } /// /// /// - public global::G.ReposGetRepoRuleSuitesTimePeriod? Type6055 { get; set; } + public global::G.UsersAddEmailForAuthenticatedUserRequest2? Type6055 { get; set; } /// /// /// - public global::G.ReposGetRepoRuleSuitesRuleSuiteResult? Type6056 { get; set; } + public global::G.OneOf, string>? Type6056 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForRepoState? Type6057 { get; set; } + public global::G.UsersDeleteEmailForAuthenticatedUserRequest2? Type6057 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForRepoSort? Type6058 { get; set; } + public global::G.UsersCreateGpgKeyForAuthenticatedUserRequest? Type6058 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForRepoDirection? Type6059 { get; set; } + public global::G.UsersCreatePublicSshKeyForAuthenticatedUserRequest? Type6059 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection? Type6060 { get; set; } + public global::G.OrgsUpdateMembershipForAuthenticatedUserRequest? Type6060 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort? Type6061 { get; set; } + public global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState? Type6061 { get; set; } /// /// /// - public global::G.SecurityAdvisoriesListRepositoryAdvisoriesState? Type6062 { get; set; } + public global::G.MigrationsStartForAuthenticatedUserRequest? Type6062 { get; set; } /// /// /// - public global::G.ReposGetClonesPer? Type6063 { get; set; } + public global::System.Collections.Generic.IList? Type6063 { get; set; } /// /// /// - public global::G.ReposGetViewsPer? Type6064 { get; set; } + public global::G.MigrationsStartForAuthenticatedUserRequestExcludeItem? Type6064 { get; set; } /// /// /// - public global::G.SearchCodeSort? Type6065 { get; set; } + public global::G.ProjectsCreateForAuthenticatedUserRequest? Type6065 { get; set; } /// /// /// - public global::G.SearchCodeOrder? Type6066 { get; set; } + public global::G.ReposCreateForAuthenticatedUserRequest? Type6066 { get; set; } /// /// /// - public global::G.SearchCommitsSort? Type6067 { get; set; } + public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle? Type6067 { get; set; } /// /// /// - public global::G.SearchCommitsOrder? Type6068 { get; set; } + public global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? Type6068 { get; set; } /// /// /// - public global::G.SearchIssuesAndPullRequestsSort? Type6069 { get; set; } + public global::G.ReposCreateForAuthenticatedUserRequestMergeCommitTitle? Type6069 { get; set; } /// /// /// - public global::G.SearchIssuesAndPullRequestsOrder? Type6070 { get; set; } + public global::G.ReposCreateForAuthenticatedUserRequestMergeCommitMessage? Type6070 { get; set; } /// /// /// - public global::G.SearchLabelsSort? Type6071 { get; set; } + public global::G.UsersAddSocialAccountForAuthenticatedUserRequest? Type6071 { get; set; } /// /// /// - public global::G.SearchLabelsOrder? Type6072 { get; set; } + public global::G.UsersDeleteSocialAccountForAuthenticatedUserRequest? Type6072 { get; set; } /// /// /// - public global::G.SearchReposSort? Type6073 { get; set; } + public global::G.UsersCreateSshSigningKeyForAuthenticatedUserRequest? Type6073 { get; set; } /// /// /// - public global::G.SearchReposOrder? Type6074 { get; set; } + public global::G.SecurityAdvisoriesListGlobalAdvisoriesType? Type6074 { get; set; } /// /// /// - public global::G.SearchUsersSort? Type6075 { get; set; } + public global::G.SecurityAdvisoriesListGlobalAdvisoriesSeverity? Type6075 { get; set; } /// /// /// - public global::G.SearchUsersOrder? Type6076 { get; set; } + public global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? Type6076 { get; set; } /// /// /// - public global::G.TeamsListDiscussionsLegacyDirection? Type6077 { get; set; } + public global::G.SecurityAdvisoriesListGlobalAdvisoriesSort? Type6077 { get; set; } /// /// /// - public global::G.TeamsListDiscussionCommentsLegacyDirection? Type6078 { get; set; } + public global::G.DependabotListAlertsForEnterpriseScope? Type6078 { get; set; } /// /// /// - public global::G.ReactionsListForTeamDiscussionCommentLegacyContent? Type6079 { get; set; } + public global::G.DependabotListAlertsForEnterpriseSort? Type6079 { get; set; } /// /// /// - public global::G.ReactionsListForTeamDiscussionLegacyContent? Type6080 { get; set; } + public global::G.DependabotListAlertsForEnterpriseDirection? Type6080 { get; set; } /// /// /// - public global::G.TeamsListMembersLegacyRole? Type6081 { get; set; } + public global::G.SecretScanningListAlertsForEnterpriseState? Type6081 { get; set; } /// /// /// - public global::G.IssuesListForAuthenticatedUserFilter? Type6082 { get; set; } + public global::G.SecretScanningListAlertsForEnterpriseSort? Type6082 { get; set; } /// /// /// - public global::G.IssuesListForAuthenticatedUserState? Type6083 { get; set; } + public global::G.SecretScanningListAlertsForEnterpriseDirection? Type6083 { get; set; } /// /// /// - public global::G.IssuesListForAuthenticatedUserSort? Type6084 { get; set; } + public global::G.IssuesListFilter? Type6084 { get; set; } /// /// /// - public global::G.IssuesListForAuthenticatedUserDirection? Type6085 { get; set; } + public global::G.IssuesListState? Type6085 { get; set; } /// /// /// - public global::G.OrgsListMembershipsForAuthenticatedUserState? Type6086 { get; set; } + public global::G.IssuesListSort? Type6086 { get; set; } /// /// /// - public global::G.PackagesListPackagesForAuthenticatedUserPackageType? Type6087 { get; set; } + public global::G.IssuesListDirection? Type6087 { get; set; } /// /// /// - public global::G.PackagesListPackagesForAuthenticatedUserVisibility? Type6088 { get; set; } + public global::G.AppsListAccountsForPlanSort? Type6088 { get; set; } /// /// /// - public global::G.PackagesGetPackageForAuthenticatedUserPackageType? Type6089 { get; set; } + public global::G.AppsListAccountsForPlanDirection? Type6089 { get; set; } /// /// /// - public global::G.PackagesDeletePackageForAuthenticatedUserPackageType? Type6090 { get; set; } + public global::G.AppsListAccountsForPlanStubbedSort? Type6090 { get; set; } /// /// /// - public global::G.PackagesRestorePackageForAuthenticatedUserPackageType? Type6091 { get; set; } + public global::G.AppsListAccountsForPlanStubbedDirection? Type6091 { get; set; } /// /// /// - public global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserPackageType? Type6092 { get; set; } + public global::G.CodeScanningListAlertsForOrgDirection? Type6092 { get; set; } /// /// /// - public global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? Type6093 { get; set; } + public global::G.CodeScanningListAlertsForOrgSort? Type6093 { get; set; } /// /// /// - public global::G.PackagesGetPackageVersionForAuthenticatedUserPackageType? Type6094 { get; set; } + public global::G.CodeSecurityGetConfigurationsForOrgTargetType? Type6094 { get; set; } /// /// /// - public global::G.PackagesDeletePackageVersionForAuthenticatedUserPackageType? Type6095 { get; set; } + public global::G.DependabotListAlertsForOrgScope? Type6095 { get; set; } /// /// /// - public global::G.PackagesRestorePackageVersionForAuthenticatedUserPackageType? Type6096 { get; set; } + public global::G.DependabotListAlertsForOrgSort? Type6096 { get; set; } /// /// /// - public global::G.ReposListForAuthenticatedUserVisibility? Type6097 { get; set; } + public global::G.DependabotListAlertsForOrgDirection? Type6097 { get; set; } /// /// /// - public global::G.ReposListForAuthenticatedUserType? Type6098 { get; set; } + public global::G.OrgsListPendingInvitationsRole? Type6098 { get; set; } /// /// /// - public global::G.ReposListForAuthenticatedUserSort? Type6099 { get; set; } + public global::G.OrgsListPendingInvitationsInvitationSource? Type6099 { get; set; } /// /// /// - public global::G.ReposListForAuthenticatedUserDirection? Type6100 { get; set; } + public global::G.IssuesListForOrgFilter? Type6100 { get; set; } /// /// /// - public global::G.ActivityListReposStarredByAuthenticatedUserSort? Type6101 { get; set; } + public global::G.IssuesListForOrgState? Type6101 { get; set; } /// /// /// - public global::G.ActivityListReposStarredByAuthenticatedUserDirection? Type6102 { get; set; } + public global::G.IssuesListForOrgSort? Type6102 { get; set; } /// /// /// - public global::G.UsersGetContextForUserSubjectType? Type6103 { get; set; } + public global::G.IssuesListForOrgDirection? Type6103 { get; set; } /// /// /// - public global::G.PackagesListPackagesForUserPackageType? Type6104 { get; set; } + public global::G.OrgsListMembersFilter? Type6104 { get; set; } /// /// /// - public global::G.PackagesListPackagesForUserVisibility? Type6105 { get; set; } + public global::G.OrgsListMembersRole? Type6105 { get; set; } /// /// /// - public global::G.PackagesGetPackageForUserPackageType? Type6106 { get; set; } + public global::System.Collections.Generic.IList? Type6106 { get; set; } /// /// /// - public global::G.PackagesDeletePackageForUserPackageType? Type6107 { get; set; } + public global::G.MigrationsListForOrgExcludeItem? Type6107 { get; set; } /// /// /// - public global::G.PackagesRestorePackageForUserPackageType? Type6108 { get; set; } + public global::System.Collections.Generic.IList? Type6108 { get; set; } /// /// /// - public global::G.PackagesGetAllPackageVersionsForPackageOwnedByUserPackageType? Type6109 { get; set; } + public global::G.MigrationsGetStatusForOrgExcludeItem? Type6109 { get; set; } /// /// /// - public global::G.PackagesGetPackageVersionForUserPackageType? Type6110 { get; set; } + public global::G.OrgsListOutsideCollaboratorsFilter? Type6110 { get; set; } /// /// /// - public global::G.PackagesDeletePackageVersionForUserPackageType? Type6111 { get; set; } + public global::G.PackagesListPackagesForOrganizationPackageType? Type6111 { get; set; } /// /// /// - public global::G.PackagesRestorePackageVersionForUserPackageType? Type6112 { get; set; } + public global::G.PackagesListPackagesForOrganizationVisibility? Type6112 { get; set; } /// /// /// - public global::G.ProjectsListForUserState? Type6113 { get; set; } + public global::G.PackagesGetPackageForOrganizationPackageType? Type6113 { get; set; } /// /// /// - public global::G.ReposListForUserType? Type6114 { get; set; } + public global::G.PackagesDeletePackageForOrgPackageType? Type6114 { get; set; } /// /// /// - public global::G.ReposListForUserSort? Type6115 { get; set; } + public global::G.PackagesRestorePackageForOrgPackageType? Type6115 { get; set; } /// /// /// - public global::G.ReposListForUserDirection? Type6116 { get; set; } + public global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgPackageType? Type6116 { get; set; } /// /// /// - public global::G.ActivityListReposStarredByUserSort? Type6117 { get; set; } + public global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? Type6117 { get; set; } /// /// /// - public global::G.ActivityListReposStarredByUserDirection? Type6118 { get; set; } + public global::G.PackagesGetPackageVersionForOrganizationPackageType? Type6118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6119 { get; set; } + public global::G.PackagesDeletePackageVersionForOrgPackageType? Type6119 { get; set; } /// /// /// - public global::G.AllOf? Type6120 { get; set; } + public global::G.PackagesRestorePackageVersionForOrgPackageType? Type6120 { get; set; } /// /// /// - public global::G.AppsCreateFromManifestResponse2? Type6121 { get; set; } + public global::G.OrgsListPatGrantRequestsSort? Type6121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6122 { get; set; } + public global::G.OrgsListPatGrantRequestsDirection? Type6122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6123 { get; set; } + public global::G.OrgsListPatGrantsSort? Type6123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6124 { get; set; } + public global::G.OrgsListPatGrantsDirection? Type6124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6125 { get; set; } + public global::G.ProjectsListForOrgState? Type6125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6126 { get; set; } + public global::G.ReposListForOrgType? Type6126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6127 { get; set; } + public global::G.ReposListForOrgSort? Type6127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6128 { get; set; } + public global::G.ReposListForOrgDirection? Type6128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6129 { get; set; } + public global::G.ReposGetOrgRuleSuitesTimePeriod? Type6129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6130 { get; set; } + public global::G.ReposGetOrgRuleSuitesRuleSuiteResult? Type6130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6131 { get; set; } + public global::G.SecretScanningListAlertsForOrgState? Type6131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6132 { get; set; } + public global::G.SecretScanningListAlertsForOrgSort? Type6132 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForEnterpriseResponse? Type6133 { get; set; } + public global::G.SecretScanningListAlertsForOrgDirection? Type6133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6134 { get; set; } + public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? Type6134 { get; set; } /// /// /// - public global::G.ActivityListPublicEventsResponse? Type6135 { get; set; } + public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? Type6135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6136 { get; set; } + public global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? Type6136 { get; set; } /// /// /// - public global::G.GistsGetResponse? Type6137 { get; set; } + public global::G.TeamsListDiscussionsInOrgDirection? Type6137 { get; set; } /// /// /// - public global::G.GistsGetResponseBlock? Type6138 { get; set; } + public global::G.TeamsListDiscussionCommentsInOrgDirection? Type6138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6139 { get; set; } + public global::G.ReactionsListForTeamDiscussionCommentInOrgContent? Type6139 { get; set; } /// /// /// - public global::G.GistsGetCommentResponse? Type6140 { get; set; } + public global::G.ReactionsListForTeamDiscussionInOrgContent? Type6140 { get; set; } /// /// /// - public global::G.GistsGetCommentResponseBlock? Type6141 { get; set; } + public global::G.TeamsListMembersInOrgRole? Type6141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6142 { get; set; } + public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct? Type6142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6143 { get; set; } + public global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement? Type6143 { get; set; } /// /// /// - public global::G.GistsCheckIsStarredResponse? Type6144 { get; set; } + public global::G.ProjectsListCardsArchivedState? Type6144 { get; set; } /// /// /// - public global::G.AppsListReposAccessibleToInstallationResponse? Type6145 { get; set; } + public global::G.ProjectsListCollaboratorsAffiliation? Type6145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6146 { get; set; } + public global::G.ActionsGetActionsCacheListSort? Type6146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6147 { get; set; } + public global::G.ActionsGetActionsCacheListDirection? Type6147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6148 { get; set; } + public global::G.ActionsListWorkflowRunsForRepoStatus? Type6148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6149 { get; set; } + public global::G.ActionsListJobsForWorkflowRunFilter? Type6149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6150 { get; set; } + public global::G.ActionsListWorkflowRunsStatus? Type6150 { get; set; } /// /// /// - public global::G.ActivityMarkNotificationsAsReadResponse? Type6151 { get; set; } + public global::G.ReposListActivitiesDirection? Type6151 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6152 { get; set; } + public global::G.ReposListActivitiesTimePeriod? Type6152 { get; set; } /// /// /// - public global::G.OneOf? Type6153 { get; set; } + public global::G.ReposListActivitiesActivityType? Type6153 { get; set; } /// /// /// - public global::G.ActionsGetActionsCacheUsageByRepoForOrgResponse? Type6154 { get; set; } + public global::G.ChecksListForSuiteStatus? Type6154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6155 { get; set; } + public global::G.ChecksListForSuiteFilter? Type6155 { get; set; } /// /// /// - public global::G.ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse? Type6156 { get; set; } + public global::G.CodeScanningListAlertsForRepoDirection? Type6156 { get; set; } /// /// /// - public global::G.ActionsListSelfHostedRunnersForOrgResponse? Type6157 { get; set; } + public global::G.CodeScanningListAlertsForRepoSort? Type6157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6158 { get; set; } + public global::G.CodeScanningListRecentAnalysesDirection? Type6158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6159 { get; set; } + public global::G.CodeScanningListRecentAnalysesSort? Type6159 { get; set; } /// /// /// - public global::G.ActionsGenerateRunnerJitconfigForOrgResponse? Type6160 { get; set; } + public global::G.ReposListCollaboratorsAffiliation? Type6160 { get; set; } /// /// /// - public global::G.ActionsListLabelsForSelfHostedRunnerForOrgResponse? Type6161 { get; set; } + public global::G.ReposListCollaboratorsPermission? Type6161 { get; set; } /// /// /// - public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgResponse? Type6162 { get; set; } + public global::G.ReactionsListForCommitCommentContent? Type6162 { get; set; } /// /// /// - public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgResponse? Type6163 { get; set; } + public global::G.ChecksListForRefStatus? Type6163 { get; set; } /// /// /// - public global::G.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgResponse? Type6164 { get; set; } + public global::G.ChecksListForRefFilter? Type6164 { get; set; } /// /// /// - public global::G.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgResponse? Type6165 { get; set; } + public global::G.DependabotListAlertsForRepoScope? Type6165 { get; set; } /// /// /// - public global::G.ActionsListOrgSecretsResponse? Type6166 { get; set; } + public global::G.DependabotListAlertsForRepoSort? Type6166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6167 { get; set; } + public global::G.DependabotListAlertsForRepoDirection? Type6167 { get; set; } /// /// /// - public global::G.ActionsListSelectedReposForOrgSecretResponse? Type6168 { get; set; } + public global::G.ReposListForksSort? Type6168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6169 { get; set; } + public global::G.IssuesListForRepoState? Type6169 { get; set; } /// /// /// - public global::G.ActionsListOrgVariablesResponse? Type6170 { get; set; } + public global::G.IssuesListForRepoSort? Type6170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6171 { get; set; } + public global::G.IssuesListForRepoDirection? Type6171 { get; set; } /// /// /// - public global::G.ActionsListSelectedReposForOrgVariableResponse? Type6172 { get; set; } + public global::G.IssuesListCommentsForRepoSort? Type6172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6173 { get; set; } + public global::G.IssuesListCommentsForRepoDirection? Type6173 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForOrgResponse? Type6174 { get; set; } + public global::G.ReactionsListForIssueCommentContent? Type6174 { get; set; } /// /// /// - public global::G.CodespacesListInOrganizationResponse? Type6175 { get; set; } + public global::G.ReactionsListForIssueContent? Type6175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6176 { get; set; } + public global::G.IssuesListMilestonesState? Type6176 { get; set; } /// /// /// - public global::G.CodespacesListOrgSecretsResponse? Type6177 { get; set; } + public global::G.IssuesListMilestonesSort? Type6177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6178 { get; set; } + public global::G.IssuesListMilestonesDirection? Type6178 { get; set; } /// /// /// - public global::G.CodespacesListSelectedReposForOrgSecretResponse? Type6179 { get; set; } + public global::G.ProjectsListForRepoState? Type6179 { get; set; } /// /// /// - public global::G.CopilotListCopilotSeatsResponse? Type6180 { get; set; } + public global::G.PullsListState? Type6180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6181 { get; set; } + public global::G.PullsListSort? Type6181 { get; set; } /// /// /// - public global::G.CopilotAddCopilotSeatsForTeamsResponse? Type6182 { get; set; } + public global::G.PullsListDirection? Type6182 { get; set; } /// /// /// - public global::G.CopilotCancelCopilotSeatAssignmentForTeamsResponse? Type6183 { get; set; } + public global::G.PullsListReviewCommentsForRepoSort? Type6183 { get; set; } /// /// /// - public global::G.CopilotAddCopilotSeatsForUsersResponse? Type6184 { get; set; } + public global::G.PullsListReviewCommentsForRepoDirection? Type6184 { get; set; } /// /// /// - public global::G.CopilotCancelCopilotSeatAssignmentForUsersResponse? Type6185 { get; set; } + public global::G.ReactionsListForPullRequestReviewCommentContent? Type6185 { get; set; } /// /// /// - public global::G.DependabotListOrgSecretsResponse? Type6186 { get; set; } + public global::G.PullsListReviewCommentsSort? Type6186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6187 { get; set; } + public global::G.PullsListReviewCommentsDirection? Type6187 { get; set; } /// /// /// - public global::G.DependabotListSelectedReposForOrgSecretResponse? Type6188 { get; set; } + public global::G.ReactionsListForReleaseContent? Type6188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6189 { get; set; } + public global::G.ReposGetRepoRuleSuitesTimePeriod? Type6189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6190 { get; set; } + public global::G.ReposGetRepoRuleSuitesRuleSuiteResult? Type6190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6191 { get; set; } + public global::G.SecretScanningListAlertsForRepoState? Type6191 { get; set; } /// /// /// - public global::G.OrgsListAppInstallationsResponse? Type6192 { get; set; } + public global::G.SecretScanningListAlertsForRepoSort? Type6192 { get; set; } /// /// /// - public global::G.AnyOf? Type6193 { get; set; } + public global::G.SecretScanningListAlertsForRepoDirection? Type6193 { get; set; } /// /// /// - public global::G.InteractionsGetRestrictionsForOrgResponse2? Type6194 { get; set; } + public global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection? Type6194 { get; set; } /// /// /// - public global::G.CodespacesGetCodespacesForUserInOrgResponse? Type6195 { get; set; } + public global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort? Type6195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6196 { get; set; } + public global::G.SecurityAdvisoriesListRepositoryAdvisoriesState? Type6196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6197 { get; set; } + public global::G.ReposGetClonesPer? Type6197 { get; set; } /// /// /// - public global::G.OrgsListOrgRolesResponse? Type6198 { get; set; } + public global::G.ReposGetViewsPer? Type6198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6199 { get; set; } + public global::G.SearchCodeSort? Type6199 { get; set; } /// /// /// - public global::G.OrgsConvertMemberToOutsideCollaboratorResponse? Type6200 { get; set; } + public global::G.SearchCodeOrder? Type6200 { get; set; } /// /// /// - public global::G.OrgsRemoveOutsideCollaboratorResponse? Type6201 { get; set; } + public global::G.SearchCommitsSort? Type6201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6202 { get; set; } + public global::G.SearchCommitsOrder? Type6202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6203 { get; set; } + public global::G.SearchIssuesAndPullRequestsSort? Type6203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6204 { get; set; } + public global::G.SearchIssuesAndPullRequestsOrder? Type6204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6205 { get; set; } + public global::G.SearchLabelsSort? Type6205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6206 { get; set; } + public global::G.SearchLabelsOrder? Type6206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6207 { get; set; } + public global::G.SearchReposSort? Type6207 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForOrgResponse? Type6208 { get; set; } + public global::G.SearchReposOrder? Type6208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6209 { get; set; } + public global::G.SearchUsersSort? Type6209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6210 { get; set; } + public global::G.SearchUsersOrder? Type6210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6211 { get; set; } + public global::G.TeamsListDiscussionsLegacyDirection? Type6211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6212 { get; set; } + public global::G.TeamsListDiscussionCommentsLegacyDirection? Type6212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6213 { get; set; } + public global::G.ReactionsListForTeamDiscussionCommentLegacyContent? Type6213 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsInOrgResponse? Type6214 { get; set; } + public global::G.ReactionsListForTeamDiscussionLegacyContent? Type6214 { get; set; } /// /// /// - public global::G.ProjectsDeleteCardResponse? Type6215 { get; set; } + public global::G.TeamsListMembersLegacyRole? Type6215 { get; set; } /// /// /// - public global::G.ProjectsMoveCardResponse? Type6216 { get; set; } + public global::G.IssuesListForAuthenticatedUserFilter? Type6216 { get; set; } /// /// /// - public global::G.ProjectsMoveCardResponse2? Type6217 { get; set; } + public global::G.IssuesListForAuthenticatedUserState? Type6217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6218 { get; set; } + public global::G.IssuesListForAuthenticatedUserSort? Type6218 { get; set; } /// /// /// - public global::G.ProjectsMoveCardResponseError? Type6219 { get; set; } + public global::G.IssuesListForAuthenticatedUserDirection? Type6219 { get; set; } /// /// /// - public global::G.ProjectsMoveCardResponse3? Type6220 { get; set; } + public global::G.OrgsListMembershipsForAuthenticatedUserState? Type6220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6221 { get; set; } + public global::G.PackagesListPackagesForAuthenticatedUserPackageType? Type6221 { get; set; } /// /// /// - public global::G.ProjectsMoveCardResponseError2? Type6222 { get; set; } + public global::G.PackagesListPackagesForAuthenticatedUserVisibility? Type6222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6223 { get; set; } + public global::G.PackagesGetPackageForAuthenticatedUserPackageType? Type6223 { get; set; } /// /// /// - public global::G.ProjectsCreateCardResponse2? Type6224 { get; set; } + public global::G.PackagesDeletePackageForAuthenticatedUserPackageType? Type6224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6225 { get; set; } + public global::G.PackagesRestorePackageForAuthenticatedUserPackageType? Type6225 { get; set; } /// /// /// - public global::G.ProjectsCreateCardResponseError? Type6226 { get; set; } + public global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserPackageType? Type6226 { get; set; } /// /// /// - public global::G.ProjectsMoveColumnResponse? Type6227 { get; set; } + public global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? Type6227 { get; set; } /// /// /// - public global::G.ProjectsUpdateResponse? Type6228 { get; set; } + public global::G.PackagesGetPackageVersionForAuthenticatedUserPackageType? Type6228 { get; set; } /// /// /// - public global::G.ProjectsDeleteResponse? Type6229 { get; set; } + public global::G.PackagesDeletePackageVersionForAuthenticatedUserPackageType? Type6229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6230 { get; set; } + public global::G.PackagesRestorePackageVersionForAuthenticatedUserPackageType? Type6230 { get; set; } /// /// /// - public global::G.ReposDeleteResponse? Type6231 { get; set; } + public global::G.ReposListForAuthenticatedUserVisibility? Type6231 { get; set; } /// /// /// - public global::G.ActionsListArtifactsForRepoResponse? Type6232 { get; set; } + public global::G.ReposListForAuthenticatedUserType? Type6232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6233 { get; set; } + public global::G.ReposListForAuthenticatedUserSort? Type6233 { get; set; } /// /// /// - public global::G.ActionsListRepoOrganizationSecretsResponse? Type6234 { get; set; } + public global::G.ReposListForAuthenticatedUserDirection? Type6234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6235 { get; set; } + public global::G.ActivityListReposStarredByAuthenticatedUserSort? Type6235 { get; set; } /// /// /// - public global::G.ActionsListRepoOrganizationVariablesResponse? Type6236 { get; set; } + public global::G.ActivityListReposStarredByAuthenticatedUserDirection? Type6236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6237 { get; set; } + public global::G.UsersGetContextForUserSubjectType? Type6237 { get; set; } /// /// /// - public global::G.ActionsListSelfHostedRunnersForRepoResponse? Type6238 { get; set; } + public global::G.PackagesListPackagesForUserPackageType? Type6238 { get; set; } /// /// /// - public global::G.ActionsGenerateRunnerJitconfigForRepoResponse? Type6239 { get; set; } + public global::G.PackagesListPackagesForUserVisibility? Type6239 { get; set; } /// /// /// - public global::G.ActionsListLabelsForSelfHostedRunnerForRepoResponse? Type6240 { get; set; } + public global::G.PackagesGetPackageForUserPackageType? Type6240 { get; set; } /// /// /// - public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoResponse? Type6241 { get; set; } + public global::G.PackagesDeletePackageForUserPackageType? Type6241 { get; set; } /// /// /// - public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoResponse? Type6242 { get; set; } + public global::G.PackagesRestorePackageForUserPackageType? Type6242 { get; set; } /// /// /// - public global::G.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoResponse? Type6243 { get; set; } + public global::G.PackagesGetAllPackageVersionsForPackageOwnedByUserPackageType? Type6243 { get; set; } /// /// /// - public global::G.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoResponse? Type6244 { get; set; } + public global::G.PackagesGetPackageVersionForUserPackageType? Type6244 { get; set; } /// /// /// - public global::G.ActionsListWorkflowRunsForRepoResponse? Type6245 { get; set; } + public global::G.PackagesDeletePackageVersionForUserPackageType? Type6245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6246 { get; set; } + public global::G.PackagesRestorePackageVersionForUserPackageType? Type6246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6247 { get; set; } + public global::G.ProjectsListForUserState? Type6247 { get; set; } /// /// /// - public global::G.ActionsListWorkflowRunArtifactsResponse? Type6248 { get; set; } + public global::G.ReposListForUserType? Type6248 { get; set; } /// /// /// - public global::G.ActionsListJobsForWorkflowRunAttemptResponse? Type6249 { get; set; } + public global::G.ReposListForUserSort? Type6249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6250 { get; set; } + public global::G.ReposListForUserDirection? Type6250 { get; set; } /// /// /// - public global::G.ActionsListJobsForWorkflowRunResponse? Type6251 { get; set; } + public global::G.ActivityListReposStarredByUserSort? Type6251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6252 { get; set; } + public global::G.ActivityListReposStarredByUserDirection? Type6252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6253 { get; set; } + public global::System.Collections.Generic.IList? Type6253 { get; set; } /// /// /// - public global::G.ActionsListRepoSecretsResponse? Type6254 { get; set; } + public global::G.AllOf? Type6254 { get; set; } /// /// /// - public global::G.ActionsListRepoVariablesResponse? Type6255 { get; set; } + public global::G.AppsCreateFromManifestResponse2? Type6255 { get; set; } /// /// /// - public global::G.ActionsListRepoWorkflowsResponse? Type6256 { get; set; } + public global::System.Collections.Generic.IList? Type6256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6257 { get; set; } + public global::System.Collections.Generic.IList? Type6257 { get; set; } /// /// /// - public global::G.ActionsListWorkflowRunsResponse? Type6258 { get; set; } + public global::System.Collections.Generic.IList? Type6258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6259 { get; set; } + public global::System.Collections.Generic.IList? Type6259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6260 { get; set; } + public global::System.Collections.Generic.IList? Type6260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6261 { get; set; } + public global::System.Collections.Generic.IList? Type6261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6262 { get; set; } + public global::System.Collections.Generic.IList? Type6262 { get; set; } /// /// /// - public global::G.ChecksListForSuiteResponse? Type6263 { get; set; } + public global::System.Collections.Generic.IList? Type6263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6264 { get; set; } + public global::G.CopilotListCopilotSeatsForEnterpriseResponse? Type6264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6265 { get; set; } + public global::System.Collections.Generic.IList? Type6265 { get; set; } /// /// /// - public global::G.CodeScanningListAlertsForRepoResponse? Type6266 { get; set; } + public global::System.Collections.Generic.IList? Type6266 { get; set; } /// /// /// - public global::G.CodeScanningGetAlertResponse? Type6267 { get; set; } + public global::System.Collections.Generic.IList? Type6267 { get; set; } /// /// /// - public global::G.CodeScanningUpdateAlertResponse? Type6268 { get; set; } + public global::System.Collections.Generic.IList? Type6268 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6269 { get; set; } + public global::G.SecretScanningListAlertsForEnterpriseResponse? Type6269 { get; set; } /// /// /// - public global::G.CodeScanningListAlertInstancesResponse? Type6270 { get; set; } + public global::System.Collections.Generic.IList? Type6270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6271 { get; set; } + public global::G.ActivityListPublicEventsResponse? Type6271 { get; set; } /// /// /// - public global::G.CodeScanningListRecentAnalysesResponse? Type6272 { get; set; } + public global::System.Collections.Generic.IList? Type6272 { get; set; } /// /// /// - public global::G.CodeScanningGetAnalysisResponse2? Type6273 { get; set; } + public global::G.GistsGetResponse? Type6273 { get; set; } /// /// /// - public global::G.CodeScanningDeleteAnalysisResponse? Type6274 { get; set; } + public global::G.GistsGetResponseBlock? Type6274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6275 { get; set; } + public global::System.Collections.Generic.IList? Type6275 { get; set; } /// /// /// - public global::G.CodeScanningListCodeqlDatabasesResponse? Type6276 { get; set; } + public global::G.GistsGetCommentResponse? Type6276 { get; set; } /// /// /// - public global::G.CodeScanningGetCodeqlDatabaseResponse? Type6277 { get; set; } + public global::G.GistsGetCommentResponseBlock? Type6277 { get; set; } /// /// /// - public global::G.CodeScanningCreateVariantAnalysisResponse? Type6278 { get; set; } + public global::System.Collections.Generic.IList? Type6278 { get; set; } /// /// /// - public global::G.CodeScanningGetVariantAnalysisResponse? Type6279 { get; set; } + public global::System.Collections.Generic.IList? Type6279 { get; set; } /// /// /// - public global::G.CodeScanningGetVariantAnalysisRepoTaskResponse? Type6280 { get; set; } + public global::G.GistsCheckIsStarredResponse? Type6280 { get; set; } /// /// /// - public global::G.CodeScanningGetDefaultSetupResponse? Type6281 { get; set; } + public global::G.AppsListReposAccessibleToInstallationResponse? Type6281 { get; set; } /// /// /// - public global::G.CodeScanningUpdateDefaultSetupResponse? Type6282 { get; set; } + public global::System.Collections.Generic.IList? Type6282 { get; set; } /// /// /// - public global::G.CodeScanningUploadSarifResponse? Type6283 { get; set; } + public global::System.Collections.Generic.IList? Type6283 { get; set; } /// /// /// - public global::G.CodeScanningGetSarifResponse? Type6284 { get; set; } + public global::System.Collections.Generic.IList? Type6284 { get; set; } /// /// /// - public global::G.CodespacesListInRepositoryForAuthenticatedUserResponse? Type6285 { get; set; } + public global::System.Collections.Generic.IList? Type6285 { get; set; } /// /// /// - public global::G.CodespacesCreateWithRepoForAuthenticatedUserResponse? Type6286 { get; set; } + public global::System.Collections.Generic.IList? Type6286 { get; set; } /// /// /// - public global::G.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse? Type6287 { get; set; } + public global::G.ActivityMarkNotificationsAsReadResponse? Type6287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6288 { get; set; } + public global::System.Collections.Generic.IList? Type6288 { get; set; } /// /// /// - public global::G.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer? Type6289 { get; set; } + public global::G.OneOf? Type6289 { get; set; } /// /// /// - public global::G.CodespacesRepoMachinesForAuthenticatedUserResponse? Type6290 { get; set; } + public global::G.ActionsGetActionsCacheUsageByRepoForOrgResponse? Type6290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6291 { get; set; } + public global::System.Collections.Generic.IList? Type6291 { get; set; } /// /// /// - public global::G.CodespacesPreFlightWithRepoForAuthenticatedUserResponse? Type6292 { get; set; } + public global::G.ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse? Type6292 { get; set; } /// /// /// - public global::G.CodespacesPreFlightWithRepoForAuthenticatedUserResponseDefaults? Type6293 { get; set; } + public global::G.ActionsListSelfHostedRunnerGroupsForOrgResponse? Type6293 { get; set; } /// /// /// - public global::G.CodespacesCheckPermissionsForDevcontainerResponse? Type6294 { get; set; } + public global::System.Collections.Generic.IList? Type6294 { get; set; } /// /// /// - public global::G.CodespacesListRepoSecretsResponse? Type6295 { get; set; } + public global::G.ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse? Type6295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6296 { get; set; } + public global::System.Collections.Generic.IList? Type6296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6297 { get; set; } + public global::G.ActionsListSelfHostedRunnersInGroupForOrgResponse? Type6297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6298 { get; set; } + public global::System.Collections.Generic.IList? Type6298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6299 { get; set; } + public global::G.ActionsListSelfHostedRunnersForOrgResponse? Type6299 { get; set; } /// /// /// - public global::G.ReposGetCommitResponse? Type6300 { get; set; } + public global::System.Collections.Generic.IList? Type6300 { get; set; } /// /// /// - public global::G.ChecksListForRefResponse? Type6301 { get; set; } + public global::G.ActionsGenerateRunnerJitconfigForOrgResponse? Type6301 { get; set; } /// /// /// - public global::G.ChecksListSuitesForRefResponse? Type6302 { get; set; } + public global::G.ActionsListLabelsForSelfHostedRunnerForOrgResponse? Type6302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6303 { get; set; } + public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgResponse? Type6303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6304 { get; set; } + public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgResponse? Type6304 { get; set; } /// /// /// - public global::G.ReposCompareCommitsResponse? Type6305 { get; set; } + public global::G.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgResponse? Type6305 { get; set; } /// /// /// - public global::G.OneOf, global::G.ContentFile, global::G.ContentSymlink, global::G.ContentSubmodule>? Type6306 { get; set; } + public global::G.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgResponse? Type6306 { get; set; } /// /// /// - public global::G.ReposDeleteFileResponse? Type6307 { get; set; } + public global::G.ActionsListOrgSecretsResponse? Type6307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6308 { get; set; } + public global::System.Collections.Generic.IList? Type6308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6309 { get; set; } + public global::G.ActionsListSelectedReposForOrgSecretResponse? Type6309 { get; set; } /// /// /// - public global::G.DependabotListRepoSecretsResponse? Type6310 { get; set; } + public global::G.ActionsListOrgVariablesResponse? Type6310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6311 { get; set; } + public global::System.Collections.Generic.IList? Type6311 { get; set; } /// /// /// - public global::G.DependencyGraphCreateRepositorySnapshotResponse? Type6312 { get; set; } + public global::G.ActionsListSelectedReposForOrgVariableResponse? Type6312 { get; set; } /// /// /// - public global::G.ReposCreateDeploymentResponse? Type6313 { get; set; } + public global::G.OrgsListAttestationsResponse? Type6313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6314 { get; set; } + public global::System.Collections.Generic.IList? Type6314 { get; set; } /// /// /// - public global::G.ReposGetAllEnvironmentsResponse? Type6315 { get; set; } + public global::G.OrgsListAttestationsResponseAttestation? Type6315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6316 { get; set; } + public global::G.OrgsListAttestationsResponseAttestationBundle? Type6316 { get; set; } /// /// /// - public global::G.ReposListDeploymentBranchPoliciesResponse? Type6317 { get; set; } + public global::System.Collections.Generic.IList? Type6317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6318 { get; set; } + public global::G.CodeScanningListAlertsForOrgResponse? Type6318 { get; set; } /// /// /// - public global::G.ReposGetAllDeploymentProtectionRulesResponse? Type6319 { get; set; } + public global::System.Collections.Generic.IList? Type6319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6320 { get; set; } + public global::G.CodeSecuritySetConfigurationAsDefaultResponse? Type6320 { get; set; } /// /// /// - public global::G.ReposListCustomDeploymentRuleIntegrationsResponse? Type6321 { get; set; } + public global::G.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? Type6321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6322 { get; set; } + public global::System.Collections.Generic.IList? Type6322 { get; set; } /// /// /// - public global::G.ActionsListEnvironmentSecretsResponse? Type6323 { get; set; } + public global::G.CodespacesListInOrganizationResponse? Type6323 { get; set; } /// /// /// - public global::G.ActionsListEnvironmentVariablesResponse? Type6324 { get; set; } + public global::System.Collections.Generic.IList? Type6324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6325 { get; set; } + public global::G.CodespacesListOrgSecretsResponse? Type6325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6326 { get; set; } + public global::System.Collections.Generic.IList? Type6326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6327 { get; set; } + public global::G.CodespacesListSelectedReposForOrgSecretResponse? Type6327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6328 { get; set; } + public global::G.CopilotListCopilotSeatsResponse? Type6328 { get; set; } /// /// /// - public global::G.AnyOf? Type6329 { get; set; } + public global::G.CopilotAddCopilotSeatsForTeamsResponse? Type6329 { get; set; } /// /// /// - public global::G.InteractionsGetRestrictionsForRepoResponse2? Type6330 { get; set; } + public global::G.CopilotCancelCopilotSeatAssignmentForTeamsResponse? Type6330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6331 { get; set; } + public global::G.CopilotAddCopilotSeatsForUsersResponse? Type6331 { get; set; } /// /// /// - public global::G.IssuesCreateResponse? Type6332 { get; set; } + public global::G.CopilotCancelCopilotSeatAssignmentForUsersResponse? Type6332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6333 { get; set; } + public global::G.DependabotListOrgSecretsResponse? Type6333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6334 { get; set; } + public global::System.Collections.Generic.IList? Type6334 { get; set; } /// /// /// - public global::G.IssuesUpdateResponse? Type6335 { get; set; } + public global::G.DependabotListSelectedReposForOrgSecretResponse? Type6335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6336 { get; set; } + public global::System.Collections.Generic.IList? Type6336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6337 { get; set; } + public global::System.Collections.Generic.IList? Type6337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6338 { get; set; } + public global::System.Collections.Generic.IList? Type6338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6339 { get; set; } + public global::G.OrgsListAppInstallationsResponse? Type6339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6340 { get; set; } + public global::G.AnyOf? Type6340 { get; set; } /// /// /// - public global::G.ActivityMarkRepoNotificationsAsReadResponse? Type6341 { get; set; } + public global::G.InteractionsGetRestrictionsForOrgResponse2? Type6341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6342 { get; set; } + public global::G.CodespacesGetCodespacesForUserInOrgResponse? Type6342 { get; set; } /// /// /// - public global::G.ReposCheckPrivateVulnerabilityReportingResponse? Type6343 { get; set; } + public global::System.Collections.Generic.IList? Type6343 { get; set; } /// /// /// - public global::G.PullsGetResponse? Type6344 { get; set; } + public global::G.OrgsListOrgRolesResponse? Type6344 { get; set; } /// /// /// - public global::G.CodespacesCreateWithPrForAuthenticatedUserResponse? Type6345 { get; set; } + public global::System.Collections.Generic.IList? Type6345 { get; set; } /// /// /// - public global::G.PullsListFilesResponse? Type6346 { get; set; } + public global::System.Collections.Generic.IList? Type6346 { get; set; } /// /// /// - public global::G.PullsMergeResponse? Type6347 { get; set; } + public global::System.Collections.Generic.IList? Type6347 { get; set; } /// /// /// - public global::G.PullsMergeResponse2? Type6348 { get; set; } + public global::G.OrgsConvertMemberToOutsideCollaboratorResponse? Type6348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6349 { get; set; } + public global::G.OrgsRemoveOutsideCollaboratorResponse? Type6349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6350 { get; set; } + public global::System.Collections.Generic.IList? Type6350 { get; set; } /// /// /// - public global::G.PullsUpdateBranchResponse? Type6351 { get; set; } + public global::System.Collections.Generic.IList? Type6351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6352 { get; set; } + public global::System.Collections.Generic.IList? Type6352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6353 { get; set; } + public global::System.Collections.Generic.IList? Type6353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6354 { get; set; } + public global::System.Collections.Generic.IList? Type6354 { get; set; } /// /// /// - public global::G.SecretScanningListAlertsForRepoResponse? Type6355 { get; set; } + public global::System.Collections.Generic.IList? Type6355 { get; set; } /// /// /// - public global::G.SecretScanningGetAlertResponse? Type6356 { get; set; } + public global::G.SecretScanningListAlertsForOrgResponse? Type6356 { get; set; } /// /// /// - public global::G.SecretScanningUpdateAlertResponse? Type6357 { get; set; } + public global::System.Collections.Generic.IList? Type6357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6358 { get; set; } + public global::System.Collections.Generic.IList? Type6358 { get; set; } /// /// /// - public global::G.SecretScanningListLocationsForAlertResponse? Type6359 { get; set; } + public global::System.Collections.Generic.IList? Type6359 { get; set; } /// /// /// - public global::G.AnyOf, global::System.Collections.Generic.IList>? Type6360 { get; set; } + public global::System.Collections.Generic.IList? Type6360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6361 { get; set; } + public global::System.Collections.Generic.IList? Type6361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type6362 { get; set; } + public global::G.TeamsAddOrUpdateProjectPermissionsInOrgResponse? Type6362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6363 { get; set; } + public global::G.ProjectsDeleteCardResponse? Type6363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6364 { get; set; } + public global::G.ProjectsMoveCardResponse? Type6364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6365 { get; set; } + public global::G.ProjectsMoveCardResponse2? Type6365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6366 { get; set; } + public global::System.Collections.Generic.IList? Type6366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6367 { get; set; } + public global::G.ProjectsMoveCardResponseError? Type6367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6368 { get; set; } + public global::G.ProjectsMoveCardResponse3? Type6368 { get; set; } /// /// /// - public global::G.SearchCodeResponse? Type6369 { get; set; } + public global::System.Collections.Generic.IList? Type6369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6370 { get; set; } + public global::G.ProjectsMoveCardResponseError2? Type6370 { get; set; } /// /// /// - public global::G.SearchCodeResponse2? Type6371 { get; set; } + public global::System.Collections.Generic.IList? Type6371 { get; set; } /// /// /// - public global::G.SearchCommitsResponse? Type6372 { get; set; } + public global::G.ProjectsCreateCardResponse2? Type6372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6373 { get; set; } + public global::System.Collections.Generic.IList? Type6373 { get; set; } /// /// /// - public global::G.SearchIssuesAndPullRequestsResponse? Type6374 { get; set; } + public global::G.ProjectsCreateCardResponseError? Type6374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6375 { get; set; } + public global::G.ProjectsMoveColumnResponse? Type6375 { get; set; } /// /// /// - public global::G.SearchIssuesAndPullRequestsResponse2? Type6376 { get; set; } + public global::G.ProjectsUpdateResponse? Type6376 { get; set; } /// /// /// - public global::G.SearchLabelsResponse? Type6377 { get; set; } + public global::G.ProjectsDeleteResponse? Type6377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6378 { get; set; } + public global::System.Collections.Generic.IList? Type6378 { get; set; } /// /// /// - public global::G.SearchReposResponse? Type6379 { get; set; } + public global::G.ReposDeleteResponse? Type6379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6380 { get; set; } + public global::G.ActionsListArtifactsForRepoResponse? Type6380 { get; set; } /// /// /// - public global::G.SearchReposResponse2? Type6381 { get; set; } + public global::System.Collections.Generic.IList? Type6381 { get; set; } /// /// /// - public global::G.SearchTopicsResponse? Type6382 { get; set; } + public global::G.ActionsListRepoOrganizationSecretsResponse? Type6382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6383 { get; set; } + public global::System.Collections.Generic.IList? Type6383 { get; set; } /// /// /// - public global::G.SearchUsersResponse? Type6384 { get; set; } + public global::G.ActionsListRepoOrganizationVariablesResponse? Type6384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6385 { get; set; } + public global::System.Collections.Generic.IList? Type6385 { get; set; } /// /// /// - public global::G.SearchUsersResponse2? Type6386 { get; set; } + public global::G.ActionsListSelfHostedRunnersForRepoResponse? Type6386 { get; set; } /// /// /// - public global::G.TeamsAddOrUpdateProjectPermissionsLegacyResponse? Type6387 { get; set; } + public global::G.ActionsGenerateRunnerJitconfigForRepoResponse? Type6387 { get; set; } /// /// /// - public global::G.OneOf? Type6388 { get; set; } + public global::G.ActionsListLabelsForSelfHostedRunnerForRepoResponse? Type6388 { get; set; } /// /// /// - public global::G.CodespacesListForAuthenticatedUserResponse? Type6389 { get; set; } + public global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoResponse? Type6389 { get; set; } /// /// /// - public global::G.CodespacesCreateForAuthenticatedUserResponse? Type6390 { get; set; } + public global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoResponse? Type6390 { get; set; } /// /// /// - public global::G.CodespacesListSecretsForAuthenticatedUserResponse? Type6391 { get; set; } + public global::G.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoResponse? Type6391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6392 { get; set; } + public global::G.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoResponse? Type6392 { get; set; } /// /// /// - public global::G.CodespacesListRepositoriesForSecretForAuthenticatedUserResponse? Type6393 { get; set; } + public global::G.ActionsListWorkflowRunsForRepoResponse? Type6393 { get; set; } /// /// /// - public global::G.CodespacesCodespaceMachinesForAuthenticatedUserResponse? Type6394 { get; set; } + public global::System.Collections.Generic.IList? Type6394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6395 { get; set; } + public global::System.Collections.Generic.IList? Type6395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6396 { get; set; } + public global::G.ActionsListWorkflowRunArtifactsResponse? Type6396 { get; set; } /// /// /// - public global::G.AppsListInstallationsForAuthenticatedUserResponse? Type6397 { get; set; } + public global::G.ActionsListJobsForWorkflowRunAttemptResponse? Type6397 { get; set; } /// /// /// - public global::G.AppsListInstallationReposForAuthenticatedUserResponse? Type6398 { get; set; } + public global::System.Collections.Generic.IList? Type6398 { get; set; } /// /// /// - public global::G.AnyOf? Type6399 { get; set; } + public global::G.ActionsListJobsForWorkflowRunResponse? Type6399 { get; set; } /// /// /// - public global::G.InteractionsGetRestrictionsForAuthenticatedUserResponse2? Type6400 { get; set; } + public global::System.Collections.Generic.IList? Type6400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6401 { get; set; } + public global::System.Collections.Generic.IList? Type6401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6402 { get; set; } + public global::G.ActionsListRepoSecretsResponse? Type6402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6403 { get; set; } + public global::G.ActionsListRepoVariablesResponse? Type6403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6404 { get; set; } + public global::G.ActionsListRepoWorkflowsResponse? Type6404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6405 { get; set; } + public global::System.Collections.Generic.IList? Type6405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6406 { get; set; } + public global::G.ActionsListWorkflowRunsResponse? Type6406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6407 { get; set; } + public global::System.Collections.Generic.IList? Type6407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6408 { get; set; } + public global::G.ReposCreateAttestationResponse? Type6408 { get; set; } /// /// /// - public global::G.AnyOf, global::System.Collections.Generic.IList>? Type6409 { get; set; } + public global::G.ReposListAttestationsResponse? Type6409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6410 { get; set; } + public global::System.Collections.Generic.IList? Type6410 { get; set; } + /// + /// + /// + public global::G.ReposListAttestationsResponseAttestation? Type6411 { get; set; } + /// + /// + /// + public global::G.ReposListAttestationsResponseAttestationBundle? Type6412 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6413 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6414 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6415 { get; set; } + /// + /// + /// + public global::G.ChecksListForSuiteResponse? Type6416 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6417 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6418 { get; set; } + /// + /// + /// + public global::G.CodeScanningListAlertsForRepoResponse? Type6419 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetAlertResponse? Type6420 { get; set; } + /// + /// + /// + public global::G.CodeScanningUpdateAlertResponse? Type6421 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6422 { get; set; } + /// + /// + /// + public global::G.CodeScanningListAlertInstancesResponse? Type6423 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6424 { get; set; } + /// + /// + /// + public global::G.CodeScanningListRecentAnalysesResponse? Type6425 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetAnalysisResponse2? Type6426 { get; set; } + /// + /// + /// + public global::G.CodeScanningDeleteAnalysisResponse? Type6427 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6428 { get; set; } + /// + /// + /// + public global::G.CodeScanningListCodeqlDatabasesResponse? Type6429 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetCodeqlDatabaseResponse? Type6430 { get; set; } + /// + /// + /// + public global::G.CodeScanningCreateVariantAnalysisResponse? Type6431 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetVariantAnalysisResponse? Type6432 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetVariantAnalysisRepoTaskResponse? Type6433 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetDefaultSetupResponse? Type6434 { get; set; } + /// + /// + /// + public global::G.CodeScanningUpdateDefaultSetupResponse? Type6435 { get; set; } + /// + /// + /// + public global::G.CodeScanningUploadSarifResponse? Type6436 { get; set; } + /// + /// + /// + public global::G.CodeScanningGetSarifResponse? Type6437 { get; set; } + /// + /// + /// + public global::G.CodespacesListInRepositoryForAuthenticatedUserResponse? Type6438 { get; set; } + /// + /// + /// + public global::G.CodespacesCreateWithRepoForAuthenticatedUserResponse? Type6439 { get; set; } + /// + /// + /// + public global::G.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse? Type6440 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6441 { get; set; } + /// + /// + /// + public global::G.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer? Type6442 { get; set; } + /// + /// + /// + public global::G.CodespacesRepoMachinesForAuthenticatedUserResponse? Type6443 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6444 { get; set; } + /// + /// + /// + public global::G.CodespacesPreFlightWithRepoForAuthenticatedUserResponse? Type6445 { get; set; } + /// + /// + /// + public global::G.CodespacesPreFlightWithRepoForAuthenticatedUserResponseDefaults? Type6446 { get; set; } + /// + /// + /// + public global::G.CodespacesCheckPermissionsForDevcontainerResponse? Type6447 { get; set; } + /// + /// + /// + public global::G.CodespacesListRepoSecretsResponse? Type6448 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6449 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6450 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6451 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6452 { get; set; } + /// + /// + /// + public global::G.ReposGetCommitResponse? Type6453 { get; set; } + /// + /// + /// + public global::G.ChecksListForRefResponse? Type6454 { get; set; } + /// + /// + /// + public global::G.ChecksListSuitesForRefResponse? Type6455 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6456 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6457 { get; set; } + /// + /// + /// + public global::G.ReposCompareCommitsResponse? Type6458 { get; set; } + /// + /// + /// + public global::G.ReposGetContentResponse? Type6459 { get; set; } + /// + /// + /// + public global::G.ReposGetContentResponseDiscriminator? Type6460 { get; set; } + /// + /// + /// + public global::G.ReposGetContentResponseDiscriminatorType? Type6461 { get; set; } + /// + /// + /// + public global::G.OneOf? Type6462 { get; set; } + /// + /// + /// + public global::G.ReposDeleteFileResponse? Type6463 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6464 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6465 { get; set; } + /// + /// + /// + public global::G.DependabotListRepoSecretsResponse? Type6466 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6467 { get; set; } + /// + /// + /// + public global::G.DependencyGraphCreateRepositorySnapshotResponse? Type6468 { get; set; } + /// + /// + /// + public global::G.ReposCreateDeploymentResponse? Type6469 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6470 { get; set; } + /// + /// + /// + public global::G.ReposGetAllEnvironmentsResponse? Type6471 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6472 { get; set; } + /// + /// + /// + public global::G.ReposListDeploymentBranchPoliciesResponse? Type6473 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6474 { get; set; } + /// + /// + /// + public global::G.ReposGetAllDeploymentProtectionRulesResponse? Type6475 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6476 { get; set; } + /// + /// + /// + public global::G.ReposListCustomDeploymentRuleIntegrationsResponse? Type6477 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6478 { get; set; } + /// + /// + /// + public global::G.ActionsListEnvironmentSecretsResponse? Type6479 { get; set; } + /// + /// + /// + public global::G.ActionsListEnvironmentVariablesResponse? Type6480 { get; set; } + /// + /// + /// + public global::G.OneOf? Type6481 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6482 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6483 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6484 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6485 { get; set; } + /// + /// + /// + public global::G.AnyOf? Type6486 { get; set; } + /// + /// + /// + public global::G.InteractionsGetRestrictionsForRepoResponse2? Type6487 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6488 { get; set; } + /// + /// + /// + public global::G.IssuesCreateResponse? Type6489 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6490 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6491 { get; set; } + /// + /// + /// + public global::G.IssuesUpdateResponse? Type6492 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6493 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6494 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6495 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6496 { get; set; } + /// + /// + /// + public global::G.ActivityMarkRepoNotificationsAsReadResponse? Type6497 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6498 { get; set; } + /// + /// + /// + public global::G.ReposCheckPrivateVulnerabilityReportingResponse? Type6499 { get; set; } + /// + /// + /// + public global::G.PullsGetResponse? Type6500 { get; set; } + /// + /// + /// + public global::G.CodespacesCreateWithPrForAuthenticatedUserResponse? Type6501 { get; set; } + /// + /// + /// + public global::G.PullsListFilesResponse? Type6502 { get; set; } + /// + /// + /// + public global::G.PullsMergeResponse? Type6503 { get; set; } + /// + /// + /// + public global::G.PullsMergeResponse2? Type6504 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6505 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6506 { get; set; } + /// + /// + /// + public global::G.PullsUpdateBranchResponse? Type6507 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6508 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6509 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6510 { get; set; } + /// + /// + /// + public global::G.SecretScanningListAlertsForRepoResponse? Type6511 { get; set; } + /// + /// + /// + public global::G.SecretScanningGetAlertResponse? Type6512 { get; set; } + /// + /// + /// + public global::G.SecretScanningUpdateAlertResponse? Type6513 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6514 { get; set; } + /// + /// + /// + public global::G.SecretScanningListLocationsForAlertResponse? Type6515 { get; set; } + /// + /// + /// + public global::G.SecretScanningCreatePushProtectionBypassResponse? Type6516 { get; set; } + /// + /// + /// + public global::G.AnyOf, global::System.Collections.Generic.IList>? Type6517 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6518 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type6519 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6520 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6521 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6522 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6523 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6524 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6525 { get; set; } + /// + /// + /// + public global::G.SearchCodeResponse? Type6526 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6527 { get; set; } + /// + /// + /// + public global::G.SearchCodeResponse2? Type6528 { get; set; } + /// + /// + /// + public global::G.SearchCommitsResponse? Type6529 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6530 { get; set; } + /// + /// + /// + public global::G.SearchIssuesAndPullRequestsResponse? Type6531 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6532 { get; set; } + /// + /// + /// + public global::G.SearchIssuesAndPullRequestsResponse2? Type6533 { get; set; } + /// + /// + /// + public global::G.SearchLabelsResponse? Type6534 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6535 { get; set; } + /// + /// + /// + public global::G.SearchReposResponse? Type6536 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6537 { get; set; } + /// + /// + /// + public global::G.SearchReposResponse2? Type6538 { get; set; } + /// + /// + /// + public global::G.SearchTopicsResponse? Type6539 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6540 { get; set; } + /// + /// + /// + public global::G.SearchUsersResponse? Type6541 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6542 { get; set; } + /// + /// + /// + public global::G.SearchUsersResponse2? Type6543 { get; set; } + /// + /// + /// + public global::G.TeamsAddOrUpdateProjectPermissionsLegacyResponse? Type6544 { get; set; } + /// + /// + /// + public global::G.OneOf? Type6545 { get; set; } + /// + /// + /// + public global::G.CodespacesListForAuthenticatedUserResponse? Type6546 { get; set; } + /// + /// + /// + public global::G.CodespacesCreateForAuthenticatedUserResponse? Type6547 { get; set; } + /// + /// + /// + public global::G.CodespacesListSecretsForAuthenticatedUserResponse? Type6548 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6549 { get; set; } + /// + /// + /// + public global::G.CodespacesListRepositoriesForSecretForAuthenticatedUserResponse? Type6550 { get; set; } + /// + /// + /// + public global::G.CodespacesCodespaceMachinesForAuthenticatedUserResponse? Type6551 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6552 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6553 { get; set; } + /// + /// + /// + public global::G.AppsListInstallationsForAuthenticatedUserResponse? Type6554 { get; set; } + /// + /// + /// + public global::G.AppsListInstallationReposForAuthenticatedUserResponse? Type6555 { get; set; } + /// + /// + /// + public global::G.AnyOf? Type6556 { get; set; } + /// + /// + /// + public global::G.InteractionsGetRestrictionsForAuthenticatedUserResponse2? Type6557 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6558 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6559 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6560 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6561 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6562 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6563 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6564 { get; set; } + /// + /// + /// + public global::G.UsersListAttestationsResponse? Type6565 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6566 { get; set; } + /// + /// + /// + public global::G.UsersListAttestationsResponseAttestation? Type6567 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6568 { get; set; } + /// + /// + /// + public global::G.AnyOf, global::System.Collections.Generic.IList>? Type6569 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6570 { get; set; } } } \ No newline at end of file diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/ResolvedSchemas/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/ResolvedSchemas/_.verified.txt index 4273e8ba74..adc0bae855 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/ResolvedSchemas/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/ResolvedSchemas/_.verified.txt @@ -42,28 +42,35 @@ FirstPatchedVersion(string)[security-advisories], VulnerableFunctions(array)[security-advisories], VulnerableFunctionsItem(string)[security-advisories], - SimpleUser(class)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Name(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Email(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Login(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Id(int)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - NodeId(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - AvatarUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - GravatarId(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Url(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - HtmlUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - FollowersUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - FollowingUrl(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - GistsUrl(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - StarredUrl(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - SubscriptionsUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - OrganizationsUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - ReposUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - EventsUrl(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - ReceivedEventsUrl(Uri)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - Type(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - SiteAdmin(bool)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], - StarredAt(string)[security-advisories, apps, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, codespaces, copilot, packages, migrations, repos, teams, projects, checks, pulls, search, users], + CvssSeverities(class)[security-advisories, dependabot], + CvssSeveritiesCvssV3(class)[security-advisories, dependabot], + VectorString(string)[security-advisories, dependabot], + Score(double)[security-advisories, dependabot], + CvssSeveritiesCvssV4(class)[security-advisories, dependabot], + VectorString(string)[security-advisories, dependabot], + Score(double)[security-advisories, dependabot], + SimpleUser(class)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Name(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Email(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Login(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Id(long)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + NodeId(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + AvatarUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + GravatarId(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Url(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + HtmlUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + FollowersUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + FollowingUrl(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + GistsUrl(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + StarredUrl(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + SubscriptionsUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + OrganizationsUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + ReposUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + EventsUrl(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + ReceivedEventsUrl(Uri)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + Type(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + SiteAdmin(bool)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], + StarredAt(string)[security-advisories, apps, copilot, dependabot, secret-scanning, activity, gists, issues, actions, orgs, code-scanning, code-security, codespaces, packages, migrations, repos, teams, projects, checks, pulls, search, users], SecurityAdvisoryCreditTypes(enum)[security-advisories], GlobalAdvisory(class)[security-advisories], GhsaId(string)[security-advisories], @@ -92,19 +99,23 @@ GlobalAdvisoryCvss(class)[security-advisories], VectorString(string)[security-advisories], Score(double)[security-advisories], + CvssSeverities(ref)[security-advisories], Cwes(array)[security-advisories], GlobalAdvisoryCwe(class)[security-advisories], CweId(string)[security-advisories], Name(string)[security-advisories], + GlobalAdvisoryEpss(class)[security-advisories], + Percentage(double)[security-advisories], + Percentile(double)[security-advisories], Credits(array)[security-advisories], GlobalAdvisoryCredit(class)[security-advisories], SimpleUser(ref)[security-advisories], SecurityAdvisoryCreditTypes(ref)[security-advisories], - BasicError(class)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], - Message(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], - DocumentationUrl(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], - Url(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], - Status(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], + BasicError(class)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, code-security, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], + Message(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, code-security, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], + DocumentationUrl(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, code-security, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], + Url(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, code-security, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], + Status(string)[security-advisories, apps, classroom, codes-of-conduct, copilot, dependabot, secret-scanning, activity, gists, issues, licenses, orgs, oidc, actions, code-scanning, code-security, codespaces, packages, migrations, projects, repos, teams, rate-limit, checks, reactions, dependency-graph, git, pulls, search, users, meta], ValidationErrorSimple(class)[security-advisories, apps, dependabot, orgs, actions, projects, repos, pulls], Message(string)[security-advisories, apps, dependabot, orgs, actions, projects, repos, pulls], DocumentationUrl(string)[security-advisories, apps, dependabot, orgs, actions, projects, repos, pulls], @@ -114,7 +125,7 @@ Name(string)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], Email(string)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], Login(string)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], - Id(int)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], + Id(long)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], NodeId(string)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], AvatarUrl(Uri)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], GravatarId(string)[apps, dependabot, secret-scanning, activity, gists, issues, code-scanning, packages, orgs, migrations, projects, repos, teams, reactions, actions, checks, pulls, security-advisories, search, codespaces], @@ -136,6 +147,7 @@ Id(int)[apps, repos, issues], Slug(string)[apps, repos, issues], NodeId(string)[apps, repos, issues], + ClientId(string)[apps, repos, issues], NullableSimpleUser(ref)[apps, repos, issues], Name(string)[apps, repos, issues], Description(string)[apps, repos, issues], @@ -153,7 +165,6 @@ Events(array)[apps, repos, issues], EventsItem(string)[apps, repos, issues], InstallationsCount(int)[apps, repos, issues], - ClientId(string)[apps, repos, issues], ClientSecret(string)[apps, repos, issues], WebhookSecret(string)[apps, repos, issues], Pem(string)[apps, repos, issues], @@ -180,14 +191,15 @@ Action(string)[apps, orgs, repos], InstallationId(int)[apps, orgs, repos], RepositoryId(int)[apps, orgs, repos], - ScimError(class)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - Message(string)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - DocumentationUrl(string)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - Detail(string)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - Status(int)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - ScimType(string)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - Schemas(array)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], - SchemasItem(string)[apps, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + ThrottledAt(DateTime)[apps, orgs, repos], + ScimError(class)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + Message(string)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + DocumentationUrl(string)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + Detail(string)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + Status(int)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + ScimType(string)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + Schemas(array)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], + SchemasItem(string)[apps, code-security, dependabot, orgs, security-advisories, actions, code-scanning, codespaces, repos, issues], ValidationError(class)[apps, gists, issues, activity, orgs, codespaces, interactions, migrations, repos, teams, projects, reactions, git, pulls, security-advisories, search, users], Message(string)[apps, gists, issues, activity, orgs, codespaces, interactions, migrations, repos, teams, projects, reactions, git, pulls, security-advisories, search, users], DocumentationUrl(string)[apps, gists, issues, activity, orgs, codespaces, interactions, migrations, repos, teams, projects, reactions, git, pulls, security-advisories, search, users], @@ -215,6 +227,7 @@ Action(string)[apps, orgs, repos], InstallationId(int)[apps, orgs, repos], RepositoryId(int)[apps, orgs, repos], + ThrottledAt(DateTime)[apps, orgs, repos], Url(string)[apps, orgs, repos], HookDeliveryRequest(class)[apps, orgs, repos], HookDeliveryRequestHeaders(class)[apps, orgs, repos], @@ -323,7 +336,7 @@ NodeId(string)[apps, activity, issues, actions, migrations, repos, teams, licenses, pulls, security-advisories, search, codespaces], HtmlUrl(Uri)[apps, activity, issues, actions, migrations, repos, teams, licenses, pulls, security-advisories, search, codespaces], Repository(class)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], - Id(int)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], + Id(long)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], NodeId(string)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], Name(string)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], FullName(string)[apps, activity, issues, actions, migrations, repos, pulls, security-advisories, search, codespaces], @@ -445,7 +458,7 @@ RepositoriesUrl(Uri)[apps], SimpleUser(ref)[apps], Authorization(class)[apps], - Id(int)[apps], + Id(long)[apps], Url(Uri)[apps], Scopes(array)[apps], ScopesItem(string)[apps], @@ -561,6 +574,76 @@ Url(Uri)[codes-of-conduct, activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, search], Body(string)[codes-of-conduct, activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, search], HtmlUrl(Uri)[codes-of-conduct, activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, search], + NullableOrganizationSimple(class)[copilot], + Login(string)[copilot], + Id(int)[copilot], + NodeId(string)[copilot], + Url(Uri)[copilot], + ReposUrl(Uri)[copilot], + EventsUrl(Uri)[copilot], + HooksUrl(string)[copilot], + IssuesUrl(string)[copilot], + MembersUrl(string)[copilot], + PublicMembersUrl(string)[copilot], + AvatarUrl(string)[copilot], + Description(string)[copilot], + NullableTeamSimple(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Id(int)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + NodeId(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Url(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + MembersUrl(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Name(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Description(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Permission(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Privacy(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + NotificationSetting(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + HtmlUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + RepositoriesUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Slug(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + LdapDn(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Team(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Id(int)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + NodeId(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Name(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Slug(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Description(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Privacy(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + NotificationSetting(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Permission(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + TeamPermissions(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Pull(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Triage(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Push(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Maintain(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Admin(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + Url(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + HtmlUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + MembersUrl(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + RepositoriesUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + NullableTeamSimple(ref)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], + EnterpriseTeam(class)[copilot], + Id(long)[copilot], + Name(string)[copilot], + Slug(string)[copilot], + Url(Uri)[copilot], + SyncToOrganizations(string)[copilot], + GroupId(int)[copilot], + HtmlUrl(Uri)[copilot], + MembersUrl(string)[copilot], + CreatedAt(DateTime)[copilot], + UpdatedAt(DateTime)[copilot], + CopilotSeatDetails(class)[copilot], + SimpleUser(ref)[copilot], + NullableOrganizationSimple(ref)[copilot], + AssigningTeam(oneOf)[copilot], + Team(ref)[copilot], + EnterpriseTeam(ref)[copilot], + PendingCancellationDate(DateTime)[copilot], + LastActivityAt(DateTime)[copilot], + LastActivityEditor(string)[copilot], + CreatedAt(DateTime)[copilot], + UpdatedAt(DateTime)[copilot], + CopilotSeatDetailsPlanType(enum)[copilot], CopilotUsageMetrics(class)[copilot], Day(DateTime)[copilot], TotalSuggestionsCount(int)[copilot], @@ -601,6 +684,7 @@ DependabotAlertSecurityAdvisoryCvss(class)[dependabot], Score(double)[dependabot], VectorString(string)[dependabot], + CvssSeverities(ref)[dependabot], Cwes(array)[dependabot], DependabotAlertSecurityAdvisoryCwe(class)[dependabot], CweId(string)[dependabot], @@ -622,53 +706,53 @@ AlertDismissedAt(DateTime)[dependabot, code-scanning], AlertFixedAt(DateTime)[dependabot, code-scanning], AlertAutoDismissedAt(DateTime)[dependabot], - SimpleRepository(class)[dependabot, secret-scanning, code-scanning, security-advisories], - Id(int)[dependabot, secret-scanning, code-scanning, security-advisories], - NodeId(string)[dependabot, secret-scanning, code-scanning, security-advisories], - Name(string)[dependabot, secret-scanning, code-scanning, security-advisories], - FullName(string)[dependabot, secret-scanning, code-scanning, security-advisories], - SimpleUser(ref)[dependabot, secret-scanning, code-scanning, security-advisories], - Private(bool)[dependabot, secret-scanning, code-scanning, security-advisories], - HtmlUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - Description(string)[dependabot, secret-scanning, code-scanning, security-advisories], - Fork(bool)[dependabot, secret-scanning, code-scanning, security-advisories], - Url(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - ArchiveUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - AssigneesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - BlobsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - BranchesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - CollaboratorsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - CommentsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - CommitsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - CompareUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - ContentsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - ContributorsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - DeploymentsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - DownloadsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - EventsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - ForksUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - GitCommitsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - GitRefsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - GitTagsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - IssueCommentUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - IssueEventsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - IssuesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - KeysUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - LabelsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - LanguagesUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - MergesUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - MilestonesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - NotificationsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - PullsUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - ReleasesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - StargazersUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - StatusesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - SubscribersUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - SubscriptionUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - TagsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - TeamsUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], - TreesUrl(string)[dependabot, secret-scanning, code-scanning, security-advisories], - HooksUrl(Uri)[dependabot, secret-scanning, code-scanning, security-advisories], + SimpleRepository(class)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Id(long)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + NodeId(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Name(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + FullName(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + SimpleUser(ref)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Private(bool)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + HtmlUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Description(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Fork(bool)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + Url(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + ArchiveUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + AssigneesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + BlobsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + BranchesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + CollaboratorsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + CommentsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + CommitsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + CompareUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + ContentsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + ContributorsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + DeploymentsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + DownloadsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + EventsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + ForksUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + GitCommitsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + GitRefsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + GitTagsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + IssueCommentUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + IssueEventsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + IssuesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + KeysUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + LabelsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + LanguagesUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + MergesUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + MilestonesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + NotificationsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + PullsUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + ReleasesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + StargazersUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + StatusesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + SubscribersUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + SubscriptionUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + TagsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + TeamsUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + TreesUrl(string)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], + HooksUrl(Uri)[dependabot, secret-scanning, code-scanning, code-security, security-advisories], DependabotAlertWithRepository(class)[dependabot], AlertNumber(ref)[dependabot], DependabotAlertWithRepositoryState(enum)[dependabot], @@ -740,6 +824,7 @@ Id(int)[activity, issues, actions, checks, repos, search], Slug(string)[activity, issues, actions, checks, repos, search], NodeId(string)[activity, issues, actions, checks, repos, search], + ClientId(string)[activity, issues, actions, checks, repos, search], NullableSimpleUser(ref)[activity, issues, actions, checks, repos, search], Name(string)[activity, issues, actions, checks, repos, search], Description(string)[activity, issues, actions, checks, repos, search], @@ -757,7 +842,6 @@ Events(array)[activity, issues, actions, checks, repos, search], EventsItem(string)[activity, issues, actions, checks, repos, search], InstallationsCount(int)[activity, issues, actions, checks, repos, search], - ClientId(string)[activity, issues, actions, checks, repos, search], ClientSecret(string)[activity, issues, actions, checks, repos, search], WebhookSecret(string)[activity, issues, actions, checks, repos, search], Pem(string)[activity, issues, actions, checks, repos, search], @@ -920,7 +1004,7 @@ BaseGistHistoryItem(class)[gists], PublicUser(class)[gists, users], Login(string)[gists, users], - Id(int)[gists, users], + Id(long)[gists, users], NodeId(string)[gists, users], AvatarUrl(Uri)[gists, users], GravatarId(string)[gists, users], @@ -1148,8 +1232,12 @@ ActionsItem(string)[meta], ActionsMacos(array)[meta], ActionsMacosItem(string)[meta], + Codespaces(array)[meta], + CodespacesItem(string)[meta], Dependabot(array)[meta], DependabotItem(string)[meta], + Copilot(array)[meta], + CopilotItem(string)[meta], ApiOverviewDomains(class)[meta], Website(array)[meta], WebsiteItem(string)[meta], @@ -1161,6 +1249,10 @@ PackagesItem(string)[meta], Actions(array)[meta], ActionsItem(string)[meta], + ApiOverviewDomainsArtifactAttestations(class)[meta], + TrustDomain(string)[meta], + Services(array)[meta], + ServicesItem(string)[meta], SecurityAndAnalysis(class)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], SecurityAndAnalysisAdvancedSecurity(class)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], SecurityAndAnalysisAdvancedSecurityStatus(enum)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], @@ -1170,8 +1262,12 @@ SecurityAndAnalysisSecretScanningStatus(enum)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], SecurityAndAnalysisSecretScanningPushProtection(class)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], SecurityAndAnalysisSecretScanningPushProtectionStatus(enum)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], + SecurityAndAnalysisSecretScanningNonProviderPatterns(class)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus(enum)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], + SecurityAndAnalysisSecretScanningAiDetection(class)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], + SecurityAndAnalysisSecretScanningAiDetectionStatus(enum)[activity, actions, codespaces, dependabot, packages, migrations, orgs, repos, teams, checks, security-advisories, search], MinimalRepository(class)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], - Id(int)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], + Id(long)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], NodeId(string)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], Name(string)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], FullName(string)[activity, actions, codespaces, dependabot, migrations, orgs, repos, teams, checks, search], @@ -1336,7 +1432,6 @@ OwnedPrivateRepos(int)[orgs], PrivateGists(int)[orgs], DiskUsage(int)[orgs], - Collaborators(int)[orgs], BillingEmail(string)[orgs], OrganizationFullPlan(class)[orgs], Name(string)[orgs], @@ -1377,7 +1472,7 @@ OidcCustomSub(class)[oidc], IncludeClaimKeys(array)[oidc], IncludeClaimKeysItem(string)[oidc], - EmptyObject(class)[oidc, actions, codespaces, dependabot, checks, code-scanning, repos], + EmptyObject(class)[oidc, actions, codespaces, dependabot, repos, checks, code-scanning, pulls, users], EnabledRepositories(enum)[actions], AllowedActions(enum)[actions], SelectedActionsUrl(string)[actions], @@ -1399,6 +1494,21 @@ ActionsSetDefaultWorkflowPermissions(class)[actions], ActionsDefaultWorkflowPermissions(ref)[actions], ActionsCanApprovePullRequestReviews(ref)[actions], + RunnerGroupsOrg(class)[actions], + Id(double)[actions], + Name(string)[actions], + Visibility(string)[actions], + Default(bool)[actions], + SelectedRepositoriesUrl(string)[actions], + RunnersUrl(string)[actions], + HostedRunnersUrl(string)[actions], + Inherited(bool)[actions], + InheritedAllowsPublicRepositories(bool)[actions], + AllowsPublicRepositories(bool)[actions], + WorkflowRestrictionsReadOnly(bool)[actions], + RestrictedToWorkflows(bool)[actions], + SelectedWorkflows(array)[actions], + SelectedWorkflowsItem(string)[actions], RunnerLabel(class)[actions], Id(int)[actions], Name(string)[actions], @@ -1458,11 +1568,14 @@ CodeScanningAlertRuleSummary(class)[code-scanning], Id(string)[code-scanning], Name(string)[code-scanning], - Tags(array)[code-scanning], - TagsItem(string)[code-scanning], CodeScanningAlertRuleSummarySeverity(enum)[code-scanning], CodeScanningAlertRuleSummarySecuritySeverityLevel(enum)[code-scanning], Description(string)[code-scanning], + FullDescription(string)[code-scanning], + Tags(array)[code-scanning], + TagsItem(string)[code-scanning], + Help(string)[code-scanning], + HelpUri(string)[code-scanning], CodeScanningAnalysisToolVersion(string)[code-scanning], CodeScanningAnalysisTool(class)[code-scanning], CodeScanningAnalysisToolName(ref)[code-scanning], @@ -1509,6 +1622,36 @@ CodeScanningAnalysisTool(ref)[code-scanning], CodeScanningAlertInstance(ref)[code-scanning], SimpleRepository(ref)[code-scanning], + CodeSecurityConfiguration(class)[code-security], + Id(int)[code-security], + Name(string)[code-security], + CodeSecurityConfigurationTargetType(enum)[code-security], + Description(string)[code-security], + CodeSecurityConfigurationAdvancedSecurity(enum)[code-security], + CodeSecurityConfigurationDependencyGraph(enum)[code-security], + CodeSecurityConfigurationDependencyGraphAutosubmitAction(enum)[code-security], + CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions(class)[code-security], + LabeledRunners(bool)[code-security], + CodeSecurityConfigurationDependabotAlerts(enum)[code-security], + CodeSecurityConfigurationDependabotSecurityUpdates(enum)[code-security], + CodeSecurityConfigurationCodeScanningDefaultSetup(enum)[code-security], + CodeSecurityConfigurationSecretScanning(enum)[code-security], + CodeSecurityConfigurationSecretScanningPushProtection(enum)[code-security], + CodeSecurityConfigurationSecretScanningValidityChecks(enum)[code-security], + CodeSecurityConfigurationSecretScanningNonProviderPatterns(enum)[code-security], + CodeSecurityConfigurationPrivateVulnerabilityReporting(enum)[code-security], + CodeSecurityConfigurationEnforcement(enum)[code-security], + Url(Uri)[code-security], + HtmlUrl(Uri)[code-security], + CreatedAt(DateTime)[code-security], + UpdatedAt(DateTime)[code-security], + CodeSecurityDefaultConfigurations(array)[code-security], + CodeSecurityDefaultConfiguration(class)[code-security], + CodeSecurityDefaultConfigurationDefaultForNewRepos(enum)[code-security], + CodeSecurityConfiguration(ref)[code-security], + CodeSecurityConfigurationRepositories(class)[code-security], + CodeSecurityConfigurationRepositoriesStatus(enum)[code-security], + SimpleRepository(ref)[code-security], NullableCodespaceMachine(class)[codespaces], Name(string)[codespaces], DisplayName(string)[codespaces], @@ -1518,7 +1661,7 @@ Cpus(int)[codespaces], NullableCodespaceMachinePrebuildAvailability(enum)[codespaces], Codespace(class)[codespaces], - Id(int)[codespaces], + Id(long)[codespaces], Name(string)[codespaces], DisplayName(string)[codespaces], EnvironmentId(string)[codespaces], @@ -1585,87 +1728,7 @@ CopilotOrganizationDetailsPlatformChat(enum)[copilot], CopilotOrganizationDetailsCli(enum)[copilot], CopilotOrganizationDetailsSeatManagementSetting(enum)[copilot], - NullableTeamSimple(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Id(int)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - NodeId(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Url(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - MembersUrl(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Name(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Description(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Permission(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Privacy(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - NotificationSetting(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - HtmlUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - RepositoriesUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Slug(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - LdapDn(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Team(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Id(int)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - NodeId(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Name(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Slug(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Description(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Privacy(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - NotificationSetting(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Permission(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - TeamPermissions(class)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Pull(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Triage(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Push(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Maintain(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Admin(bool)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Url(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - HtmlUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - MembersUrl(string)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - RepositoriesUrl(Uri)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - NullableTeamSimple(ref)[copilot, orgs, security-advisories, teams, actions, repos, issues, pulls], - Organization(class)[copilot], - Login(string)[copilot], - Url(Uri)[copilot], - Id(int)[copilot], - NodeId(string)[copilot], - ReposUrl(Uri)[copilot], - EventsUrl(Uri)[copilot], - HooksUrl(string)[copilot], - IssuesUrl(string)[copilot], - MembersUrl(string)[copilot], - PublicMembersUrl(string)[copilot], - AvatarUrl(string)[copilot], - Description(string)[copilot], - Blog(Uri)[copilot], - HtmlUrl(Uri)[copilot], - Name(string)[copilot], - Company(string)[copilot], - Location(string)[copilot], - Email(string)[copilot], - HasOrganizationProjects(bool)[copilot], - HasRepositoryProjects(bool)[copilot], - IsVerified(bool)[copilot], - PublicRepos(int)[copilot], - PublicGists(int)[copilot], - Followers(int)[copilot], - Following(int)[copilot], - Type(string)[copilot], - CreatedAt(DateTime)[copilot], - UpdatedAt(DateTime)[copilot], - OrganizationPlan(class)[copilot], - Name(string)[copilot], - Space(int)[copilot], - PrivateRepos(int)[copilot], - FilledSeats(int)[copilot], - Seats(int)[copilot], - CopilotSeatDetails(class)[copilot], - CopilotSeatDetailsAssignee(class)[copilot], - SimpleUser(ref)[copilot], - Team(ref)[copilot], - Organization(ref)[copilot], - AssigningTeam_AllOf1Wrapped(oneOf)[copilot], - Team(ref)[copilot], - PendingCancellationDate(DateTime)[copilot], - LastActivityAt(DateTime)[copilot], - LastActivityEditor(string)[copilot], - CreatedAt(DateTime)[copilot], - UpdatedAt(DateTime)[copilot], + CopilotOrganizationDetailsPlanType(enum)[copilot], OrganizationDependabotSecret(class)[dependabot], Name(string)[dependabot], CreatedAt(DateTime)[dependabot], @@ -1676,7 +1739,7 @@ KeyId(string)[dependabot], Key(string)[dependabot], NullableMinimalRepository(class)[packages], - Id(int)[packages], + Id(long)[packages], NodeId(string)[packages], Name(string)[packages], FullName(string)[packages], @@ -1787,7 +1850,7 @@ CreatedAt(DateTime)[packages], UpdatedAt(DateTime)[packages], OrganizationInvitation(class)[orgs, teams], - Id(int)[orgs, teams], + Id(long)[orgs, teams], Login(string)[orgs, teams], Email(string)[orgs, teams], Role(string)[orgs, teams], @@ -1835,7 +1898,7 @@ OrgMembershipPermissions(class)[orgs], CanCreateRepository(bool)[orgs], Migration(class)[migrations], - Id(int)[migrations], + Id(long)[migrations], NullableSimpleUser(ref)[migrations], Guid(string)[migrations], State(string)[migrations], @@ -1855,11 +1918,8 @@ ArchiveUrl(Uri)[migrations], Exclude(array)[migrations], ExcludeItem(string)[migrations], - OrganizationFineGrainedPermission(class)[orgs], - Name(string)[orgs], - Description(string)[orgs], OrganizationRole(class)[orgs], - Id(int)[orgs], + Id(long)[orgs], Name(string)[orgs], Description(string)[orgs], Permissions(array)[orgs], @@ -1867,6 +1927,62 @@ NullableSimpleUser(ref)[orgs], CreatedAt(DateTime)[orgs], UpdatedAt(DateTime)[orgs], + TeamRoleAssignment(class)[orgs], + Id(int)[orgs], + NodeId(string)[orgs], + Name(string)[orgs], + Slug(string)[orgs], + Description(string)[orgs], + Privacy(string)[orgs], + NotificationSetting(string)[orgs], + Permission(string)[orgs], + TeamRoleAssignmentPermissions(class)[orgs], + Pull(bool)[orgs], + Triage(bool)[orgs], + Push(bool)[orgs], + Maintain(bool)[orgs], + Admin(bool)[orgs], + Url(Uri)[orgs], + HtmlUrl(Uri)[orgs], + MembersUrl(string)[orgs], + RepositoriesUrl(Uri)[orgs], + NullableTeamSimple(ref)[orgs], + TeamSimple(class)[orgs, pulls], + Id(int)[orgs, pulls], + NodeId(string)[orgs, pulls], + Url(Uri)[orgs, pulls], + MembersUrl(string)[orgs, pulls], + Name(string)[orgs, pulls], + Description(string)[orgs, pulls], + Permission(string)[orgs, pulls], + Privacy(string)[orgs, pulls], + NotificationSetting(string)[orgs, pulls], + HtmlUrl(Uri)[orgs, pulls], + RepositoriesUrl(Uri)[orgs, pulls], + Slug(string)[orgs, pulls], + LdapDn(string)[orgs, pulls], + UserRoleAssignment(class)[orgs], + Name(string)[orgs], + Email(string)[orgs], + Login(string)[orgs], + Id(int)[orgs], + NodeId(string)[orgs], + AvatarUrl(Uri)[orgs], + GravatarId(string)[orgs], + Url(Uri)[orgs], + HtmlUrl(Uri)[orgs], + FollowersUrl(Uri)[orgs], + FollowingUrl(string)[orgs], + GistsUrl(string)[orgs], + StarredUrl(string)[orgs], + SubscriptionsUrl(Uri)[orgs], + OrganizationsUrl(Uri)[orgs], + ReposUrl(Uri)[orgs], + EventsUrl(string)[orgs], + ReceivedEventsUrl(Uri)[orgs], + Type(string)[orgs], + SiteAdmin(bool)[orgs], + StarredAt(string)[orgs], PackageVersion(class)[packages], Id(int)[packages], Name(string)[packages], @@ -1935,9 +2051,10 @@ UpdatedAt(DateTime)[projects], ProjectOrganizationPermission(enum)[projects], Private(bool)[projects], - OrgCustomProperty(class)[orgs], + CustomProperty(class)[orgs], PropertyName(string)[orgs], - OrgCustomPropertyValueType(enum)[orgs], + Url(Uri)[orgs], + CustomPropertyValueType(enum)[orgs], Required(bool)[orgs], DefaultValue(oneOf)[orgs], DefaultValueVariant1(string)[orgs], @@ -1946,7 +2063,7 @@ Description(string)[orgs], AllowedValues(array)[orgs], AllowedValuesItem(string)[orgs], - OrgCustomPropertyValuesEditableBy(enum)[orgs], + CustomPropertyValuesEditableBy(enum)[orgs], CustomPropertyValue(class)[orgs, repos], PropertyName(string)[orgs, repos], Value2(oneOf)[orgs, repos], @@ -1960,7 +2077,7 @@ Properties(array)[orgs], CustomPropertyValue(ref)[orgs], NullableRepository(class)[repos, security-advisories, codespaces], - Id(int)[repos, security-advisories, codespaces], + Id(long)[repos, security-advisories, codespaces], NodeId(string)[repos, security-advisories, codespaces], Name(string)[repos, security-advisories, codespaces], FullName(string)[repos, security-advisories, codespaces], @@ -2067,7 +2184,7 @@ Name(string)[repos, security-advisories, codespaces], HtmlUrl(Uri)[repos, security-advisories, codespaces], FullRepository(class)[repos, security-advisories, codespaces], - Id(int)[repos, security-advisories, codespaces], + Id(long)[repos, security-advisories, codespaces], NodeId(string)[repos, security-advisories, codespaces], Name(string)[repos, security-advisories, codespaces], FullName(string)[repos, security-advisories, codespaces], @@ -2202,6 +2319,7 @@ Name(string)[repos], PropertyValues(array)[repos], PropertyValuesItem(string)[repos], + RepositoryRulesetConditionsRepositoryPropertySpecSource(enum)[repos], RepositoryRulesetConditionsRepositoryPropertyTarget(class)[repos], RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty(class)[repos], Include(array)[repos], @@ -2228,6 +2346,16 @@ RepositoryRuleDeletionType(enum)[repos], RepositoryRuleRequiredLinearHistory(class)[repos], RepositoryRuleRequiredLinearHistoryType(enum)[repos], + RepositoryRuleMergeQueue(class)[repos], + RepositoryRuleMergeQueueType(enum)[repos], + RepositoryRuleMergeQueueParameters(class)[repos], + CheckResponseTimeoutMinutes(int)[repos], + RepositoryRuleMergeQueueParametersGroupingStrategy(enum)[repos], + MaxEntriesToBuild(int)[repos], + MaxEntriesToMerge(int)[repos], + RepositoryRuleMergeQueueParametersMergeMethod(enum)[repos], + MinEntriesToMerge(int)[repos], + MinEntriesToMergeWaitMinutes(int)[repos], RepositoryRuleRequiredDeployments(class)[repos], RepositoryRuleRequiredDeploymentsType(enum)[repos], RepositoryRuleRequiredDeploymentsParameters(class)[repos], @@ -2249,6 +2377,7 @@ RepositoryRuleRequiredStatusChecks(class)[repos], RepositoryRuleRequiredStatusChecksType(enum)[repos], RepositoryRuleRequiredStatusChecksParameters(class)[repos], + DoNotEnforceOnCreate(bool)[repos], RequiredStatusChecks(array)[repos], RepositoryRuleParamsStatusCheckConfiguration(ref)[repos], StrictRequiredStatusChecksPolicy(bool)[repos], @@ -2300,6 +2429,7 @@ RepositoryRuleWorkflows(class)[repos], RepositoryRuleWorkflowsType(enum)[repos], RepositoryRuleWorkflowsParameters(class)[repos], + DoNotEnforceOnCreate(bool)[repos], Workflows(array)[repos], RepositoryRuleParamsWorkflowFileReference(ref)[repos], RepositoryRuleParamsCodeScanningTool(class)[repos], @@ -2316,6 +2446,7 @@ RepositoryRuleUpdate(ref)[repos], RepositoryRuleDeletion(ref)[repos], RepositoryRuleRequiredLinearHistory(ref)[repos], + RepositoryRuleMergeQueue(ref)[repos], RepositoryRuleRequiredDeployments(ref)[repos], RepositoryRuleRequiredSignatures(ref)[repos], RepositoryRulePullRequest(ref)[repos], @@ -2326,23 +2457,23 @@ RepositoryRuleCommitterEmailPattern(ref)[repos], RepositoryRuleBranchNamePattern(ref)[repos], RepositoryRuleTagNamePattern(ref)[repos], - RepositoryRuleVariant15(class)[repos], - RepositoryRuleVariant15Type(enum)[repos], - RepositoryRuleVariant15Parameters(class)[repos], - RestrictedFilePaths(array)[repos], - RestrictedFilePathsItem(string)[repos], RepositoryRuleVariant16(class)[repos], RepositoryRuleVariant16Type(enum)[repos], RepositoryRuleVariant16Parameters(class)[repos], - MaxFilePathLength(int)[repos], + RestrictedFilePaths(array)[repos], + RestrictedFilePathsItem(string)[repos], RepositoryRuleVariant17(class)[repos], RepositoryRuleVariant17Type(enum)[repos], RepositoryRuleVariant17Parameters(class)[repos], - RestrictedFileExtensions(array)[repos], - RestrictedFileExtensionsItem(string)[repos], + MaxFilePathLength(int)[repos], RepositoryRuleVariant18(class)[repos], RepositoryRuleVariant18Type(enum)[repos], RepositoryRuleVariant18Parameters(class)[repos], + RestrictedFileExtensions(array)[repos], + RestrictedFileExtensionsItem(string)[repos], + RepositoryRuleVariant19(class)[repos], + RepositoryRuleVariant19Type(enum)[repos], + RepositoryRuleVariant19Parameters(class)[repos], MaxFileSize(int)[repos], RepositoryRuleWorkflows(ref)[repos], RepositoryRuleCodeScanning(ref)[repos], @@ -2447,6 +2578,7 @@ RepositoryAdvisoryCvss(class)[security-advisories], VectorString(string)[security-advisories], Score(double)[security-advisories], + CvssSeverities(ref)[security-advisories], Cwes(array)[security-advisories], RepositoryAdvisoryCwe(class)[security-advisories], CweId(string)[security-advisories], @@ -2465,20 +2597,6 @@ Team(ref)[security-advisories], PrivateFork_AllOf1Wrapped(allOf)[security-advisories], SimpleRepository(ref)[security-advisories], - TeamSimple(class)[orgs, pulls], - Id(int)[orgs, pulls], - NodeId(string)[orgs, pulls], - Url(Uri)[orgs, pulls], - MembersUrl(string)[orgs, pulls], - Name(string)[orgs, pulls], - Description(string)[orgs, pulls], - Permission(string)[orgs, pulls], - Privacy(string)[orgs, pulls], - NotificationSetting(string)[orgs, pulls], - HtmlUrl(Uri)[orgs, pulls], - RepositoriesUrl(Uri)[orgs, pulls], - Slug(string)[orgs, pulls], - LdapDn(string)[orgs, pulls], ActionsBillingUsage(class)[billing], TotalMinutesUsed(int)[billing], TotalPaidMinutesUsed(int)[billing], @@ -2743,7 +2861,7 @@ MasterBranch(string)[teams], ProjectCard(class)[projects], Url(Uri)[projects], - Id(int)[projects], + Id(long)[projects], NodeId(string)[projects], Note(string)[projects], NullableSimpleUser(ref)[projects], @@ -2870,21 +2988,21 @@ Sha(string)[actions], Ref(string)[actions], PullRequestMinimal(class)[actions, checks], - Id(int)[actions, checks], + Id(long)[actions, checks], Number(int)[actions, checks], Url(string)[actions, checks], PullRequestMinimalHead(class)[actions, checks], Ref(string)[actions, checks], Sha(string)[actions, checks], PullRequestMinimalHeadRepo(class)[actions, checks], - Id(int)[actions, checks], + Id(long)[actions, checks], Url(string)[actions, checks], Name(string)[actions, checks], PullRequestMinimalBase(class)[actions, checks], Ref(string)[actions, checks], Sha(string)[actions, checks], PullRequestMinimalBaseRepo(class)[actions, checks], - Id(int)[actions, checks], + Id(long)[actions, checks], Url(string)[actions, checks], Name(string)[actions, checks], NullableSimpleCommit(class)[actions], @@ -2960,7 +3078,7 @@ DeploymentReviewerType(enum)[repos, actions], PendingDeployment(class)[actions], PendingDeploymentEnvironment(class)[actions], - Id(int)[actions], + Id(long)[actions], NodeId(string)[actions], Name(string)[actions], Url(string)[actions], @@ -2976,7 +3094,7 @@ Team(ref)[actions], Deployment(class)[actions, repos], Url(Uri)[actions, repos], - Id(int)[actions, repos], + Id(long)[actions, repos], NodeId(string)[actions, repos], Sha(string)[actions, repos], Ref(string)[actions, repos], @@ -3101,7 +3219,7 @@ Users(array)[repos], BranchRestrictionPolicyUser(class)[repos], Login(string)[repos], - Id(int)[repos], + Id(long)[repos], NodeId(string)[repos], AvatarUrl(string)[repos], GravatarId(string)[repos], @@ -3163,6 +3281,7 @@ Type(string)[repos], SiteAdmin(bool)[repos], Name(string)[repos], + ClientId(string)[repos], Description(string)[repos], ExternalUrl(string)[repos], HtmlUrl(string)[repos], @@ -3246,8 +3365,12 @@ Sha(string)[repos, pulls], Url(Uri)[repos, pulls], Verification(ref)[repos, pulls], - NullableSimpleUser(ref)[repos, pulls], - NullableSimpleUser(ref)[repos, pulls], + Author(oneOf)[repos, pulls], + SimpleUser(ref)[repos, pulls], + EmptyObject(ref)[repos, pulls], + Committer(oneOf)[repos, pulls], + SimpleUser(ref)[repos, pulls], + EmptyObject(ref)[repos, pulls], Parents(array)[repos, pulls], CommitParent(class)[repos, pulls], Sha(string)[repos, pulls], @@ -3343,7 +3466,7 @@ ProductionEnvironment(bool)[checks], NullableIntegration(ref)[checks], CheckRun(class)[checks], - Id(int)[checks], + Id(long)[checks], HeadSha(string)[checks], NodeId(string)[checks], ExternalId(string)[checks], @@ -3570,6 +3693,9 @@ AnalysesUrl(Uri)[code-scanning], Errors(array)[code-scanning], ErrorsItem(string)[code-scanning], + CodeSecurityConfigurationForRepository(class)[code-security], + CodeSecurityConfigurationForRepositoryStatus(enum)[code-security], + CodeSecurityConfiguration(ref)[code-security], CodeownersErrors(class)[repos], Errors(array)[repos], CodeownersErrorsError(class)[repos], @@ -3596,7 +3722,7 @@ UpdatedAt(DateTime)[codespaces], Collaborator(class)[repos], Login(string)[repos], - Id(int)[repos], + Id(long)[repos], Email(string)[repos], Name(string)[repos], NodeId(string)[repos], @@ -3623,7 +3749,7 @@ Admin(bool)[repos], RoleName(string)[repos], RepositoryInvitation(class)[repos], - Id(int)[repos], + Id(long)[repos], MinimalRepository(ref)[repos], NullableSimpleUser(ref)[repos], NullableSimpleUser(ref)[repos], @@ -3635,7 +3761,7 @@ NodeId(string)[repos], NullableCollaborator(class)[repos], Login(string)[repos], - Id(int)[repos], + Id(long)[repos], Email(string)[repos], Name(string)[repos], NodeId(string)[repos], @@ -3695,7 +3821,7 @@ CommitMessage(string)[repos, pulls], PullRequestSimple(class)[repos, pulls], Url(Uri)[repos, pulls], - Id(int)[repos, pulls], + Id(long)[repos, pulls], NodeId(string)[repos, pulls], HtmlUrl(Uri)[repos, pulls], DiffUrl(Uri)[repos, pulls], @@ -3836,6 +3962,7 @@ Name(string)[repos], Path(string)[repos], Sha(string)[repos], + Content(string)[repos], Url(Uri)[repos], GitUrl(Uri)[repos], HtmlUrl(Uri)[repos], @@ -3846,7 +3973,6 @@ Size(int)[repos], Name(string)[repos], Path(string)[repos], - Content(string)[repos], Sha(string)[repos], Url(Uri)[repos], GitUrl(Uri)[repos], @@ -3966,6 +4092,17 @@ Reason(string)[repos], Signature(string)[repos], Payload(string)[repos], + SecretScanningPushProtectionBypassPlaceholderId(string)[secret-scanning, repos, git], + RepositoryRuleViolationError(class)[repos, git], + Message(string)[repos, git], + DocumentationUrl(string)[repos, git], + Status(string)[repos, git], + RepositoryRuleViolationErrorMetadata(class)[repos, git], + RepositoryRuleViolationErrorMetadataSecretScanning(class)[repos, git], + BypassPlaceholders(array)[repos, git], + RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder(class)[repos, git], + SecretScanningPushProtectionBypassPlaceholderId(ref)[repos, git], + TokenType(string)[repos, git], Contributor(class)[repos], Login(string)[repos], Id(int)[repos], @@ -4051,6 +4188,7 @@ LicenseConcluded(string)[dependency-graph], LicenseDeclared(string)[dependency-graph], Supplier(string)[dependency-graph], + CopyrightText(string)[dependency-graph], ExternalRefs(array)[dependency-graph], DependencyGraphSpdxSbomSbomPackageExternalRef(class)[dependency-graph], ReferenceCategory(string)[dependency-graph], @@ -4093,7 +4231,7 @@ Scanned(DateTime)[dependency-graph], DeploymentStatus(class)[repos], Url(Uri)[repos], - Id(int)[repos], + Id(long)[repos], NodeId(string)[repos], DeploymentStatusState(enum)[repos], NullableSimpleUser(ref)[repos], @@ -4112,7 +4250,7 @@ ProtectedBranches(bool)[repos], CustomBranchPolicies(bool)[repos], Environment(class)[repos], - Id(int)[repos], + Id(long)[repos], NodeId(string)[repos], Name(string)[repos], Url(string)[repos], @@ -4695,8 +4833,8 @@ AuthorAssociation(ref)[issues], PullRequestReviewComment(class)[issues, pulls], Url(string)[issues, pulls], - PullRequestReviewId(int)[issues, pulls], - Id(int)[issues, pulls], + PullRequestReviewId(long)[issues, pulls], + Id(long)[issues, pulls], NodeId(string)[issues, pulls], DiffHunk(string)[issues, pulls], Path(string)[issues, pulls], @@ -4951,7 +5089,7 @@ CaaError(string)[repos], PullRequest(class)[pulls], Url(Uri)[pulls], - Id(int)[pulls], + Id(long)[pulls], NodeId(string)[pulls], HtmlUrl(Uri)[pulls], DiffUrl(Uri)[pulls], @@ -5118,7 +5256,7 @@ GistsUrl(string)[pulls], GravatarId(string)[pulls], HtmlUrl(Uri)[pulls], - Id(int)[pulls], + Id(long)[pulls], NodeId(string)[pulls], Login(string)[pulls], OrganizationsUrl(Uri)[pulls], @@ -5251,7 +5389,7 @@ GistsUrl(string)[pulls], GravatarId(string)[pulls], HtmlUrl(Uri)[pulls], - Id(int)[pulls], + Id(long)[pulls], NodeId(string)[pulls], Login(string)[pulls], OrganizationsUrl(Uri)[pulls], @@ -5296,7 +5434,7 @@ Teams(array)[pulls], Team(ref)[pulls], PullRequestReview(class)[pulls], - Id(int)[pulls], + Id(long)[pulls], NodeId(string)[pulls], NullableSimpleUser(ref)[pulls], Body(string)[pulls], @@ -5315,8 +5453,8 @@ AuthorAssociation(ref)[pulls], ReviewComment(class)[pulls], Url(Uri)[pulls], - PullRequestReviewId(int)[pulls], - Id(int)[pulls], + PullRequestReviewId(long)[pulls], + Id(long)[pulls], NodeId(string)[pulls], DiffHunk(string)[pulls], Path(string)[pulls], @@ -5405,39 +5543,42 @@ RepositoryRuleRequiredLinearHistory(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant5(allOf)[repos], - RepositoryRuleRequiredDeployments(ref)[repos], + RepositoryRuleMergeQueue(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant6(allOf)[repos], - RepositoryRuleRequiredSignatures(ref)[repos], + RepositoryRuleRequiredDeployments(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant7(allOf)[repos], - RepositoryRulePullRequest(ref)[repos], + RepositoryRuleRequiredSignatures(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant8(allOf)[repos], - RepositoryRuleRequiredStatusChecks(ref)[repos], + RepositoryRulePullRequest(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant9(allOf)[repos], - RepositoryRuleNonFastForward(ref)[repos], + RepositoryRuleRequiredStatusChecks(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant10(allOf)[repos], - RepositoryRuleCommitMessagePattern(ref)[repos], + RepositoryRuleNonFastForward(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant11(allOf)[repos], - RepositoryRuleCommitAuthorEmailPattern(ref)[repos], + RepositoryRuleCommitMessagePattern(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant12(allOf)[repos], - RepositoryRuleCommitterEmailPattern(ref)[repos], + RepositoryRuleCommitAuthorEmailPattern(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant13(allOf)[repos], - RepositoryRuleBranchNamePattern(ref)[repos], + RepositoryRuleCommitterEmailPattern(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant14(allOf)[repos], - RepositoryRuleTagNamePattern(ref)[repos], + RepositoryRuleBranchNamePattern(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant15(allOf)[repos], - RepositoryRuleWorkflows(ref)[repos], + RepositoryRuleTagNamePattern(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], RepositoryRuleDetailedVariant16(allOf)[repos], + RepositoryRuleWorkflows(ref)[repos], + RepositoryRuleRulesetInfo(ref)[repos], + RepositoryRuleDetailedVariant17(allOf)[repos], RepositoryRuleCodeScanning(ref)[repos], RepositoryRuleRulesetInfo(ref)[repos], SecretScanningAlert(class)[secret-scanning], @@ -5518,6 +5659,11 @@ SecretScanningLocationPullRequestComment(ref)[secret-scanning], SecretScanningLocationPullRequestReview(ref)[secret-scanning], SecretScanningLocationPullRequestReviewComment(ref)[secret-scanning], + SecretScanningPushProtectionBypassReason(enum)[secret-scanning], + SecretScanningPushProtectionBypass(class)[secret-scanning], + SecretScanningPushProtectionBypassReason(ref)[secret-scanning], + ExpireAt(DateTime)[secret-scanning], + TokenType(string)[secret-scanning], RepositoryAdvisoryCreate(class)[security-advisories], Summary(string)[security-advisories], Description(string)[security-advisories], @@ -5896,7 +6042,7 @@ RelationType(string)[search], UserSearchResultItem(class)[search], Login(string)[search], - Id(int)[search], + Id(long)[search], NodeId(string)[search], AvatarUrl(Uri)[search], GravatarId(string)[search], @@ -5931,7 +6077,7 @@ SuspendedAt(DateTime)[search], PrivateUser(class)[users], Login(string)[users], - Id(int)[users], + Id(long)[users], NodeId(string)[users], AvatarUrl(Uri)[users], GravatarId(string)[users], @@ -5995,7 +6141,7 @@ ExportUrl(string)[codespaces], HtmlUrl(string)[codespaces], CodespaceWithFullRepository(class)[codespaces], - Id(int)[codespaces], + Id(long)[codespaces], Name(string)[codespaces], DisplayName(string)[codespaces], EnvironmentId(string)[codespaces], @@ -6040,7 +6186,7 @@ Verified(bool)[users], Visibility(string)[users], GpgKey(class)[users], - Id(int)[users], + Id(long)[users], Name(string)[users], PrimaryKeyId(int)[users], KeyId(string)[users], @@ -6051,7 +6197,7 @@ Verified(bool)[users], Subkeys(array)[users], GpgKeySubkey(class)[users], - Id(int)[users], + Id(long)[users], PrimaryKeyId(int)[users], KeyId(string)[users], PublicKey(string)[users], @@ -6079,7 +6225,7 @@ RawKey(string)[users], Key(class)[users], Key1(string)[users], - Id(int)[users], + Id(long)[users], Url(string)[users], Title(string)[users], CreatedAt(DateTime)[users], @@ -6113,6 +6259,34 @@ StarredRepository(class)[activity], StarredAt(DateTime)[activity], Repository(ref)[activity], + SigstoreBundle0(class)[users], + MediaType(string)[users], + SigstoreBundle0VerificationMaterial(class)[users], + SigstoreBundle0VerificationMaterialX509CertificateChain(class)[users], + Certificates(array)[users], + SigstoreBundle0VerificationMaterialX509CertificateChainCertificate(class)[users], + RawBytes(string)[users], + TlogEntries(array)[users], + SigstoreBundle0VerificationMaterialTlogEntrie(class)[users], + LogIndex(string)[users], + SigstoreBundle0VerificationMaterialTlogEntrieLogId(class)[users], + KeyId(string)[users], + SigstoreBundle0VerificationMaterialTlogEntrieKindVersion(class)[users], + Kind(string)[users], + Version(string)[users], + IntegratedTime(string)[users], + SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise(class)[users], + SignedEntryTimestamp(string)[users], + InclusionProof(string)[users], + CanonicalizedBody(string)[users], + TimestampVerificationData(string)[users], + SigstoreBundle0DsseEnvelope(class)[users], + Payload(string)[users], + PayloadType(string)[users], + Signatures(array)[users], + SigstoreBundle0DsseEnvelopeSignature(class)[users], + Sig(string)[users], + Keyid(string)[users], Hovercard(class)[users], Contexts(array)[users], HovercardContext(class)[users], @@ -6149,7 +6323,7 @@ AvatarUrl(string)[], Description(string)[], RepositoryWebhooks(class)[], - Id(int)[], + Id(long)[], NodeId(string)[], Name(string)[], FullName(string)[], @@ -6366,28 +6540,6 @@ MasterBranch(string)[], StarredAt(string)[], AnonymousAccessEnabled(bool)[], - SimpleUserWebhooks(class)[], - Name(string)[], - Email(string)[], - Login(string)[], - Id(int)[], - NodeId(string)[], - AvatarUrl(Uri)[], - GravatarId(string)[], - Url(Uri)[], - HtmlUrl(Uri)[], - FollowersUrl(Uri)[], - FollowingUrl(string)[], - GistsUrl(string)[], - StarredUrl(string)[], - SubscriptionsUrl(Uri)[], - OrganizationsUrl(Uri)[], - ReposUrl(Uri)[], - EventsUrl(string)[], - ReceivedEventsUrl(Uri)[], - Type(string)[], - SiteAdmin(bool)[], - StarredAt(string)[], WebhooksRule(class)[], AdminEnforced(bool)[], WebhooksRuleAllowDeletionsEnforcementLevel(enum)[], @@ -6402,6 +6554,8 @@ Id(int)[], IgnoreApprovalsFromContributors(bool)[], WebhooksRuleLinearHistoryRequirementEnforcementLevel(enum)[], + WebhooksRuleLockBranchEnforcementLevel(enum)[], + LockAllowsForkSync(bool)[], WebhooksRuleMergeQueueEnforcementLevel(enum)[], Name(string)[], WebhooksRulePullRequestReviewsEnforcementLevel(enum)[], @@ -6545,7 +6699,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -6590,7 +6744,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -6675,7 +6829,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -6687,6 +6841,8 @@ SubscriptionsUrl(Uri)[], DiscussionUserType(enum)[], Url(Uri)[], + Labels(array)[], + Label(ref)[], WebhooksComment(class)[], WebhooksCommentAuthorAssociation(enum)[], Body(string)[], @@ -6720,7 +6876,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -6787,7 +6943,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -7014,7 +7170,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -7276,7 +7432,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -7390,7 +7546,7 @@ BaseRef(string)[], SimpleCommit(ref)[], NullableRepositoryWebhooks(class)[], - Id(int)[], + Id(long)[], NodeId(string)[], Name(string)[], FullName(string)[], @@ -7660,7 +7816,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -7819,6 +7975,27 @@ CreatedAt(DateTime)[], UpdatedAt(DateTime)[], ArchivedAt(DateTime)[], + ProjectsV2SingleSelectOption(class)[], + Id(string)[], + Name(string)[], + Color(string)[], + Description(string)[], + ProjectsV2IterationSetting(class)[], + Id(string)[], + Title(string)[], + Duration(double)[], + StartDate(string)[], + ProjectsV2StatusUpdate(class)[], + Id(double)[], + NodeId(string)[], + ProjectNodeId(string)[], + SimpleUser(ref)[], + CreatedAt(DateTime)[], + UpdatedAt(DateTime)[], + ProjectsV2StatusUpdateStatus(enum)[], + StartDate(DateTime)[], + TargetDate(DateTime)[], + Body(string)[], WebhooksNumber(int)[], PullRequestWebhook(allOf)[], PullRequest(ref)[], @@ -7973,7 +8150,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -8070,7 +8247,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -8143,7 +8320,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -8240,7 +8417,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -8428,7 +8605,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -8493,7 +8670,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -8530,7 +8707,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -8769,6 +8946,7 @@ NullableSimpleUser(ref)[], ResolutionComment(string)[], SecretType(string)[], + SecretTypeDisplayName(string)[], SecretScanningAlertWebhookValidity(enum)[], PushProtectionBypassed(bool)[], NullableSimpleUser(ref)[], @@ -8777,6 +8955,7 @@ WebhooksSecurityAdvisoryCvss(class)[], Score(double)[], VectorString(string)[], + CvssSeverities(ref)[], Cwes(array)[], WebhooksSecurityAdvisoryCwe(class)[], CweId(string)[], @@ -8927,14 +9106,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookBranchProtectionConfigurationEnabled(class)[], WebhookBranchProtectionConfigurationEnabledAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookBranchProtectionRuleCreated(class)[], WebhookBranchProtectionRuleCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -8942,7 +9121,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksRule(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookBranchProtectionRuleDeleted(class)[], WebhookBranchProtectionRuleDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -8950,7 +9129,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksRule(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookBranchProtectionRuleEdited(class)[], WebhookBranchProtectionRuleEditedAction(enum)[], WebhookBranchProtectionRuleEditedChanges(class)[], @@ -8965,6 +9144,14 @@ From(bool)[], WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel(class)[], WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom(enum)[], + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel(class)[], + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom(enum)[], + WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync(class)[], + From(bool)[], + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel(class)[], + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom(enum)[], + WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval(class)[], + From(bool)[], WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks(class)[], From(array)[], FromItem(string)[], @@ -8975,14 +9162,14 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksRule(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckRunCompleted(class)[], WebhookCheckRunCompletedAction(enum)[], CheckRunWithSimpleCheckSuite(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckRunCompletedFormEncoded(class)[], Payload(string)[], WebhookCheckRunCreated(class)[], @@ -8991,7 +9178,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckRunCreatedFormEncoded(class)[], Payload(string)[], WebhookCheckRunRequestedAction(class)[], @@ -9002,7 +9189,7 @@ RepositoryWebhooks(ref)[], WebhookCheckRunRequestedActionRequestedAction(class)[], Identifier(string)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckRunRequestedActionFormEncoded(class)[], Payload(string)[], WebhookCheckRunRerequested(class)[], @@ -9011,7 +9198,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckRunRerequestedFormEncoded(class)[], Payload(string)[], WebhookCheckSuiteCompleted(class)[], @@ -9026,6 +9213,7 @@ ExternalUrl(Uri)[], HtmlUrl(Uri)[], Id(int)[], + ClientId(string)[], Name(string)[], NodeId(string)[], WebhookCheckSuiteCompletedCheckSuiteAppOwner(class)[], @@ -9140,7 +9328,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckSuiteRequested(class)[], WebhookCheckSuiteRequestedAction(enum)[], WebhookCheckSuiteRequestedCheckSuite(class)[], @@ -9153,6 +9341,7 @@ ExternalUrl(Uri)[], HtmlUrl(Uri)[], Id(int)[], + ClientId(string)[], Name(string)[], NodeId(string)[], WebhookCheckSuiteRequestedCheckSuiteAppOwner(class)[], @@ -9267,7 +9456,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCheckSuiteRerequested(class)[], WebhookCheckSuiteRerequestedAction(enum)[], WebhookCheckSuiteRerequestedCheckSuite(class)[], @@ -9280,6 +9469,7 @@ ExternalUrl(Uri)[], HtmlUrl(Uri)[], Id(int)[], + ClientId(string)[], Name(string)[], NodeId(string)[], WebhookCheckSuiteRerequestedCheckSuiteAppOwner(class)[], @@ -9394,7 +9584,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertAppearedInBranch(class)[], WebhookCodeScanningAlertAppearedInBranchAction(enum)[], WebhookCodeScanningAlertAppearedInBranchAlert(class)[], @@ -9457,7 +9647,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksCodeScanningRef(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertClosedByUser(class)[], WebhookCodeScanningAlertClosedByUserAction(enum)[], WebhookCodeScanningAlertClosedByUserAlert(class)[], @@ -9527,7 +9717,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksCodeScanningRef(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertCreated(class)[], WebhookCodeScanningAlertCreatedAction(enum)[], WebhookCodeScanningAlertCreatedAlert(class)[], @@ -9580,7 +9770,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksCodeScanningRef(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertFixed(class)[], WebhookCodeScanningAlertFixedAction(enum)[], WebhookCodeScanningAlertFixedAlert(class)[], @@ -9651,7 +9841,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksCodeScanningRef(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertReopened(class)[], WebhookCodeScanningAlertReopenedAction(enum)[], WebhookCodeScanningAlertReopenedAlert(class)[], @@ -9700,7 +9890,7 @@ OrganizationSimpleWebhooks(ref)[], Ref(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCodeScanningAlertReopenedByUser(class)[], WebhookCodeScanningAlertReopenedByUserAction(enum)[], WebhookCodeScanningAlertReopenedByUserAlert(class)[], @@ -9742,7 +9932,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksCodeScanningRef(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCommitCommentCreated(class)[], WebhookCommitCommentCreatedAction(enum)[], WebhookCommitCommentCreatedComment(class)[], @@ -9779,7 +9969,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -9795,7 +9985,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCreate(class)[], Description(string)[], EnterpriseWebhooks(ref)[], @@ -9806,14 +9996,14 @@ WebhooksRef0(ref)[], WebhookCreateRefType(enum)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCustomPropertyCreated(class)[], WebhookCustomPropertyCreatedAction(enum)[], - OrgCustomProperty(ref)[], + CustomProperty(ref)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCustomPropertyDeleted(class)[], WebhookCustomPropertyDeletedAction(enum)[], WebhookCustomPropertyDeletedDefinition(class)[], @@ -9821,21 +10011,21 @@ EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCustomPropertyUpdated(class)[], WebhookCustomPropertyUpdatedAction(enum)[], - OrgCustomProperty(ref)[], + CustomProperty(ref)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookCustomPropertyValuesUpdated(class)[], WebhookCustomPropertyValuesUpdatedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], RepositoryWebhooks(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], NewPropertyValues(array)[], CustomPropertyValue(ref)[], OldPropertyValues(array)[], @@ -9848,7 +10038,7 @@ WebhooksRef0(ref)[], WebhookDeleteRefType(enum)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertAutoDismissed(class)[], WebhookDependabotAlertAutoDismissedAction(enum)[], DependabotAlert(ref)[], @@ -9856,7 +10046,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertAutoReopened(class)[], WebhookDependabotAlertAutoReopenedAction(enum)[], DependabotAlert(ref)[], @@ -9864,7 +10054,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertCreated(class)[], WebhookDependabotAlertCreatedAction(enum)[], DependabotAlert(ref)[], @@ -9872,7 +10062,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertDismissed(class)[], WebhookDependabotAlertDismissedAction(enum)[], DependabotAlert(ref)[], @@ -9880,7 +10070,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertFixed(class)[], WebhookDependabotAlertFixedAction(enum)[], DependabotAlert(ref)[], @@ -9888,7 +10078,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertReintroduced(class)[], WebhookDependabotAlertReintroducedAction(enum)[], DependabotAlert(ref)[], @@ -9896,7 +10086,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDependabotAlertReopened(class)[], WebhookDependabotAlertReopenedAction(enum)[], DependabotAlert(ref)[], @@ -9904,7 +10094,7 @@ OrganizationSimpleWebhooks(ref)[], EnterpriseWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDeployKeyCreated(class)[], WebhookDeployKeyCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -9912,7 +10102,7 @@ WebhooksDeployKey(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDeployKeyDeleted(class)[], WebhookDeployKeyDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -9920,7 +10110,7 @@ WebhooksDeployKey(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDeploymentCreated(class)[], WebhookDeploymentCreatedAction(enum)[], WebhookDeploymentCreatedDeployment(class)[], @@ -10038,7 +10228,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksWorkflow(ref)[], WebhookDeploymentCreatedWorkflowRun(class)[], WebhookDeploymentCreatedWorkflowRunActor(class)[], @@ -10279,7 +10469,7 @@ RepositoryWebhooks(ref)[], OrganizationSimpleWebhooks(ref)[], SimpleInstallation(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDeploymentReviewApproved(class)[], WebhookDeploymentReviewApprovedAction(enum)[], WebhooksApprover(ref)[], @@ -10289,7 +10479,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksReviewers(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Since(string)[], WebhooksWorkflowJobRun(ref)[], WorkflowJobRuns(array)[], @@ -10539,7 +10729,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksReviewers(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Since(string)[], WebhooksWorkflowJobRun(ref)[], WorkflowJobRuns(array)[], @@ -10813,7 +11003,7 @@ WebhookDeploymentReviewRequestedReviewerReviewerType(enum)[], Url(Uri)[], WebhookDeploymentReviewRequestedReviewerType(enum)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Since(string)[], WebhookDeploymentReviewRequestedWorkflowJobRun(class)[], WebhookDeploymentReviewRequestedWorkflowJobRunConclusion(class)[], @@ -11288,7 +11478,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksWorkflow(ref)[], WebhookDeploymentStatusCreatedWorkflowRun(class)[], WebhookDeploymentStatusCreatedWorkflowRunActor(class)[], @@ -11526,7 +11716,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionCategoryChanged(class)[], WebhookDiscussionCategoryChangedAction(enum)[], WebhookDiscussionCategoryChangedChanges(class)[], @@ -11547,7 +11737,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionClosed(class)[], WebhookDiscussionClosedAction(enum)[], Discussion(ref)[], @@ -11555,7 +11745,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionCommentCreated(class)[], WebhookDiscussionCommentCreatedAction(enum)[], WebhooksComment(ref)[], @@ -11564,7 +11754,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionCommentDeleted(class)[], WebhookDiscussionCommentDeletedAction(enum)[], WebhooksComment(ref)[], @@ -11573,7 +11763,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionCommentEdited(class)[], WebhookDiscussionCommentEditedAction(enum)[], WebhookDiscussionCommentEditedChanges(class)[], @@ -11585,7 +11775,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionCreated(class)[], WebhookDiscussionCreatedAction(enum)[], Discussion(ref)[], @@ -11593,7 +11783,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionDeleted(class)[], WebhookDiscussionDeletedAction(enum)[], Discussion(ref)[], @@ -11601,7 +11791,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionEdited(class)[], WebhookDiscussionEditedAction(enum)[], WebhookDiscussionEditedChanges(class)[], @@ -11614,7 +11804,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionLabeled(class)[], WebhookDiscussionLabeledAction(enum)[], Discussion(ref)[], @@ -11623,7 +11813,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionLocked(class)[], WebhookDiscussionLockedAction(enum)[], Discussion(ref)[], @@ -11631,7 +11821,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionPinned(class)[], WebhookDiscussionPinnedAction(enum)[], Discussion(ref)[], @@ -11639,7 +11829,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionReopened(class)[], WebhookDiscussionReopenedAction(enum)[], Discussion(ref)[], @@ -11647,7 +11837,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionTransferred(class)[], WebhookDiscussionTransferredAction(enum)[], WebhookDiscussionTransferredChanges(class)[], @@ -11658,14 +11848,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionUnanswered(class)[], WebhookDiscussionUnansweredAction(enum)[], Discussion(ref)[], WebhooksAnswer(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionUnlabeled(class)[], WebhookDiscussionUnlabeledAction(enum)[], Discussion(ref)[], @@ -11674,7 +11864,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionUnlocked(class)[], WebhookDiscussionUnlockedAction(enum)[], Discussion(ref)[], @@ -11682,7 +11872,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookDiscussionUnpinned(class)[], WebhookDiscussionUnpinnedAction(enum)[], Discussion(ref)[], @@ -11690,7 +11880,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookFork(class)[], EnterpriseWebhooks(ref)[], Forkee(allOf)[], @@ -11716,7 +11906,6 @@ CreatedAt3(oneOf)[], CreatedAtVariant1(int)[], CreatedAtVariant2(DateTime)[], - WebhookForkForkeeVariant1CustomProperties(class)[], DefaultBranch(string)[], DeleteBranchOnMerge(bool)[], DeploymentsUrl(Uri)[], @@ -11741,7 +11930,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -11923,10 +12112,10 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookGithubAppAuthorizationRevoked(class)[], WebhookGithubAppAuthorizationRevokedAction(enum)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookGollum(class)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], @@ -11940,7 +12129,7 @@ Summary(string)[], Title(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationCreated(class)[], WebhookInstallationCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -11949,7 +12138,7 @@ WebhooksRepositories(ref)[], RepositoryWebhooks(ref)[], WebhooksUser(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationDeleted(class)[], WebhookInstallationDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -11958,7 +12147,7 @@ WebhooksRepositories(ref)[], RepositoryWebhooks(ref)[], WebhookInstallationDeletedRequester(class)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationNewPermissionsAccepted(class)[], WebhookInstallationNewPermissionsAcceptedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -11967,7 +12156,7 @@ WebhooksRepositories(ref)[], RepositoryWebhooks(ref)[], WebhookInstallationNewPermissionsAcceptedRequester(class)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationRepositoriesAdded(class)[], WebhookInstallationRepositoriesAddedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -11984,7 +12173,7 @@ RepositoryWebhooks(ref)[], WebhooksRepositorySelection(ref)[], WebhooksUser(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationRepositoriesRemoved(class)[], WebhookInstallationRepositoriesRemovedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -12001,7 +12190,7 @@ RepositoryWebhooks(ref)[], WebhooksRepositorySelection(ref)[], WebhooksUser(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationSuspend(class)[], WebhookInstallationSuspendAction(enum)[], EnterpriseWebhooks(ref)[], @@ -12010,7 +12199,7 @@ WebhooksRepositories(ref)[], RepositoryWebhooks(ref)[], WebhookInstallationSuspendRequester(class)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookInstallationTargetRenamed(class)[], WebhookInstallationTargetRenamedAccount(class)[], ArchivedAt(string)[], @@ -12059,7 +12248,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], TargetType(string)[], WebhookInstallationUnsuspend(class)[], WebhookInstallationUnsuspendAction(enum)[], @@ -12069,7 +12258,7 @@ WebhooksRepositories(ref)[], RepositoryWebhooks(ref)[], WebhookInstallationUnsuspendRequester(class)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssueCommentCreated(class)[], WebhookIssueCommentCreatedAction(enum)[], WebhookIssueCommentCreatedComment(class)[], @@ -12104,7 +12293,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -12331,7 +12520,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -12418,7 +12607,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(string)[], - Id(int)[], + Id(long)[], Login(string)[], NodeId(string)[], OrganizationsUrl(string)[], @@ -12431,7 +12620,7 @@ Url(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssueCommentDeleted(class)[], WebhookIssueCommentDeletedAction(enum)[], WebhooksIssueComment(ref)[], @@ -12650,7 +12839,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -12737,7 +12926,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(string)[], - Id(int)[], + Id(long)[], Login(string)[], NodeId(string)[], OrganizationsUrl(string)[], @@ -12750,7 +12939,7 @@ Url(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssueCommentEdited(class)[], WebhookIssueCommentEditedAction(enum)[], WebhooksChanges(ref)[], @@ -12970,7 +13159,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -13057,7 +13246,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(string)[], - Id(int)[], + Id(long)[], Login(string)[], NodeId(string)[], OrganizationsUrl(string)[], @@ -13070,7 +13259,7 @@ Url(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesAssigned(class)[], WebhookIssuesAssignedAction(enum)[], WebhooksUser(ref)[], @@ -13079,7 +13268,7 @@ WebhooksIssue(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesClosed(class)[], WebhookIssuesClosedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -13297,7 +13486,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -13356,7 +13545,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(string)[], - Id(int)[], + Id(long)[], Login(string)[], NodeId(string)[], OrganizationsUrl(string)[], @@ -13369,7 +13558,7 @@ Url(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesDeleted(class)[], WebhookIssuesDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -13586,7 +13775,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -13600,7 +13789,7 @@ Url(Uri)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesDemilestoned(class)[], WebhookIssuesDemilestonedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -13817,7 +14006,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -13832,7 +14021,7 @@ WebhooksMilestone(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesEdited(class)[], WebhookIssuesEditedAction(enum)[], WebhookIssuesEditedChanges(class)[], @@ -14054,7 +14243,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -14069,7 +14258,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesLabeled(class)[], WebhookIssuesLabeledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -14286,7 +14475,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -14301,7 +14490,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesLocked(class)[], WebhookIssuesLockedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -14518,7 +14707,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -14532,7 +14721,7 @@ Url(Uri)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesMilestoned(class)[], WebhookIssuesMilestonedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -14749,7 +14938,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -14764,7 +14953,7 @@ WebhooksMilestone(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesOpened(class)[], WebhookIssuesOpenedAction(enum)[], WebhookIssuesOpenedChanges(class)[], @@ -14980,7 +15169,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -15040,7 +15229,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -15335,7 +15524,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -15349,7 +15538,7 @@ Url(Uri)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesPinned(class)[], WebhookIssuesPinnedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -15357,7 +15546,7 @@ WebhooksIssue2(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesReopened(class)[], WebhookIssuesReopenedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -15574,7 +15763,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -15588,7 +15777,7 @@ Url(Uri)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesTransferred(class)[], WebhookIssuesTransferredAction(enum)[], WebhookIssuesTransferredChanges(class)[], @@ -15804,7 +15993,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -15864,7 +16053,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -15950,7 +16139,7 @@ WebhooksIssue2(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesUnassigned(class)[], WebhookIssuesUnassignedAction(enum)[], WebhooksUserMannequin(ref)[], @@ -15959,7 +16148,7 @@ WebhooksIssue(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesUnlabeled(class)[], WebhookIssuesUnlabeledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -15968,7 +16157,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesUnlocked(class)[], WebhookIssuesUnlockedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16185,7 +16374,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -16199,7 +16388,7 @@ Url(Uri)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookIssuesUnpinned(class)[], WebhookIssuesUnpinnedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16207,7 +16396,7 @@ WebhooksIssue2(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookLabelCreated(class)[], WebhookLabelCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16215,7 +16404,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookLabelDeleted(class)[], WebhookLabelDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16223,7 +16412,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookLabelEdited(class)[], WebhookLabelEditedAction(enum)[], WebhookLabelEditedChanges(class)[], @@ -16238,7 +16427,7 @@ WebhooksLabel(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMarketplacePurchaseCancelled(class)[], WebhookMarketplacePurchaseCancelledAction(enum)[], EffectiveDate(string)[], @@ -16248,7 +16437,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksPreviousMarketplacePurchase(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMarketplacePurchaseChanged(class)[], WebhookMarketplacePurchaseChangedAction(enum)[], EffectiveDate(string)[], @@ -16280,7 +16469,7 @@ YearlyPriceInCents(int)[], UnitCount(int)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMarketplacePurchasePendingChange(class)[], WebhookMarketplacePurchasePendingChangeAction(enum)[], EffectiveDate(string)[], @@ -16312,7 +16501,7 @@ YearlyPriceInCents(int)[], UnitCount(int)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMarketplacePurchasePendingChangeCancelled(class)[], WebhookMarketplacePurchasePendingChangeCancelledAction(enum)[], EffectiveDate(string)[], @@ -16344,7 +16533,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksPreviousMarketplacePurchase(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMarketplacePurchasePurchased(class)[], WebhookMarketplacePurchasePurchasedAction(enum)[], EffectiveDate(string)[], @@ -16354,7 +16543,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksPreviousMarketplacePurchase(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMemberAdded(class)[], WebhookMemberAddedAction(enum)[], WebhookMemberAddedChanges(class)[], @@ -16367,7 +16556,7 @@ WebhooksUser(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMemberEdited(class)[], WebhookMemberEditedAction(enum)[], WebhookMemberEditedChanges(class)[], @@ -16381,7 +16570,7 @@ WebhooksUser(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMemberRemoved(class)[], WebhookMemberRemovedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16389,7 +16578,7 @@ WebhooksUser(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMembershipAdded(class)[], WebhookMembershipAddedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16458,7 +16647,7 @@ MergeGroup(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMergeGroupDestroyed(class)[], WebhookMergeGroupDestroyedAction(enum)[], WebhookMergeGroupDestroyedReason(enum)[], @@ -16466,7 +16655,7 @@ MergeGroup(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMetaDeleted(class)[], WebhookMetaDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16488,7 +16677,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], NullableRepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMilestoneClosed(class)[], WebhookMilestoneClosedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16496,7 +16685,7 @@ WebhooksMilestone(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMilestoneCreated(class)[], WebhookMilestoneCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16504,7 +16693,7 @@ WebhooksMilestone3(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMilestoneDeleted(class)[], WebhookMilestoneDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16512,7 +16701,7 @@ WebhooksMilestone(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMilestoneEdited(class)[], WebhookMilestoneEditedAction(enum)[], WebhookMilestoneEditedChanges(class)[], @@ -16527,7 +16716,7 @@ WebhooksMilestone(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookMilestoneOpened(class)[], WebhookMilestoneOpenedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16535,7 +16724,7 @@ WebhooksMilestone3(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrgBlockBlocked(class)[], WebhookOrgBlockBlockedAction(enum)[], WebhooksUser(ref)[], @@ -16543,7 +16732,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrgBlockUnblocked(class)[], WebhookOrgBlockUnblockedAction(enum)[], WebhooksUser(ref)[], @@ -16551,7 +16740,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrganizationDeleted(class)[], WebhookOrganizationDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16559,7 +16748,7 @@ WebhooksMembership(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrganizationMemberAdded(class)[], WebhookOrganizationMemberAddedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16567,7 +16756,7 @@ WebhooksMembership(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrganizationMemberInvited(class)[], WebhookOrganizationMemberInvitedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16608,7 +16797,7 @@ InvitationSource(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksUser(ref)[], WebhookOrganizationMemberRemoved(class)[], WebhookOrganizationMemberRemovedAction(enum)[], @@ -16617,7 +16806,7 @@ WebhooksMembership(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookOrganizationRenamed(class)[], WebhookOrganizationRenamedAction(enum)[], WebhookOrganizationRenamedChanges(class)[], @@ -16628,7 +16817,7 @@ WebhooksMembership(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRubygemsMetadata(class)[], Name(string)[], Description(string)[], @@ -16851,7 +17040,7 @@ Vendor(string)[], UpdatedAt(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPackageUpdated(class)[], WebhookPackageUpdatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -16992,7 +17181,7 @@ Vendor(string)[], UpdatedAt(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPageBuild(class)[], WebhookPageBuildBuild(class)[], Commit(string)[], @@ -17030,30 +17219,34 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPersonalAccessTokenRequestApproved(class)[], WebhookPersonalAccessTokenRequestApprovedAction(enum)[], PersonalAccessTokenRequest(ref)[], + EnterpriseWebhooks(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], SimpleInstallation(ref)[], WebhookPersonalAccessTokenRequestCancelled(class)[], WebhookPersonalAccessTokenRequestCancelledAction(enum)[], PersonalAccessTokenRequest(ref)[], + EnterpriseWebhooks(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], SimpleInstallation(ref)[], WebhookPersonalAccessTokenRequestCreated(class)[], WebhookPersonalAccessTokenRequestCreatedAction(enum)[], PersonalAccessTokenRequest(ref)[], + EnterpriseWebhooks(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], SimpleInstallation(ref)[], WebhookPersonalAccessTokenRequestDenied(class)[], WebhookPersonalAccessTokenRequestDeniedAction(enum)[], PersonalAccessTokenRequest(ref)[], OrganizationSimpleWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + EnterpriseWebhooks(ref)[], + SimpleUser(ref)[], SimpleInstallation(ref)[], WebhookPing(class)[], WebhookPingHook(class)[], @@ -17079,7 +17272,7 @@ HookId(int)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Zen(string)[], WebhookPingFormEncoded(class)[], Payload(string)[], @@ -17093,7 +17286,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectCard(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectCardCreated(class)[], WebhookProjectCardCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17101,7 +17294,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectCard(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectCardDeleted(class)[], WebhookProjectCardDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17143,7 +17336,7 @@ UpdatedAt(DateTime)[], Url(Uri)[], NullableRepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectCardEdited(class)[], WebhookProjectCardEditedAction(enum)[], WebhookProjectCardEditedChanges(class)[], @@ -17154,7 +17347,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectCard(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectCardMoved(class)[], WebhookProjectCardMovedAction(enum)[], WebhookProjectCardMovedChanges(class)[], @@ -17231,7 +17424,7 @@ UpdatedAt(string)[], Url(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectClosed(class)[], WebhookProjectClosedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17239,7 +17432,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProject(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectColumnCreated(class)[], WebhookProjectColumnCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17247,7 +17440,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectColumn(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectColumnDeleted(class)[], WebhookProjectColumnDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17255,7 +17448,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectColumn(ref)[], NullableRepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectColumnEdited(class)[], WebhookProjectColumnEditedAction(enum)[], WebhookProjectColumnEditedChanges(class)[], @@ -17266,7 +17459,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectColumn(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectColumnMoved(class)[], WebhookProjectColumnMovedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17274,7 +17467,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProjectColumn(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectCreated(class)[], WebhookProjectCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17282,7 +17475,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProject(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectDeleted(class)[], WebhookProjectDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17290,7 +17483,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProject(ref)[], NullableRepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectEdited(class)[], WebhookProjectEditedAction(enum)[], WebhookProjectEditedChanges(class)[], @@ -17303,7 +17496,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProject(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectReopened(class)[], WebhookProjectReopenedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -17311,25 +17504,25 @@ OrganizationSimpleWebhooks(ref)[], WebhooksProject(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ProjectClosed(class)[], WebhookProjectsV2ProjectClosedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ProjectCreated(class)[], WebhookProjectsV2ProjectCreatedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ProjectDeleted(class)[], WebhookProjectsV2ProjectDeletedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ProjectEdited(class)[], WebhookProjectsV2ProjectEditedAction(enum)[], WebhookProjectsV2ProjectEditedChanges(class)[], @@ -17348,14 +17541,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemArchived(class)[], WebhookProjectsV2ItemArchivedAction(enum)[], WebhooksProjectChanges(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemConverted(class)[], WebhookProjectsV2ItemConvertedAction(enum)[], WebhookProjectsV2ItemConvertedChanges(class)[], @@ -17365,19 +17558,19 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemCreated(class)[], WebhookProjectsV2ItemCreatedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemDeleted(class)[], WebhookProjectsV2ItemDeletedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemEdited(class)[], WebhookProjectsV2ItemEditedAction(enum)[], Changes(oneOf)[], @@ -17385,6 +17578,18 @@ WebhookProjectsV2ItemEditedChangesVariant1FieldValue(class)[], FieldNodeId(string)[], FieldType(string)[], + FieldName(string)[], + ProjectNumber(int)[], + From(oneOf)[], + FromVariant1(string)[], + FromVariant2(int)[], + ProjectsV2SingleSelectOption(ref)[], + ProjectsV2IterationSetting(ref)[], + To(oneOf)[], + ToVariant1(string)[], + ToVariant2(int)[], + ProjectsV2SingleSelectOption(ref)[], + ProjectsV2IterationSetting(ref)[], WebhookProjectsV2ItemEditedChangesVariant2(class)[], WebhookProjectsV2ItemEditedChangesVariant2Body(class)[], From(string)[], @@ -17392,7 +17597,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemReordered(class)[], WebhookProjectsV2ItemReorderedAction(enum)[], WebhookProjectsV2ItemReorderedChanges(class)[], @@ -17402,26 +17607,57 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ItemRestored(class)[], WebhookProjectsV2ItemRestoredAction(enum)[], WebhooksProjectChanges(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2Item(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookProjectsV2ProjectReopened(class)[], WebhookProjectsV2ProjectReopenedAction(enum)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], ProjectsV2(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], + WebhookProjectsV2StatusUpdateCreated(class)[], + WebhookProjectsV2StatusUpdateCreatedAction(enum)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + ProjectsV2StatusUpdate(ref)[], + SimpleUser(ref)[], + WebhookProjectsV2StatusUpdateDeleted(class)[], + WebhookProjectsV2StatusUpdateDeletedAction(enum)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + ProjectsV2StatusUpdate(ref)[], + SimpleUser(ref)[], + WebhookProjectsV2StatusUpdateEdited(class)[], + WebhookProjectsV2StatusUpdateEditedAction(enum)[], + WebhookProjectsV2StatusUpdateEditedChanges(class)[], + WebhookProjectsV2StatusUpdateEditedChangesBody(class)[], + From(string)[], + To(string)[], + WebhookProjectsV2StatusUpdateEditedChangesStatus(class)[], + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom(enum)[], + WebhookProjectsV2StatusUpdateEditedChangesStatusTo(enum)[], + WebhookProjectsV2StatusUpdateEditedChangesStartDate(class)[], + From(DateTime)[], + To(DateTime)[], + WebhookProjectsV2StatusUpdateEditedChangesTargetDate(class)[], + From(DateTime)[], + To(DateTime)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + ProjectsV2StatusUpdate(ref)[], + SimpleUser(ref)[], WebhookPublic(class)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestAssigned(class)[], WebhookPullRequestAssignedAction(enum)[], WebhooksUser(ref)[], @@ -17571,7 +17807,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -17668,7 +17904,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -17741,7 +17977,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -17838,7 +18074,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -18026,7 +18262,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -18039,7 +18275,7 @@ WebhookPullRequestAssignedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestAutoMergeDisabled(class)[], WebhookPullRequestAutoMergeDisabledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -18188,7 +18424,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -18285,7 +18521,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -18358,7 +18594,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -18455,7 +18691,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -18643,7 +18879,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -18657,7 +18893,7 @@ Url(Uri)[], Reason(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestAutoMergeEnabled(class)[], WebhookPullRequestAutoMergeEnabledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -18806,7 +19042,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -18903,7 +19139,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19073,7 +19309,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19261,7 +19497,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19275,7 +19511,7 @@ Url(Uri)[], Reason(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestClosed(class)[], WebhookPullRequestClosedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -19284,7 +19520,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestConvertedToDraft(class)[], WebhookPullRequestConvertedToDraftAction(enum)[], EnterpriseWebhooks(ref)[], @@ -19293,7 +19529,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestDemilestoned(class)[], WebhookPullRequestDemilestonedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -19302,7 +19538,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksPullRequest5(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestDequeued(class)[], WebhookPullRequestDequeuedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -19451,7 +19687,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -19548,7 +19784,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19621,7 +19857,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -19718,7 +19954,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19906,7 +20142,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -19918,9 +20154,9 @@ SubscriptionsUrl(Uri)[], WebhookPullRequestDequeuedPullRequestUserType(enum)[], Url(Uri)[], - Reason(string)[], + WebhookPullRequestDequeuedReason(enum)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestEdited(class)[], WebhookPullRequestEditedAction(enum)[], WebhookPullRequestEditedChanges(class)[], @@ -19939,7 +20175,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestEnqueued(class)[], WebhookPullRequestEnqueuedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -20088,7 +20324,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -20185,7 +20421,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -20258,7 +20494,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -20355,7 +20591,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -20543,7 +20779,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -20556,7 +20792,7 @@ WebhookPullRequestEnqueuedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestLabeled(class)[], WebhookPullRequestLabeledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -20706,7 +20942,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -20803,7 +21039,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -20876,7 +21112,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -20973,7 +21209,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -21161,7 +21397,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -21174,7 +21410,7 @@ WebhookPullRequestLabeledPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestLocked(class)[], WebhookPullRequestLockedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -21323,7 +21559,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -21420,7 +21656,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -21493,7 +21729,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -21590,7 +21826,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -21778,7 +22014,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -21791,7 +22027,7 @@ WebhookPullRequestLockedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestMilestoned(class)[], WebhookPullRequestMilestonedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -21800,7 +22036,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksPullRequest5(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestOpened(class)[], WebhookPullRequestOpenedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -21809,7 +22045,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReadyForReview(class)[], WebhookPullRequestReadyForReviewAction(enum)[], EnterpriseWebhooks(ref)[], @@ -21818,7 +22054,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReopened(class)[], WebhookPullRequestReopenedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -21827,7 +22063,7 @@ OrganizationSimpleWebhooks(ref)[], PullRequestWebhook(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewCommentCreated(class)[], WebhookPullRequestReviewCommentCreatedAction(enum)[], WebhookPullRequestReviewCommentCreatedComment(class)[], @@ -21883,7 +22119,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -22039,7 +22275,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -22136,7 +22372,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -22205,7 +22441,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -22302,7 +22538,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -22462,7 +22698,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -22475,7 +22711,7 @@ WebhookPullRequestReviewCommentCreatedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewCommentDeleted(class)[], WebhookPullRequestReviewCommentDeletedAction(enum)[], WebhooksReviewComment(ref)[], @@ -22623,7 +22859,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -22720,7 +22956,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -22789,7 +23025,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -22886,7 +23122,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23046,7 +23282,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23059,7 +23295,7 @@ WebhookPullRequestReviewCommentDeletedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewCommentEdited(class)[], WebhookPullRequestReviewCommentEditedAction(enum)[], WebhooksChanges(ref)[], @@ -23208,7 +23444,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -23305,7 +23541,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23374,7 +23610,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -23471,7 +23707,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23631,7 +23867,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23644,7 +23880,7 @@ WebhookPullRequestReviewCommentEditedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewDismissed(class)[], WebhookPullRequestReviewDismissedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -23791,7 +24027,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -23888,7 +24124,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -23957,7 +24193,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -24054,7 +24290,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24214,7 +24450,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24252,7 +24488,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24264,7 +24500,7 @@ SubscriptionsUrl(Uri)[], WebhookPullRequestReviewDismissedReviewUserType(enum)[], Url(Uri)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewEdited(class)[], WebhookPullRequestReviewEditedAction(enum)[], WebhookPullRequestReviewEditedChanges(class)[], @@ -24413,7 +24649,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -24504,7 +24740,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24572,7 +24808,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -24663,7 +24899,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24823,7 +25059,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -24837,7 +25073,7 @@ Url(Uri)[], RepositoryWebhooks(ref)[], WebhooksReview(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewRequestRemoved(oneOf)[], WebhookPullRequestReviewRequestRemovedVariant1(class)[], WebhookPullRequestReviewRequestRemovedVariant1Action(enum)[], @@ -24987,7 +25223,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -25084,7 +25320,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -25157,7 +25393,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -25254,7 +25490,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -25442,7 +25678,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -25477,7 +25713,7 @@ SubscriptionsUrl(Uri)[], WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType(enum)[], Url(Uri)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewRequestRemovedVariant2(class)[], WebhookPullRequestReviewRequestRemovedVariant2Action(enum)[], EnterpriseWebhooks(ref)[], @@ -25626,7 +25862,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -25723,7 +25959,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -25796,7 +26032,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -25893,7 +26129,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -26081,7 +26317,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -26119,7 +26355,7 @@ RepositoriesUrl(Uri)[], Slug(string)[], Url(Uri)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewRequested(oneOf)[], WebhookPullRequestReviewRequestedVariant1(class)[], WebhookPullRequestReviewRequestedVariant1Action(enum)[], @@ -26269,7 +26505,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -26366,7 +26602,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -26439,7 +26675,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -26536,7 +26772,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -26724,7 +26960,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -26759,7 +26995,7 @@ SubscriptionsUrl(Uri)[], WebhookPullRequestReviewRequestedVariant1RequestedReviewerType(enum)[], Url(Uri)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewRequestedVariant2(class)[], WebhookPullRequestReviewRequestedVariant2Action(enum)[], EnterpriseWebhooks(ref)[], @@ -26908,7 +27144,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -27005,7 +27241,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27078,7 +27314,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -27175,7 +27411,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27363,7 +27599,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27401,7 +27637,7 @@ RepositoriesUrl(Uri)[], Slug(string)[], Url(Uri)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewSubmitted(class)[], WebhookPullRequestReviewSubmittedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -27548,7 +27784,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -27645,7 +27881,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27714,7 +27950,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -27811,7 +28047,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27971,7 +28207,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -27985,7 +28221,7 @@ Url(Uri)[], RepositoryWebhooks(ref)[], WebhooksReview(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewThreadResolved(class)[], WebhookPullRequestReviewThreadResolvedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -28132,7 +28368,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -28224,7 +28460,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -28293,7 +28529,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -28385,7 +28621,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -28545,7 +28781,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -28558,7 +28794,7 @@ WebhookPullRequestReviewThreadResolvedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewThreadResolvedThread(class)[], Comments(array)[], WebhookPullRequestReviewThreadResolvedThreadComment(class)[], @@ -28614,7 +28850,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -28773,7 +29009,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -28865,7 +29101,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -28934,7 +29170,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -29026,7 +29262,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29186,7 +29422,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29199,7 +29435,7 @@ WebhookPullRequestReviewThreadUnresolvedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestReviewThreadUnresolvedThread(class)[], Comments(array)[], WebhookPullRequestReviewThreadUnresolvedThreadComment(class)[], @@ -29255,7 +29491,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29418,7 +29654,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -29515,7 +29751,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29588,7 +29824,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -29685,7 +29921,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29873,7 +30109,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -29886,7 +30122,7 @@ WebhookPullRequestSynchronizePullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestUnassigned(class)[], WebhookPullRequestUnassignedAction(enum)[], WebhooksUserMannequin(ref)[], @@ -30036,7 +30272,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -30133,7 +30369,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -30206,7 +30442,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -30303,7 +30539,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -30491,7 +30727,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -30504,7 +30740,7 @@ WebhookPullRequestUnassignedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestUnlabeled(class)[], WebhookPullRequestUnlabeledAction(enum)[], EnterpriseWebhooks(ref)[], @@ -30654,7 +30890,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -30751,7 +30987,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -30824,7 +31060,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -30921,7 +31157,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -31109,7 +31345,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -31122,7 +31358,7 @@ WebhookPullRequestUnlabeledPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPullRequestUnlocked(class)[], WebhookPullRequestUnlockedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -31271,7 +31507,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -31368,7 +31604,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -31441,7 +31677,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -31538,7 +31774,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -31726,7 +31962,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -31739,7 +31975,7 @@ WebhookPullRequestUnlockedPullRequestUserType(enum)[], Url(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookPush(class)[], After(string)[], WebhooksNullableString(ref)[], @@ -31852,7 +32088,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -31933,7 +32169,7 @@ Watchers(int)[], WatchersCount(int)[], WebCommitSignoffRequired(bool)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRegistryPackagePublished(class)[], WebhookRegistryPackagePublishedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32015,7 +32251,7 @@ Name(string)[], Version(string)[], NpmUser(string)[], - Author(oneOf)[], + Author2(oneOf)[], AuthorVariant1(string)[], WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor(class)[], Bugs(oneOf)[], @@ -32142,7 +32378,7 @@ Vendor(string)[], UpdatedAt(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRegistryPackageUpdated(class)[], WebhookRegistryPackageUpdatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32268,7 +32504,7 @@ WebhookRegistryPackageUpdatedRegistryPackageRegistry(class)[], UpdatedAt(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleaseCreated(class)[], WebhookReleaseCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32276,7 +32512,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleaseDeleted(class)[], WebhookReleaseDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32284,7 +32520,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleaseEdited(class)[], WebhookReleaseEditedAction(enum)[], WebhookReleaseEditedChanges(class)[], @@ -32299,7 +32535,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleasePrereleased(class)[], WebhookReleasePrereleasedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32393,7 +32629,7 @@ Url(Uri)[], ZipballUrl(Uri)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleasePublished(class)[], WebhookReleasePublishedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32401,7 +32637,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease1(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleaseReleased(class)[], WebhookReleaseReleasedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32409,7 +32645,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookReleaseUnpublished(class)[], WebhookReleaseUnpublishedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32417,7 +32653,7 @@ OrganizationSimpleWebhooks(ref)[], WebhooksRelease1(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryAdvisoryPublished(class)[], WebhookRepositoryAdvisoryPublishedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32425,7 +32661,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], RepositoryAdvisory(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryAdvisoryReported(class)[], WebhookRepositoryAdvisoryReportedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32433,28 +32669,28 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], RepositoryAdvisory(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryArchived(class)[], WebhookRepositoryArchivedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryCreated(class)[], WebhookRepositoryCreatedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryDeleted(class)[], WebhookRepositoryDeletedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryDispatchSample(class)[], Action(string)[], Branch(string)[], @@ -32463,7 +32699,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryEdited(class)[], WebhookRepositoryEditedAction(enum)[], WebhookRepositoryEditedChanges(class)[], @@ -32480,13 +32716,13 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryImport(class)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryImportStatus(enum)[], WebhookRepositoryPrivatized(class)[], WebhookRepositoryPrivatizedAction(enum)[], @@ -32494,14 +32730,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryPublicized(class)[], WebhookRepositoryPublicizedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryRenamed(class)[], WebhookRepositoryRenamedAction(enum)[], WebhookRepositoryRenamedChanges(class)[], @@ -32512,7 +32748,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryRulesetCreated(class)[], WebhookRepositoryRulesetCreatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32520,7 +32756,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], RepositoryRuleset(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryRulesetDeleted(class)[], WebhookRepositoryRulesetDeletedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32528,7 +32764,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], RepositoryRuleset(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryRulesetEdited(class)[], WebhookRepositoryRulesetEditedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32575,7 +32811,7 @@ From(string)[], WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern(class)[], From(string)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryTransferred(class)[], WebhookRepositoryTransferredAction(enum)[], WebhookRepositoryTransferredChanges(class)[], @@ -32605,7 +32841,7 @@ GistsUrl(string)[], GravatarId(string)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], Login(string)[], Name(string)[], NodeId(string)[], @@ -32621,14 +32857,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryUnarchived(class)[], WebhookRepositoryUnarchivedAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryVulnerabilityAlertCreate(class)[], WebhookRepositoryVulnerabilityAlertCreateAction(enum)[], WebhooksAlert(ref)[], @@ -32636,7 +32872,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryVulnerabilityAlertDismiss(class)[], WebhookRepositoryVulnerabilityAlertDismissAction(enum)[], WebhookRepositoryVulnerabilityAlertDismissAlert(class)[], @@ -32683,7 +32919,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryVulnerabilityAlertReopen(class)[], WebhookRepositoryVulnerabilityAlertReopenAction(enum)[], WebhooksAlert(ref)[], @@ -32691,7 +32927,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookRepositoryVulnerabilityAlertResolve(class)[], WebhookRepositoryVulnerabilityAlertResolveAction(enum)[], WebhookRepositoryVulnerabilityAlertResolveAlert(class)[], @@ -32737,7 +32973,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecretScanningAlertCreated(class)[], WebhookSecretScanningAlertCreatedAction(enum)[], SecretScanningAlertWebhook(ref)[], @@ -32745,7 +32981,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecretScanningAlertLocationCreated(class)[], WebhookSecretScanningAlertLocationCreatedAction(enum)[], SecretScanningAlertWebhook(ref)[], @@ -32753,7 +32989,7 @@ SecretScanningLocation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecretScanningAlertLocationCreatedFormEncoded(class)[], Payload(string)[], WebhookSecretScanningAlertReopened(class)[], @@ -32763,7 +32999,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecretScanningAlertResolved(class)[], WebhookSecretScanningAlertResolvedAction(enum)[], SecretScanningAlertWebhook(ref)[], @@ -32771,15 +33007,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], - WebhookSecretScanningAlertRevoked(class)[], - WebhookSecretScanningAlertRevokedAction(enum)[], - SecretScanningAlertWebhook(ref)[], - EnterpriseWebhooks(ref)[], - SimpleInstallation(ref)[], - OrganizationSimpleWebhooks(ref)[], - RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecretScanningAlertValidated(class)[], WebhookSecretScanningAlertValidatedAction(enum)[], SecretScanningAlertWebhook(ref)[], @@ -32787,7 +33015,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecurityAdvisoryPublished(class)[], WebhookSecurityAdvisoryPublishedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32795,7 +33023,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksSecurityAdvisory(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecurityAdvisoryUpdated(class)[], WebhookSecurityAdvisoryUpdatedAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32803,7 +33031,7 @@ OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], WebhooksSecurityAdvisory(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecurityAdvisoryWithdrawn(class)[], WebhookSecurityAdvisoryWithdrawnAction(enum)[], EnterpriseWebhooks(ref)[], @@ -32814,6 +33042,7 @@ WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss(class)[], Score(double)[], VectorString(string)[], + CvssSeverities(ref)[], Cwes(array)[], WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe(class)[], CweId(string)[], @@ -32841,7 +33070,7 @@ Severity(string)[], VulnerableVersionRange(string)[], WithdrawnAt(string)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSecurityAndAnalysis(class)[], WebhookSecurityAndAnalysisChanges(class)[], WebhookSecurityAndAnalysisChangesFrom(class)[], @@ -32850,14 +33079,14 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], FullRepository(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookSponsorshipCancelled(class)[], WebhookSponsorshipCancelledAction(enum)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookSponsorshipCreated(class)[], WebhookSponsorshipCreatedAction(enum)[], @@ -32865,7 +33094,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookSponsorshipEdited(class)[], WebhookSponsorshipEditedAction(enum)[], @@ -32876,7 +33105,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookSponsorshipPendingCancellation(class)[], WebhookSponsorshipPendingCancellationAction(enum)[], @@ -32885,7 +33114,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookSponsorshipPendingTierChange(class)[], WebhookSponsorshipPendingTierChangeAction(enum)[], @@ -32895,7 +33124,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookSponsorshipTierChanged(class)[], WebhookSponsorshipTierChangedAction(enum)[], @@ -32904,7 +33133,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksSponsorship(ref)[], WebhookStarCreated(class)[], WebhookStarCreatedAction(enum)[], @@ -32912,7 +33141,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], StarredAt(string)[], WebhookStarDeleted(class)[], WebhookStarDeletedAction(enum)[], @@ -32920,7 +33149,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookStarDeletedStarredAt(class)[], WebhookStatus(class)[], AvatarUrl(Uri)[], @@ -32956,7 +33185,7 @@ Url(Uri)[], CommentsUrl(Uri)[], WebhookStatusCommitCommit(class)[], - Author2(allOf)[], + Author3(allOf)[], WebhookStatusCommitCommitAuthorVariant1(class)[], Date(DateTime)[], Email(string)[], @@ -32967,7 +33196,7 @@ Email(string)[], Name(string)[], CommentCount(int)[], - Committer(allOf)[], + Committer2(allOf)[], WebhookStatusCommitCommitCommitterVariant1(class)[], Date(DateTime)[], Email(string)[], @@ -33027,17 +33256,61 @@ Name(string)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Sha(string)[], WebhookStatusState(enum)[], TargetUrl(string)[], UpdatedAt(string)[], + WebhookSubIssuesParentIssueAdded(class)[], + WebhookSubIssuesParentIssueAddedAction(enum)[], + ParentIssueId(double)[], + Issue(ref)[], + Repository(ref)[], + SubIssueId(double)[], + Issue(ref)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + RepositoryWebhooks(ref)[], + SimpleUser(ref)[], + WebhookSubIssuesParentIssueRemoved(class)[], + WebhookSubIssuesParentIssueRemovedAction(enum)[], + ParentIssueId(double)[], + Issue(ref)[], + Repository(ref)[], + SubIssueId(double)[], + Issue(ref)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + RepositoryWebhooks(ref)[], + SimpleUser(ref)[], + WebhookSubIssuesSubIssueAdded(class)[], + WebhookSubIssuesSubIssueAddedAction(enum)[], + SubIssueId(double)[], + Issue(ref)[], + Repository(ref)[], + ParentIssueId(double)[], + Issue(ref)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + RepositoryWebhooks(ref)[], + SimpleUser(ref)[], + WebhookSubIssuesSubIssueRemoved(class)[], + WebhookSubIssuesSubIssueRemovedAction(enum)[], + SubIssueId(double)[], + Issue(ref)[], + Repository(ref)[], + ParentIssueId(double)[], + Issue(ref)[], + SimpleInstallation(ref)[], + OrganizationSimpleWebhooks(ref)[], + RepositoryWebhooks(ref)[], + SimpleUser(ref)[], WebhookTeamAdd(class)[], EnterpriseWebhooks(ref)[], SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookTeamAddedToRepository(class)[], WebhookTeamAddedToRepositoryAction(enum)[], @@ -33091,7 +33364,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -33171,7 +33444,7 @@ WebhookTeamAddedToRepositoryRepositoryVisibility(enum)[], Watchers(int)[], WatchersCount(int)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookTeamCreated(class)[], WebhookTeamCreatedAction(enum)[], @@ -33225,7 +33498,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -33305,7 +33578,7 @@ WebhookTeamCreatedRepositoryVisibility(enum)[], Watchers(int)[], WatchersCount(int)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookTeamDeleted(class)[], WebhookTeamDeletedAction(enum)[], @@ -33359,7 +33632,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -33439,7 +33712,7 @@ WebhookTeamDeletedRepositoryVisibility(enum)[], Watchers(int)[], WatchersCount(int)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookTeamEdited(class)[], WebhookTeamEditedAction(enum)[], @@ -33508,7 +33781,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -33588,7 +33861,7 @@ WebhookTeamEditedRepositoryVisibility(enum)[], Watchers(int)[], WatchersCount(int)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookTeamRemovedFromRepository(class)[], WebhookTeamRemovedFromRepositoryAction(enum)[], @@ -33642,7 +33915,7 @@ Homepage(string)[], HooksUrl(Uri)[], HtmlUrl(Uri)[], - Id(int)[], + Id(long)[], IsTemplate(bool)[], IssueCommentUrl(string)[], IssueEventsUrl(string)[], @@ -33722,7 +33995,7 @@ WebhookTeamRemovedFromRepositoryRepositoryVisibility(enum)[], Watchers(int)[], WatchersCount(int)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksTeam1(ref)[], WebhookWatchStarted(class)[], WebhookWatchStartedAction(enum)[], @@ -33730,7 +34003,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookWorkflowDispatch(class)[], EnterpriseWebhooks(ref)[], WebhookWorkflowDispatchInputs(class)[], @@ -33738,7 +34011,7 @@ OrganizationSimpleWebhooks(ref)[], Ref(string)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], Workflow(string)[], WebhookWorkflowJobCompleted(class)[], WebhookWorkflowJobCompletedAction(enum)[], @@ -33746,7 +34019,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WorkflowJob(allOf)[], WebhookWorkflowJobCompletedWorkflowJobVariant1(class)[], CheckRunUrl(Uri)[], @@ -33813,7 +34086,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WorkflowJob2(allOf)[], WebhookWorkflowJobInProgressWorkflowJobVariant1(class)[], CheckRunUrl(Uri)[], @@ -33886,7 +34159,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookWorkflowJobQueuedWorkflowJob(class)[], CheckRunUrl(Uri)[], CompletedAt(string)[], @@ -33926,7 +34199,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhookWorkflowJobWaitingWorkflowJob(class)[], CheckRunUrl(Uri)[], CompletedAt(string)[], @@ -33966,7 +34239,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksWorkflow(ref)[], WebhookWorkflowRunCompletedWorkflowRun(class)[], WebhookWorkflowRunCompletedWorkflowRunActor(class)[], @@ -34222,7 +34495,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksWorkflow(ref)[], WebhookWorkflowRunInProgressWorkflowRun(class)[], WebhookWorkflowRunInProgressWorkflowRunActor(class)[], @@ -34477,7 +34750,7 @@ SimpleInstallation(ref)[], OrganizationSimpleWebhooks(ref)[], RepositoryWebhooks(ref)[], - SimpleUserWebhooks(ref)[], + SimpleUser(ref)[], WebhooksWorkflow(ref)[], WebhookWorkflowRunRequestedWorkflowRun(class)[], WebhookWorkflowRunRequestedWorkflowRunActor(class)[], @@ -34823,6 +35096,30 @@ SelectedRepositoryIdsItem(int)[actions], SelectedActions(ref)[actions], ActionsSetDefaultWorkflowPermissions(ref)[actions], + ActionsCreateSelfHostedRunnerGroupForOrgRequest(class)[actions], + Name(string)[actions], + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility(enum)[actions], + SelectedRepositoryIds(array)[actions], + SelectedRepositoryIdsItem(int)[actions], + Runners(array)[actions], + RunnersItem(int)[actions], + AllowsPublicRepositories(bool)[actions], + RestrictedToWorkflows(bool)[actions], + SelectedWorkflows(array)[actions], + SelectedWorkflowsItem(string)[actions], + ActionsUpdateSelfHostedRunnerGroupForOrgRequest(class)[actions], + Name(string)[actions], + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility(enum)[actions], + AllowsPublicRepositories(bool)[actions], + RestrictedToWorkflows(bool)[actions], + SelectedWorkflows(array)[actions], + SelectedWorkflowsItem(string)[actions], + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest(class)[actions], + SelectedRepositoryIds(array)[actions], + SelectedRepositoryIdsItem(int)[actions], + ActionsSetSelfHostedRunnersInGroupForOrgRequest(class)[actions], + Runners(array)[actions], + RunnersItem(int)[actions], ActionsGenerateRunnerJitconfigForOrgRequest(class)[actions], Name(string)[actions], RunnerGroupId(int)[actions], @@ -34859,6 +35156,49 @@ ActionsSetSelectedReposForOrgVariableRequest(class)[actions], SelectedRepositoryIds(array)[actions], SelectedRepositoryIdsItem(int)[actions], + CodeSecurityCreateConfigurationRequest(class)[code-security], + Name(string)[code-security], + Description(string)[code-security], + CodeSecurityCreateConfigurationRequestAdvancedSecurity(enum)[code-security], + CodeSecurityCreateConfigurationRequestDependencyGraph(enum)[code-security], + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction(enum)[code-security], + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions(class)[code-security], + LabeledRunners(bool)[code-security], + CodeSecurityCreateConfigurationRequestDependabotAlerts(enum)[code-security], + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates(enum)[code-security], + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup(enum)[code-security], + CodeSecurityCreateConfigurationRequestSecretScanning(enum)[code-security], + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection(enum)[code-security], + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks(enum)[code-security], + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns(enum)[code-security], + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting(enum)[code-security], + CodeSecurityCreateConfigurationRequestEnforcement(enum)[code-security], + CodeSecurityDetachConfigurationRequest(class)[code-security], + SelectedRepositoryIds(array)[code-security], + SelectedRepositoryIdsItem(int)[code-security], + CodeSecurityUpdateConfigurationRequest(class)[code-security], + Name(string)[code-security], + Description(string)[code-security], + CodeSecurityUpdateConfigurationRequestAdvancedSecurity(enum)[code-security], + CodeSecurityUpdateConfigurationRequestDependencyGraph(enum)[code-security], + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction(enum)[code-security], + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions(class)[code-security], + LabeledRunners(bool)[code-security], + CodeSecurityUpdateConfigurationRequestDependabotAlerts(enum)[code-security], + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates(enum)[code-security], + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup(enum)[code-security], + CodeSecurityUpdateConfigurationRequestSecretScanning(enum)[code-security], + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection(enum)[code-security], + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks(enum)[code-security], + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns(enum)[code-security], + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting(enum)[code-security], + CodeSecurityUpdateConfigurationRequestEnforcement(enum)[code-security], + CodeSecurityAttachConfigurationRequest(class)[code-security], + CodeSecurityAttachConfigurationRequestScope(enum)[code-security], + SelectedRepositoryIds(array)[code-security], + SelectedRepositoryIdsItem(int)[code-security], + CodeSecuritySetConfigurationAsDefaultRequest(class)[code-security], + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos(enum)[code-security], CodespacesSetCodespacesAccessRequest(class)[codespaces], CodespacesSetCodespacesAccessRequestVisibility(enum)[codespaces], SelectedUsernames(array)[codespaces], @@ -34947,16 +35287,6 @@ OrgMetadataOnly(bool)[migrations], Exclude(array)[migrations], MigrationsStartForOrgRequestExcludeItem(enum)[migrations], - OrgsCreateCustomOrganizationRoleRequest(class)[orgs], - Name(string)[orgs], - Description(string)[orgs], - Permissions(array)[orgs], - PermissionsItem(string)[orgs], - OrgsPatchCustomOrganizationRoleRequest(class)[orgs], - Name(string)[orgs], - Description(string)[orgs], - Permissions(array)[orgs], - PermissionsItem(string)[orgs], OrgsConvertMemberToOutsideCollaboratorRequest(class)[orgs], Async(bool)[orgs], OrgsReviewPatGrantRequestsInBulkRequest(class)[orgs], @@ -34978,7 +35308,7 @@ Body(string)[projects], OrgsCreateOrUpdateCustomPropertiesRequest(class)[orgs], Properties(array)[orgs], - OrgCustomProperty(ref)[orgs], + CustomProperty(ref)[orgs], OrgsCreateOrUpdateCustomPropertyRequest(class)[orgs], OrgsCreateOrUpdateCustomPropertyRequestValueType(enum)[orgs], Required(bool)[orgs], @@ -35118,6 +35448,10 @@ Status(string)[repos], ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection(class)[repos], Status(string)[repos], + ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection(class)[repos], + Status(string)[repos], + ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns(class)[repos], + Status(string)[repos], HasIssues(bool)[repos], HasProjects(bool)[repos], HasWiki(bool)[repos], @@ -35185,6 +35519,11 @@ ActionsCreateWorkflowDispatchRequest(class)[actions], Ref(string)[actions], ActionsCreateWorkflowDispatchRequestInputs(class)[actions], + ReposCreateAttestationRequest(class)[repos], + ReposCreateAttestationRequestBundle(class)[repos], + MediaType(string)[repos], + ReposCreateAttestationRequestBundleVerificationMaterial(class)[repos], + ReposCreateAttestationRequestBundleDsseEnvelope(class)[repos], ReposCreateAutolinkRequest(class)[repos], KeyPrefix(string)[repos], UrlTemplate(string)[repos], @@ -35277,24 +35616,15 @@ ContextsItem(string)[repos], ReposRemoveStatusCheckContextsRequestVariant2(array)[repos], ReposRemoveStatusCheckContextsRequestVariant2Item(string)[repos], - ReposAddAppAccessRestrictionsRequest(oneOf)[repos], - ReposAddAppAccessRestrictionsRequest2(class)[repos], - Apps(array)[repos], - AppsItem(string)[repos], - ReposAddAppAccessRestrictionsRequestVariant2(array)[repos], - ReposAddAppAccessRestrictionsRequestVariant2Item(string)[repos], - ReposSetAppAccessRestrictionsRequest(oneOf)[repos], - ReposSetAppAccessRestrictionsRequest2(class)[repos], - Apps(array)[repos], - AppsItem(string)[repos], - ReposSetAppAccessRestrictionsRequestVariant2(array)[repos], - ReposSetAppAccessRestrictionsRequestVariant2Item(string)[repos], - ReposRemoveAppAccessRestrictionsRequest(oneOf)[repos], - ReposRemoveAppAccessRestrictionsRequest2(class)[repos], - Apps(array)[repos], - AppsItem(string)[repos], - ReposRemoveAppAccessRestrictionsRequestVariant2(array)[repos], - ReposRemoveAppAccessRestrictionsRequestVariant2Item(string)[repos], + ReposAddAppAccessRestrictionsRequest(class)[repos], + Apps(array)[repos], + AppsItem(string)[repos], + ReposSetAppAccessRestrictionsRequest(class)[repos], + Apps(array)[repos], + AppsItem(string)[repos], + ReposRemoveAppAccessRestrictionsRequest(class)[repos], + Apps(array)[repos], + AppsItem(string)[repos], ReposAddTeamAccessRestrictionsRequest(oneOf)[repos], ReposAddTeamAccessRestrictionsRequest2(class)[repos], Teams(array)[repos], @@ -35313,24 +35643,15 @@ TeamsItem(string)[repos], ReposRemoveTeamAccessRestrictionsRequestVariant2(array)[repos], ReposRemoveTeamAccessRestrictionsRequestVariant2Item(string)[repos], - ReposAddUserAccessRestrictionsRequest(oneOf)[repos], - ReposAddUserAccessRestrictionsRequest2(class)[repos], - Users(array)[repos], - UsersItem(string)[repos], - ReposAddUserAccessRestrictionsRequestVariant2(array)[repos], - ReposAddUserAccessRestrictionsRequestVariant2Item(string)[repos], - ReposSetUserAccessRestrictionsRequest(oneOf)[repos], - ReposSetUserAccessRestrictionsRequest2(class)[repos], - Users(array)[repos], - UsersItem(string)[repos], - ReposSetUserAccessRestrictionsRequestVariant2(array)[repos], - ReposSetUserAccessRestrictionsRequestVariant2Item(string)[repos], - ReposRemoveUserAccessRestrictionsRequest(oneOf)[repos], - ReposRemoveUserAccessRestrictionsRequest2(class)[repos], - Users(array)[repos], - UsersItem(string)[repos], - ReposRemoveUserAccessRestrictionsRequestVariant2(array)[repos], - ReposRemoveUserAccessRestrictionsRequestVariant2Item(string)[repos], + ReposAddUserAccessRestrictionsRequest(class)[repos], + Users(array)[repos], + UsersItem(string)[repos], + ReposSetUserAccessRestrictionsRequest(class)[repos], + Users(array)[repos], + UsersItem(string)[repos], + ReposRemoveUserAccessRestrictionsRequest(class)[repos], + Users(array)[repos], + UsersItem(string)[repos], ReposRenameBranchRequest(class)[repos], NewName(string)[repos], ChecksCreateRequest(class)[checks], @@ -35371,6 +35692,8 @@ ChecksCreateRequestVariant1Status(enum)[checks], ChecksCreateRequestVariant2(class)[checks], ChecksCreateRequestVariant2Status(enum)[checks], + ChecksCreateRequestDiscriminator(class)[checks], + Status(string)[checks], ChecksUpdateRequest(class)[checks], Name(string)[checks], DetailsUrl(string)[checks], @@ -35913,6 +36236,9 @@ SecretScanningAlertState(ref)[secret-scanning], SecretScanningAlertResolution(ref)[secret-scanning], SecretScanningAlertResolutionComment(ref)[secret-scanning], + SecretScanningCreatePushProtectionBypassRequest(class)[secret-scanning], + SecretScanningPushProtectionBypassReason(ref)[secret-scanning], + SecretScanningPushProtectionBypassPlaceholderId(ref)[secret-scanning], RepositoryAdvisoryCreate(ref)[security-advisories], PrivateVulnerabilityReportCreate(ref)[security-advisories], RepositoryAdvisoryUpdate(ref)[security-advisories], @@ -36109,6 +36435,8 @@ SecurityAdvisoriesListGlobalAdvisoriesPublished(string)[security-advisories], SecurityAdvisoriesListGlobalAdvisoriesUpdated(string)[security-advisories], SecurityAdvisoriesListGlobalAdvisoriesModified(string)[security-advisories], + SecurityAdvisoriesListGlobalAdvisoriesEpssPercentage(string)[security-advisories], + SecurityAdvisoriesListGlobalAdvisoriesEpssPercentile(string)[security-advisories], SecurityAdvisoriesListGlobalAdvisoriesBefore(string)[security-advisories], SecurityAdvisoriesListGlobalAdvisoriesAfter(string)[security-advisories], SecurityAdvisoriesListGlobalAdvisoriesDirection(enum)[security-advisories], @@ -36139,9 +36467,9 @@ AppsScopeTokenClientId(string)[apps], AppsGetBySlugAppSlug(string)[apps], ClassroomGetAnAssignmentAssignmentId(int)[classroom], - ClassroomListAcceptedAssigmentsForAnAssignmentAssignmentId(int)[classroom], - ClassroomListAcceptedAssigmentsForAnAssignmentPage(int)[classroom], - ClassroomListAcceptedAssigmentsForAnAssignmentPerPage(int)[classroom], + ClassroomListAcceptedAssignmentsForAnAssignmentAssignmentId(int)[classroom], + ClassroomListAcceptedAssignmentsForAnAssignmentPage(int)[classroom], + ClassroomListAcceptedAssignmentsForAnAssignmentPerPage(int)[classroom], ClassroomGetAssignmentGradesAssignmentId(int)[classroom], ClassroomListClassroomsPage(int)[classroom], ClassroomListClassroomsPerPage(int)[classroom], @@ -36150,6 +36478,9 @@ ClassroomListAssignmentsForAClassroomPage(int)[classroom], ClassroomListAssignmentsForAClassroomPerPage(int)[classroom], CodesOfConductGetConductCodeKey(string)[codes-of-conduct], + CopilotListCopilotSeatsForEnterpriseEnterprise(string)[copilot], + CopilotListCopilotSeatsForEnterprisePage(int)[copilot], + CopilotListCopilotSeatsForEnterprisePerPage(int)[copilot], CopilotUsageMetricsForEnterpriseEnterprise(string)[copilot], CopilotUsageMetricsForEnterpriseSince(string)[copilot], CopilotUsageMetricsForEnterpriseUntil(string)[copilot], @@ -36178,6 +36509,12 @@ SecretScanningListAlertsForEnterpriseBefore(string)[secret-scanning], SecretScanningListAlertsForEnterpriseAfter(string)[secret-scanning], SecretScanningListAlertsForEnterpriseValidity(string)[secret-scanning], + CopilotUsageMetricsForEnterpriseTeamEnterprise(string)[copilot], + CopilotUsageMetricsForEnterpriseTeamTeamSlug(string)[copilot], + CopilotUsageMetricsForEnterpriseTeamSince(string)[copilot], + CopilotUsageMetricsForEnterpriseTeamUntil(string)[copilot], + CopilotUsageMetricsForEnterpriseTeamPage(int)[copilot], + CopilotUsageMetricsForEnterpriseTeamPerPage(int)[copilot], ActivityListPublicEventsPerPage(int)[activity], ActivityListPublicEventsPage(int)[activity], GistsListSince(DateTime)[gists], @@ -36197,11 +36534,11 @@ GistsListCommentsPage(int)[gists], GistsCreateCommentGistId(string)[gists], GistsGetCommentGistId(string)[gists], - GistsGetCommentCommentId(int)[gists], + GistsGetCommentCommentId(long)[gists], GistsUpdateCommentGistId(string)[gists], - GistsUpdateCommentCommentId(int)[gists], + GistsUpdateCommentCommentId(long)[gists], GistsDeleteCommentGistId(string)[gists], - GistsDeleteCommentCommentId(int)[gists], + GistsDeleteCommentCommentId(long)[gists], GistsListCommitsGistId(string)[gists], GistsListCommitsPerPage(int)[gists], GistsListCommitsPage(int)[gists], @@ -36291,6 +36628,41 @@ ActionsSetAllowedActionsOrganizationOrg(string)[actions], ActionsGetGithubActionsDefaultWorkflowPermissionsOrganizationOrg(string)[actions], ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationOrg(string)[actions], + ActionsListSelfHostedRunnerGroupsForOrgOrg(string)[actions], + ActionsListSelfHostedRunnerGroupsForOrgPerPage(int)[actions], + ActionsListSelfHostedRunnerGroupsForOrgPage(int)[actions], + ActionsListSelfHostedRunnerGroupsForOrgVisibleToRepository(string)[actions], + ActionsCreateSelfHostedRunnerGroupForOrgOrg(string)[actions], + ActionsGetSelfHostedRunnerGroupForOrgOrg(string)[actions], + ActionsGetSelfHostedRunnerGroupForOrgRunnerGroupId(int)[actions], + ActionsUpdateSelfHostedRunnerGroupForOrgOrg(string)[actions], + ActionsUpdateSelfHostedRunnerGroupForOrgRunnerGroupId(int)[actions], + ActionsDeleteSelfHostedRunnerGroupFromOrgOrg(string)[actions], + ActionsDeleteSelfHostedRunnerGroupFromOrgRunnerGroupId(int)[actions], + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgOrg(string)[actions], + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int)[actions], + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPage(int)[actions], + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPerPage(int)[actions], + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgOrg(string)[actions], + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int)[actions], + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgOrg(string)[actions], + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int)[actions], + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRepositoryId(int)[actions], + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgOrg(string)[actions], + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int)[actions], + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRepositoryId(int)[actions], + ActionsListSelfHostedRunnersInGroupForOrgOrg(string)[actions], + ActionsListSelfHostedRunnersInGroupForOrgRunnerGroupId(int)[actions], + ActionsListSelfHostedRunnersInGroupForOrgPerPage(int)[actions], + ActionsListSelfHostedRunnersInGroupForOrgPage(int)[actions], + ActionsSetSelfHostedRunnersInGroupForOrgOrg(string)[actions], + ActionsSetSelfHostedRunnersInGroupForOrgRunnerGroupId(int)[actions], + ActionsAddSelfHostedRunnerToGroupForOrgOrg(string)[actions], + ActionsAddSelfHostedRunnerToGroupForOrgRunnerGroupId(int)[actions], + ActionsAddSelfHostedRunnerToGroupForOrgRunnerId(int)[actions], + ActionsRemoveSelfHostedRunnerFromGroupForOrgOrg(string)[actions], + ActionsRemoveSelfHostedRunnerFromGroupForOrgRunnerGroupId(int)[actions], + ActionsRemoveSelfHostedRunnerFromGroupForOrgRunnerId(int)[actions], ActionsListSelfHostedRunnersForOrgName(string)[actions], ActionsListSelfHostedRunnersForOrgOrg(string)[actions], ActionsListSelfHostedRunnersForOrgPerPage(int)[actions], @@ -36358,6 +36730,11 @@ ActionsRemoveSelectedRepoFromOrgVariableOrg(string)[actions], ActionsRemoveSelectedRepoFromOrgVariableName(string)[actions], ActionsRemoveSelectedRepoFromOrgVariableRepositoryId(int)[actions], + OrgsListAttestationsPerPage(int)[orgs], + OrgsListAttestationsBefore(string)[orgs], + OrgsListAttestationsAfter(string)[orgs], + OrgsListAttestationsOrg(string)[orgs], + OrgsListAttestationsSubjectDigest(string)[orgs], OrgsListBlockedUsersOrg(string)[orgs], OrgsListBlockedUsersPerPage(int)[orgs], OrgsListBlockedUsersPage(int)[orgs], @@ -36378,6 +36755,30 @@ CodeScanningAlertStateQuery(ref)[code-scanning], CodeScanningListAlertsForOrgSort(enum)[code-scanning], CodeScanningAlertSeverity(ref)[code-scanning], + CodeSecurityGetConfigurationsForOrgOrg(string)[code-security], + CodeSecurityGetConfigurationsForOrgTargetType(enum)[code-security], + CodeSecurityGetConfigurationsForOrgPerPage(int)[code-security], + CodeSecurityGetConfigurationsForOrgBefore(string)[code-security], + CodeSecurityGetConfigurationsForOrgAfter(string)[code-security], + CodeSecurityCreateConfigurationOrg(string)[code-security], + CodeSecurityGetDefaultConfigurationsOrg(string)[code-security], + CodeSecurityDetachConfigurationOrg(string)[code-security], + CodeSecurityGetConfigurationOrg(string)[code-security], + CodeSecurityGetConfigurationConfigurationId(int)[code-security], + CodeSecurityUpdateConfigurationOrg(string)[code-security], + CodeSecurityUpdateConfigurationConfigurationId(int)[code-security], + CodeSecurityDeleteConfigurationOrg(string)[code-security], + CodeSecurityDeleteConfigurationConfigurationId(int)[code-security], + CodeSecurityAttachConfigurationOrg(string)[code-security], + CodeSecurityAttachConfigurationConfigurationId(int)[code-security], + CodeSecuritySetConfigurationAsDefaultOrg(string)[code-security], + CodeSecuritySetConfigurationAsDefaultConfigurationId(int)[code-security], + CodeSecurityGetRepositoriesForConfigurationOrg(string)[code-security], + CodeSecurityGetRepositoriesForConfigurationConfigurationId(int)[code-security], + CodeSecurityGetRepositoriesForConfigurationPerPage(int)[code-security], + CodeSecurityGetRepositoriesForConfigurationBefore(string)[code-security], + CodeSecurityGetRepositoriesForConfigurationAfter(string)[code-security], + CodeSecurityGetRepositoriesForConfigurationStatus(string)[code-security], CodespacesListInOrganizationPerPage(int)[codespaces], CodespacesListInOrganizationPage(int)[codespaces], CodespacesListInOrganizationOrg(string)[codespaces], @@ -36564,9 +36965,7 @@ MigrationsListReposForOrgMigrationId(int)[migrations], MigrationsListReposForOrgPerPage(int)[migrations], MigrationsListReposForOrgPage(int)[migrations], - OrgsListOrganizationFineGrainedPermissionsOrg(string)[orgs], OrgsListOrgRolesOrg(string)[orgs], - OrgsCreateCustomOrganizationRoleOrg(string)[orgs], OrgsRevokeAllOrgRolesTeamOrg(string)[orgs], OrgsRevokeAllOrgRolesTeamTeamSlug(string)[orgs], OrgsAssignTeamToOrgRoleOrg(string)[orgs], @@ -36585,10 +36984,6 @@ OrgsRevokeOrgRoleUserRoleId(int)[orgs], OrgsGetOrgRoleOrg(string)[orgs], OrgsGetOrgRoleRoleId(int)[orgs], - OrgsPatchCustomOrganizationRoleOrg(string)[orgs], - OrgsPatchCustomOrganizationRoleRoleId(int)[orgs], - OrgsDeleteCustomOrganizationRoleOrg(string)[orgs], - OrgsDeleteCustomOrganizationRoleRoleId(int)[orgs], OrgsListOrgRoleTeamsOrg(string)[orgs], OrgsListOrgRoleTeamsRoleId(int)[orgs], OrgsListOrgRoleTeamsPerPage(int)[orgs], @@ -36711,8 +37106,10 @@ ReposGetOrgRulesetsOrg(string)[repos], ReposGetOrgRulesetsPerPage(int)[repos], ReposGetOrgRulesetsPage(int)[repos], + ReposGetOrgRulesetsTargets(string)[repos], ReposCreateOrgRulesetOrg(string)[repos], ReposGetOrgRuleSuitesOrg(string)[repos], + ReposGetOrgRuleSuitesRef(string)[repos], ReposGetOrgRuleSuitesRepositoryName(int)[repos], ReposGetOrgRuleSuitesTimePeriod(enum)[repos], ReposGetOrgRuleSuitesActorName(string)[repos], @@ -36753,6 +37150,12 @@ BillingGetGithubActionsBillingOrgOrg(string)[billing], BillingGetGithubPackagesBillingOrgOrg(string)[billing], BillingGetSharedStorageBillingOrgOrg(string)[billing], + CopilotUsageMetricsForTeamOrg(string)[copilot], + CopilotUsageMetricsForTeamTeamSlug(string)[copilot], + CopilotUsageMetricsForTeamSince(string)[copilot], + CopilotUsageMetricsForTeamUntil(string)[copilot], + CopilotUsageMetricsForTeamPage(int)[copilot], + CopilotUsageMetricsForTeamPerPage(int)[copilot], TeamsListOrg(string)[teams], TeamsListPerPage(int)[teams], TeamsListPage(int)[teams], @@ -37197,6 +37600,14 @@ IssuesCheckUserCanBeAssignedOwner(string)[issues], IssuesCheckUserCanBeAssignedRepo(string)[issues], IssuesCheckUserCanBeAssignedAssignee(string)[issues], + ReposCreateAttestationOwner(string)[repos], + ReposCreateAttestationRepo(string)[repos], + ReposListAttestationsOwner(string)[repos], + ReposListAttestationsRepo(string)[repos], + ReposListAttestationsPerPage(int)[repos], + ReposListAttestationsBefore(string)[repos], + ReposListAttestationsAfter(string)[repos], + ReposListAttestationsSubjectDigest(string)[repos], ReposListAutolinksOwner(string)[repos], ReposListAutolinksRepo(string)[repos], ReposCreateAutolinkOwner(string)[repos], @@ -37364,7 +37775,10 @@ CodeScanningListAlertsForRepoPage(int)[code-scanning], CodeScanningListAlertsForRepoPerPage(int)[code-scanning], CodeScanningRef(ref)[code-scanning], + CodeScanningListAlertsForRepoPr(int)[code-scanning], CodeScanningListAlertsForRepoDirection(enum)[code-scanning], + CodeScanningListAlertsForRepoBefore(string)[code-scanning], + CodeScanningListAlertsForRepoAfter(string)[code-scanning], CodeScanningListAlertsForRepoSort(enum)[code-scanning], CodeScanningAlertStateQuery(ref)[code-scanning], CodeScanningAlertSeverity(ref)[code-scanning], @@ -37380,12 +37794,14 @@ CodeScanningListAlertInstancesPage(int)[code-scanning], CodeScanningListAlertInstancesPerPage(int)[code-scanning], CodeScanningRef(ref)[code-scanning], + CodeScanningListAlertInstancesPr(int)[code-scanning], CodeScanningListRecentAnalysesOwner(string)[code-scanning], CodeScanningListRecentAnalysesRepo(string)[code-scanning], CodeScanningAnalysisToolName(ref)[code-scanning], CodeScanningAnalysisToolGuid(ref)[code-scanning], CodeScanningListRecentAnalysesPage(int)[code-scanning], CodeScanningListRecentAnalysesPerPage(int)[code-scanning], + CodeScanningListRecentAnalysesPr(int)[code-scanning], CodeScanningRef(ref)[code-scanning], CodeScanningAnalysisSarifId(ref)[code-scanning], CodeScanningListRecentAnalysesDirection(enum)[code-scanning], @@ -37421,6 +37837,8 @@ CodeScanningGetSarifOwner(string)[code-scanning], CodeScanningGetSarifRepo(string)[code-scanning], CodeScanningGetSarifSarifId(string)[code-scanning], + CodeSecurityGetConfigurationForRepositoryOwner(string)[code-security], + CodeSecurityGetConfigurationForRepositoryRepo(string)[code-security], ReposCodeownersErrorsOwner(string)[repos], ReposCodeownersErrorsRepo(string)[repos], ReposCodeownersErrorsRef(string)[repos], @@ -37486,25 +37904,25 @@ ReposListCommitCommentsForRepoPage(int)[repos], ReposGetCommitCommentOwner(string)[repos], ReposGetCommitCommentRepo(string)[repos], - ReposGetCommitCommentCommentId(int)[repos], + ReposGetCommitCommentCommentId(long)[repos], ReposUpdateCommitCommentOwner(string)[repos], ReposUpdateCommitCommentRepo(string)[repos], - ReposUpdateCommitCommentCommentId(int)[repos], + ReposUpdateCommitCommentCommentId(long)[repos], ReposDeleteCommitCommentOwner(string)[repos], ReposDeleteCommitCommentRepo(string)[repos], - ReposDeleteCommitCommentCommentId(int)[repos], + ReposDeleteCommitCommentCommentId(long)[repos], ReactionsListForCommitCommentOwner(string)[reactions], ReactionsListForCommitCommentRepo(string)[reactions], - ReactionsListForCommitCommentCommentId(int)[reactions], + ReactionsListForCommitCommentCommentId(long)[reactions], ReactionsListForCommitCommentContent(enum)[reactions], ReactionsListForCommitCommentPerPage(int)[reactions], ReactionsListForCommitCommentPage(int)[reactions], ReactionsCreateForCommitCommentOwner(string)[reactions], ReactionsCreateForCommitCommentRepo(string)[reactions], - ReactionsCreateForCommitCommentCommentId(int)[reactions], + ReactionsCreateForCommitCommentCommentId(long)[reactions], ReactionsDeleteForCommitCommentOwner(string)[reactions], ReactionsDeleteForCommitCommentRepo(string)[reactions], - ReactionsDeleteForCommitCommentCommentId(int)[reactions], + ReactionsDeleteForCommitCommentCommentId(long)[reactions], ReactionsDeleteForCommitCommentReactionId(int)[reactions], ReposListCommitsOwner(string)[repos], ReposListCommitsRepo(string)[repos], @@ -37899,25 +38317,25 @@ IssuesListCommentsForRepoPage(int)[issues], IssuesGetCommentOwner(string)[issues], IssuesGetCommentRepo(string)[issues], - IssuesGetCommentCommentId(int)[issues], + IssuesGetCommentCommentId(long)[issues], IssuesUpdateCommentOwner(string)[issues], IssuesUpdateCommentRepo(string)[issues], - IssuesUpdateCommentCommentId(int)[issues], + IssuesUpdateCommentCommentId(long)[issues], IssuesDeleteCommentOwner(string)[issues], IssuesDeleteCommentRepo(string)[issues], - IssuesDeleteCommentCommentId(int)[issues], + IssuesDeleteCommentCommentId(long)[issues], ReactionsListForIssueCommentOwner(string)[reactions], ReactionsListForIssueCommentRepo(string)[reactions], - ReactionsListForIssueCommentCommentId(int)[reactions], + ReactionsListForIssueCommentCommentId(long)[reactions], ReactionsListForIssueCommentContent(enum)[reactions], ReactionsListForIssueCommentPerPage(int)[reactions], ReactionsListForIssueCommentPage(int)[reactions], ReactionsCreateForIssueCommentOwner(string)[reactions], ReactionsCreateForIssueCommentRepo(string)[reactions], - ReactionsCreateForIssueCommentCommentId(int)[reactions], + ReactionsCreateForIssueCommentCommentId(long)[reactions], ReactionsDeleteForIssueCommentOwner(string)[reactions], ReactionsDeleteForIssueCommentRepo(string)[reactions], - ReactionsDeleteForIssueCommentCommentId(int)[reactions], + ReactionsDeleteForIssueCommentCommentId(long)[reactions], ReactionsDeleteForIssueCommentReactionId(int)[reactions], IssuesListEventsForRepoOwner(string)[issues], IssuesListEventsForRepoRepo(string)[issues], @@ -38137,25 +38555,25 @@ PullsListReviewCommentsForRepoPage(int)[pulls], PullsGetReviewCommentOwner(string)[pulls], PullsGetReviewCommentRepo(string)[pulls], - PullsGetReviewCommentCommentId(int)[pulls], + PullsGetReviewCommentCommentId(long)[pulls], PullsUpdateReviewCommentOwner(string)[pulls], PullsUpdateReviewCommentRepo(string)[pulls], - PullsUpdateReviewCommentCommentId(int)[pulls], + PullsUpdateReviewCommentCommentId(long)[pulls], PullsDeleteReviewCommentOwner(string)[pulls], PullsDeleteReviewCommentRepo(string)[pulls], - PullsDeleteReviewCommentCommentId(int)[pulls], + PullsDeleteReviewCommentCommentId(long)[pulls], ReactionsListForPullRequestReviewCommentOwner(string)[reactions], ReactionsListForPullRequestReviewCommentRepo(string)[reactions], - ReactionsListForPullRequestReviewCommentCommentId(int)[reactions], + ReactionsListForPullRequestReviewCommentCommentId(long)[reactions], ReactionsListForPullRequestReviewCommentContent(enum)[reactions], ReactionsListForPullRequestReviewCommentPerPage(int)[reactions], ReactionsListForPullRequestReviewCommentPage(int)[reactions], ReactionsCreateForPullRequestReviewCommentOwner(string)[reactions], ReactionsCreateForPullRequestReviewCommentRepo(string)[reactions], - ReactionsCreateForPullRequestReviewCommentCommentId(int)[reactions], + ReactionsCreateForPullRequestReviewCommentCommentId(long)[reactions], ReactionsDeleteForPullRequestCommentOwner(string)[reactions], ReactionsDeleteForPullRequestCommentRepo(string)[reactions], - ReactionsDeleteForPullRequestCommentCommentId(int)[reactions], + ReactionsDeleteForPullRequestCommentCommentId(long)[reactions], ReactionsDeleteForPullRequestCommentReactionId(int)[reactions], PullsGetOwner(string)[pulls], PullsGetRepo(string)[pulls], @@ -38180,7 +38598,7 @@ PullsCreateReplyForReviewCommentOwner(string)[pulls], PullsCreateReplyForReviewCommentRepo(string)[pulls], PullsCreateReplyForReviewCommentPullNumber(int)[pulls], - PullsCreateReplyForReviewCommentCommentId(int)[pulls], + PullsCreateReplyForReviewCommentCommentId(long)[pulls], PullsListCommitsOwner(string)[pulls], PullsListCommitsRepo(string)[pulls], PullsListCommitsPullNumber(int)[pulls], @@ -38314,6 +38732,7 @@ ReposGetRepoRulesetsPerPage(int)[repos], ReposGetRepoRulesetsPage(int)[repos], ReposGetRepoRulesetsIncludesParents(bool)[repos], + ReposGetRepoRulesetsTargets(string)[repos], ReposCreateRepoRulesetOwner(string)[repos], ReposCreateRepoRulesetRepo(string)[repos], ReposGetRepoRuleSuitesOwner(string)[repos], @@ -38360,6 +38779,8 @@ AlertNumber(ref)[secret-scanning], SecretScanningListLocationsForAlertPage(int)[secret-scanning], SecretScanningListLocationsForAlertPerPage(int)[secret-scanning], + SecretScanningCreatePushProtectionBypassOwner(string)[secret-scanning], + SecretScanningCreatePushProtectionBypassRepo(string)[secret-scanning], SecurityAdvisoriesListRepositoryAdvisoriesOwner(string)[security-advisories], SecurityAdvisoriesListRepositoryAdvisoriesRepo(string)[security-advisories], SecurityAdvisoriesListRepositoryAdvisoriesDirection(enum)[security-advisories], @@ -38728,9 +39149,15 @@ ActivityListWatchedReposForAuthenticatedUserPage(int)[activity], TeamsListForAuthenticatedUserPerPage(int)[teams], TeamsListForAuthenticatedUserPage(int)[teams], + UsersGetByIdAccountId(int)[users], UsersListSince(int)[users], UsersListPerPage(int)[users], UsersGetByUsernameUsername(string)[users], + UsersListAttestationsPerPage(int)[users], + UsersListAttestationsBefore(string)[users], + UsersListAttestationsAfter(string)[users], + UsersListAttestationsUsername(string)[users], + UsersListAttestationsSubjectDigest(string)[users], PackagesListDockerMigrationConflictingPackagesForUserUsername(string)[packages], ActivityListEventsForAuthenticatedUserUsername(string)[activity], ActivityListEventsForAuthenticatedUserPerPage(int)[activity], @@ -38894,7 +39321,7 @@ BasicError(ref)[apps], ClassroomAssignment(ref)[classroom], BasicError(ref)[classroom], - ClassroomListAcceptedAssigmentsForAnAssignmentResponse(array)[classroom], + ClassroomListAcceptedAssignmentsForAnAssignmentResponse(array)[classroom], ClassroomAcceptedAssignment(ref)[classroom], ClassroomGetAssignmentGradesResponse(array)[classroom], ClassroomAssignmentGrade(ref)[classroom], @@ -38911,6 +39338,14 @@ BasicError(ref)[codes-of-conduct], EmojisGetResponse(class)[emojis], EmojisGetResponse(string)[emojis], + CopilotListCopilotSeatsForEnterpriseResponse(class)[copilot], + TotalSeats(int)[copilot], + Seats(array)[copilot], + CopilotSeatDetails(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], CopilotUsageMetricsForEnterpriseResponse(array)[copilot], CopilotUsageMetrics(ref)[copilot], BasicError(ref)[copilot], @@ -38929,6 +39364,12 @@ Code(string)[secret-scanning], Message(string)[secret-scanning], DocumentationUrl(string)[secret-scanning], + CopilotUsageMetricsForEnterpriseTeamResponse(array)[copilot], + CopilotUsageMetrics(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], ActivityListPublicEventsResponse(array)[activity], Event(ref)[activity], BasicError(ref)[activity], @@ -39105,6 +39546,21 @@ Repository(ref)[actions], SelectedActions(ref)[actions], ActionsGetDefaultWorkflowPermissions(ref)[actions], + ActionsListSelfHostedRunnerGroupsForOrgResponse(class)[actions], + TotalCount(double)[actions], + RunnerGroups(array)[actions], + RunnerGroupsOrg(ref)[actions], + RunnerGroupsOrg(ref)[actions], + RunnerGroupsOrg(ref)[actions], + RunnerGroupsOrg(ref)[actions], + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse(class)[actions], + TotalCount(double)[actions], + Repositories(array)[actions], + MinimalRepository(ref)[actions], + ActionsListSelfHostedRunnersInGroupForOrgResponse(class)[actions], + TotalCount(double)[actions], + Runners(array)[actions], + Runner(ref)[actions], ActionsListSelfHostedRunnersForOrgResponse(class)[actions], TotalCount(int)[actions], Runners(array)[actions], @@ -39168,6 +39624,14 @@ TotalCount(int)[actions], Repositories(array)[actions], MinimalRepository(ref)[actions], + OrgsListAttestationsResponse(class)[orgs], + Attestations(array)[orgs], + OrgsListAttestationsResponseAttestation(class)[orgs], + OrgsListAttestationsResponseAttestationBundle(class)[orgs], + MediaType(string)[orgs], + OrgsListAttestationsResponseAttestationBundleVerificationMaterial(class)[orgs], + OrgsListAttestationsResponseAttestationBundleDsseEnvelope(class)[orgs], + RepositoryId(int)[orgs], OrgsListBlockedUsersResponse(array)[orgs], SimpleUser(ref)[orgs], BasicError(ref)[orgs], @@ -39179,6 +39643,38 @@ Code(string)[code-scanning], Message(string)[code-scanning], DocumentationUrl(string)[code-scanning], + CodeSecurityGetConfigurationsForOrgResponse(array)[code-security], + CodeSecurityConfiguration(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + CodeSecurityConfiguration(ref)[code-security], + CodeSecurityDefaultConfigurations(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + ScimError(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + CodeSecurityConfiguration(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + CodeSecurityConfiguration(ref)[code-security], + BasicError(ref)[code-security], + ScimError(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + CodeSecurityAttachConfigurationResponse(class)[code-security], + CodeSecuritySetConfigurationAsDefaultResponse(class)[code-security], + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos(enum)[code-security], + CodeSecurityConfiguration(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], + CodeSecurityGetRepositoriesForConfigurationResponse(array)[code-security], + CodeSecurityConfigurationRepositories(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], CodespacesListInOrganizationResponse(class)[codespaces], TotalCount(int)[codespaces], Codespaces(array)[codespaces], @@ -39386,10 +39882,6 @@ MigrationsListReposForOrgResponse(array)[migrations], MinimalRepository(ref)[migrations], BasicError(ref)[migrations], - OrgsListOrganizationFineGrainedPermissionsResponse(array)[orgs], - OrganizationFineGrainedPermission(ref)[orgs], - BasicError(ref)[orgs], - ValidationError(ref)[orgs], OrgsListOrgRolesResponse(class)[orgs], TotalCount(int)[orgs], Roles(array)[orgs], @@ -39397,20 +39889,12 @@ BasicError(ref)[orgs], ValidationError(ref)[orgs], OrganizationRole(ref)[orgs], - ValidationError(ref)[orgs], - BasicError(ref)[orgs], - BasicError(ref)[orgs], - OrganizationRole(ref)[orgs], BasicError(ref)[orgs], ValidationError(ref)[orgs], - OrganizationRole(ref)[orgs], - ValidationError(ref)[orgs], - BasicError(ref)[orgs], - BasicError(ref)[orgs], OrgsListOrgRoleTeamsResponse(array)[orgs], - Team(ref)[orgs], + TeamRoleAssignment(ref)[orgs], OrgsListOrgRoleUsersResponse(array)[orgs], - SimpleUser(ref)[orgs], + UserRoleAssignment(ref)[orgs], OrgsListOutsideCollaboratorsResponse(array)[orgs], SimpleUser(ref)[orgs], OrgsConvertMemberToOutsideCollaboratorResponse(class)[orgs], @@ -39491,17 +39975,17 @@ BasicError(ref)[projects], ValidationErrorSimple(ref)[projects], OrgsGetAllCustomPropertiesResponse(array)[orgs], - OrgCustomProperty(ref)[orgs], + CustomProperty(ref)[orgs], BasicError(ref)[orgs], BasicError(ref)[orgs], OrgsCreateOrUpdateCustomPropertiesResponse(array)[orgs], - OrgCustomProperty(ref)[orgs], + CustomProperty(ref)[orgs], BasicError(ref)[orgs], BasicError(ref)[orgs], - OrgCustomProperty(ref)[orgs], + CustomProperty(ref)[orgs], BasicError(ref)[orgs], BasicError(ref)[orgs], - OrgCustomProperty(ref)[orgs], + CustomProperty(ref)[orgs], BasicError(ref)[orgs], BasicError(ref)[orgs], BasicError(ref)[orgs], @@ -39559,6 +40043,12 @@ ActionsBillingUsage(ref)[billing], PackagesBillingUsage(ref)[billing], CombinedBillingUsage(ref)[billing], + CopilotUsageMetricsForTeamResponse(array)[copilot], + CopilotUsageMetrics(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], + BasicError(ref)[copilot], TeamsListResponse(array)[teams], Team(ref)[teams], BasicError(ref)[teams], @@ -39879,6 +40369,18 @@ SimpleUser(ref)[issues], BasicError(ref)[issues], BasicError(ref)[issues], + ReposCreateAttestationResponse(class)[repos], + Id(int)[repos], + BasicError(ref)[repos], + ValidationError(ref)[repos], + ReposListAttestationsResponse(class)[repos], + Attestations(array)[repos], + ReposListAttestationsResponseAttestation(class)[repos], + ReposListAttestationsResponseAttestationBundle(class)[repos], + MediaType(string)[repos], + ReposListAttestationsResponseAttestationBundleVerificationMaterial(class)[repos], + ReposListAttestationsResponseAttestationBundleDsseEnvelope(class)[repos], + RepositoryId(int)[repos], ReposListAutolinksResponse(array)[repos], Autolink(ref)[repos], Autolink(ref)[repos], @@ -40111,6 +40613,9 @@ Code(string)[code-scanning], Message(string)[code-scanning], DocumentationUrl(string)[code-scanning], + CodeSecurityConfigurationForRepository(ref)[code-security], + BasicError(ref)[code-security], + BasicError(ref)[code-security], CodeownersErrors(ref)[repos], CodespacesListInRepositoryForAuthenticatedUserResponse(class)[codespaces], TotalCount(int)[codespaces], @@ -40254,13 +40759,17 @@ ContentFile(ref)[repos], ContentSymlink(ref)[repos], ContentSubmodule(ref)[repos], + ReposGetContentResponseDiscriminator(class)[repos], + ReposGetContentResponseDiscriminatorType(enum)[repos], BasicError(ref)[repos], BasicError(ref)[repos], FileCommit(ref)[repos], FileCommit(ref)[repos], BasicError(ref)[repos], ValidationError(ref)[repos], - BasicError(ref)[repos], + ReposCreateOrUpdateFileContentsResponse(oneOf)[repos], + BasicError(ref)[repos], + RepositoryRuleViolationError(ref)[repos], FileCommit(ref)[repos], ValidationError(ref)[repos], BasicError(ref)[repos], @@ -40380,7 +40889,9 @@ BasicError(ref)[git], BasicError(ref)[git], BasicError(ref)[git], - ValidationError(ref)[git], + GitCreateBlobResponse(oneOf)[git], + ValidationError(ref)[git], + RepositoryRuleViolationError(ref)[git], Blob(ref)[git], BasicError(ref)[git], ValidationError(ref)[git], @@ -40863,6 +41374,11 @@ Code(string)[secret-scanning], Message(string)[secret-scanning], DocumentationUrl(string)[secret-scanning], + SecretScanningPushProtectionBypass(ref)[secret-scanning], + SecretScanningCreatePushProtectionBypassResponse(class)[secret-scanning], + Code(string)[secret-scanning], + Message(string)[secret-scanning], + DocumentationUrl(string)[secret-scanning], SecurityAdvisoriesListRepositoryAdvisoriesResponse(array)[security-advisories], RepositoryAdvisory(ref)[security-advisories], BasicError(ref)[security-advisories], @@ -41445,12 +41961,23 @@ TeamFull(ref)[teams], BasicError(ref)[teams], BasicError(ref)[teams], + UsersGetByIdResponse(oneOf)[users], + PrivateUser(ref)[users], + PublicUser(ref)[users], + BasicError(ref)[users], UsersListResponse(array)[users], SimpleUser(ref)[users], UsersGetByUsernameResponse(oneOf)[users], PrivateUser(ref)[users], PublicUser(ref)[users], BasicError(ref)[users], + UsersListAttestationsResponse(class)[users], + Attestations(array)[users], + UsersListAttestationsResponseAttestation(class)[users], + SigstoreBundle0(ref)[users], + RepositoryId(int)[users], + EmptyObject(ref)[users], + BasicError(ref)[users], PackagesListDockerMigrationConflictingPackagesForUserResponse(array)[packages], Package(ref)[packages], BasicError(ref)[packages], diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/Schemas/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/Schemas/_.verified.txt index 230d6e71af..11abbda932 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/Schemas/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/GitHub/Schemas/_.verified.txt @@ -42,11 +42,18 @@ FirstPatchedVersion(string), VulnerableFunctions(array), VulnerableFunctionsItem(string), + CvssSeverities(class), + CvssSeveritiesCvssV3(class), + VectorString(string), + Score(double), + CvssSeveritiesCvssV4(class), + VectorString(string), + Score(double), SimpleUser(class), Name(string), Email(string), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(Uri), GravatarId(string), @@ -92,10 +99,14 @@ GlobalAdvisoryCvss(class), VectorString(string), Score(double), + CvssSeverities(ref), Cwes(array), GlobalAdvisoryCwe(class), CweId(string), Name(string), + GlobalAdvisoryEpss(class), + Percentage(double), + Percentile(double), Credits(array), GlobalAdvisoryCredit(class), SimpleUser(ref), @@ -114,7 +125,7 @@ Name(string), Email(string), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(Uri), GravatarId(string), @@ -136,6 +147,7 @@ Id(int), Slug(string), NodeId(string), + ClientId(string), NullableSimpleUser(ref), Name(string), Description(string), @@ -153,7 +165,6 @@ Events(array), EventsItem(string), InstallationsCount(int), - ClientId(string), ClientSecret(string), WebhookSecret(string), Pem(string), @@ -180,6 +191,7 @@ Action(string), InstallationId(int), RepositoryId(int), + ThrottledAt(DateTime), ScimError(class), Message(string), DocumentationUrl(string), @@ -215,6 +227,7 @@ Action(string), InstallationId(int), RepositoryId(int), + ThrottledAt(DateTime), Url(string), HookDeliveryRequest(class), HookDeliveryRequestHeaders(class), @@ -323,7 +336,7 @@ NodeId(string), HtmlUrl(Uri), Repository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -445,7 +458,7 @@ RepositoriesUrl(Uri), SimpleUser(ref), Authorization(class), - Id(int), + Id(long), Url(Uri), Scopes(array), ScopesItem(string), @@ -561,6 +574,76 @@ Url(Uri), Body(string), HtmlUrl(Uri), + NullableOrganizationSimple(class), + Login(string), + Id(int), + NodeId(string), + Url(Uri), + ReposUrl(Uri), + EventsUrl(Uri), + HooksUrl(string), + IssuesUrl(string), + MembersUrl(string), + PublicMembersUrl(string), + AvatarUrl(string), + Description(string), + NullableTeamSimple(class), + Id(int), + NodeId(string), + Url(Uri), + MembersUrl(string), + Name(string), + Description(string), + Permission(string), + Privacy(string), + NotificationSetting(string), + HtmlUrl(Uri), + RepositoriesUrl(Uri), + Slug(string), + LdapDn(string), + Team(class), + Id(int), + NodeId(string), + Name(string), + Slug(string), + Description(string), + Privacy(string), + NotificationSetting(string), + Permission(string), + TeamPermissions(class), + Pull(bool), + Triage(bool), + Push(bool), + Maintain(bool), + Admin(bool), + Url(Uri), + HtmlUrl(Uri), + MembersUrl(string), + RepositoriesUrl(Uri), + NullableTeamSimple(ref), + EnterpriseTeam(class), + Id(long), + Name(string), + Slug(string), + Url(Uri), + SyncToOrganizations(string), + GroupId(int), + HtmlUrl(Uri), + MembersUrl(string), + CreatedAt(DateTime), + UpdatedAt(DateTime), + CopilotSeatDetails(class), + SimpleUser(ref), + NullableOrganizationSimple(ref), + AssigningTeam(oneOf), + Team(ref), + EnterpriseTeam(ref), + PendingCancellationDate(DateTime), + LastActivityAt(DateTime), + LastActivityEditor(string), + CreatedAt(DateTime), + UpdatedAt(DateTime), + CopilotSeatDetailsPlanType(enum), CopilotUsageMetrics(class), Day(DateTime), TotalSuggestionsCount(int), @@ -601,6 +684,7 @@ DependabotAlertSecurityAdvisoryCvss(class), Score(double), VectorString(string), + CvssSeverities(ref), Cwes(array), DependabotAlertSecurityAdvisoryCwe(class), CweId(string), @@ -623,7 +707,7 @@ AlertFixedAt(DateTime), AlertAutoDismissedAt(DateTime), SimpleRepository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -740,6 +824,7 @@ Id(int), Slug(string), NodeId(string), + ClientId(string), NullableSimpleUser(ref), Name(string), Description(string), @@ -757,7 +842,6 @@ Events(array), EventsItem(string), InstallationsCount(int), - ClientId(string), ClientSecret(string), WebhookSecret(string), Pem(string), @@ -920,7 +1004,7 @@ BaseGistHistoryItem(class), PublicUser(class), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(Uri), GravatarId(string), @@ -1148,8 +1232,12 @@ ActionsItem(string), ActionsMacos(array), ActionsMacosItem(string), + Codespaces(array), + CodespacesItem(string), Dependabot(array), DependabotItem(string), + Copilot(array), + CopilotItem(string), ApiOverviewDomains(class), Website(array), WebsiteItem(string), @@ -1161,6 +1249,10 @@ PackagesItem(string), Actions(array), ActionsItem(string), + ApiOverviewDomainsArtifactAttestations(class), + TrustDomain(string), + Services(array), + ServicesItem(string), SecurityAndAnalysis(class), SecurityAndAnalysisAdvancedSecurity(class), SecurityAndAnalysisAdvancedSecurityStatus(enum), @@ -1170,8 +1262,12 @@ SecurityAndAnalysisSecretScanningStatus(enum), SecurityAndAnalysisSecretScanningPushProtection(class), SecurityAndAnalysisSecretScanningPushProtectionStatus(enum), + SecurityAndAnalysisSecretScanningNonProviderPatterns(class), + SecurityAndAnalysisSecretScanningNonProviderPatternsStatus(enum), + SecurityAndAnalysisSecretScanningAiDetection(class), + SecurityAndAnalysisSecretScanningAiDetectionStatus(enum), MinimalRepository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -1336,7 +1432,6 @@ OwnedPrivateRepos(int), PrivateGists(int), DiskUsage(int), - Collaborators(int), BillingEmail(string), OrganizationFullPlan(class), Name(string), @@ -1399,6 +1494,21 @@ ActionsSetDefaultWorkflowPermissions(class), ActionsDefaultWorkflowPermissions(ref), ActionsCanApprovePullRequestReviews(ref), + RunnerGroupsOrg(class), + Id(double), + Name(string), + Visibility(string), + Default(bool), + SelectedRepositoriesUrl(string), + RunnersUrl(string), + HostedRunnersUrl(string), + Inherited(bool), + InheritedAllowsPublicRepositories(bool), + AllowsPublicRepositories(bool), + WorkflowRestrictionsReadOnly(bool), + RestrictedToWorkflows(bool), + SelectedWorkflows(array), + SelectedWorkflowsItem(string), RunnerLabel(class), Id(int), Name(string), @@ -1458,11 +1568,14 @@ CodeScanningAlertRuleSummary(class), Id(string), Name(string), - Tags(array), - TagsItem(string), CodeScanningAlertRuleSummarySeverity(enum), CodeScanningAlertRuleSummarySecuritySeverityLevel(enum), Description(string), + FullDescription(string), + Tags(array), + TagsItem(string), + Help(string), + HelpUri(string), CodeScanningAnalysisToolVersion(string), CodeScanningAnalysisTool(class), CodeScanningAnalysisToolName(ref), @@ -1509,6 +1622,36 @@ CodeScanningAnalysisTool(ref), CodeScanningAlertInstance(ref), SimpleRepository(ref), + CodeSecurityConfiguration(class), + Id(int), + Name(string), + CodeSecurityConfigurationTargetType(enum), + Description(string), + CodeSecurityConfigurationAdvancedSecurity(enum), + CodeSecurityConfigurationDependencyGraph(enum), + CodeSecurityConfigurationDependencyGraphAutosubmitAction(enum), + CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions(class), + LabeledRunners(bool), + CodeSecurityConfigurationDependabotAlerts(enum), + CodeSecurityConfigurationDependabotSecurityUpdates(enum), + CodeSecurityConfigurationCodeScanningDefaultSetup(enum), + CodeSecurityConfigurationSecretScanning(enum), + CodeSecurityConfigurationSecretScanningPushProtection(enum), + CodeSecurityConfigurationSecretScanningValidityChecks(enum), + CodeSecurityConfigurationSecretScanningNonProviderPatterns(enum), + CodeSecurityConfigurationPrivateVulnerabilityReporting(enum), + CodeSecurityConfigurationEnforcement(enum), + Url(Uri), + HtmlUrl(Uri), + CreatedAt(DateTime), + UpdatedAt(DateTime), + CodeSecurityDefaultConfigurations(array), + CodeSecurityDefaultConfiguration(class), + CodeSecurityDefaultConfigurationDefaultForNewRepos(enum), + CodeSecurityConfiguration(ref), + CodeSecurityConfigurationRepositories(class), + CodeSecurityConfigurationRepositoriesStatus(enum), + SimpleRepository(ref), NullableCodespaceMachine(class), Name(string), DisplayName(string), @@ -1518,7 +1661,7 @@ Cpus(int), NullableCodespaceMachinePrebuildAvailability(enum), Codespace(class), - Id(int), + Id(long), Name(string), DisplayName(string), EnvironmentId(string), @@ -1585,87 +1728,7 @@ CopilotOrganizationDetailsPlatformChat(enum), CopilotOrganizationDetailsCli(enum), CopilotOrganizationDetailsSeatManagementSetting(enum), - NullableTeamSimple(class), - Id(int), - NodeId(string), - Url(Uri), - MembersUrl(string), - Name(string), - Description(string), - Permission(string), - Privacy(string), - NotificationSetting(string), - HtmlUrl(Uri), - RepositoriesUrl(Uri), - Slug(string), - LdapDn(string), - Team(class), - Id(int), - NodeId(string), - Name(string), - Slug(string), - Description(string), - Privacy(string), - NotificationSetting(string), - Permission(string), - TeamPermissions(class), - Pull(bool), - Triage(bool), - Push(bool), - Maintain(bool), - Admin(bool), - Url(Uri), - HtmlUrl(Uri), - MembersUrl(string), - RepositoriesUrl(Uri), - NullableTeamSimple(ref), - Organization(class), - Login(string), - Url(Uri), - Id(int), - NodeId(string), - ReposUrl(Uri), - EventsUrl(Uri), - HooksUrl(string), - IssuesUrl(string), - MembersUrl(string), - PublicMembersUrl(string), - AvatarUrl(string), - Description(string), - Blog(Uri), - HtmlUrl(Uri), - Name(string), - Company(string), - Location(string), - Email(string), - HasOrganizationProjects(bool), - HasRepositoryProjects(bool), - IsVerified(bool), - PublicRepos(int), - PublicGists(int), - Followers(int), - Following(int), - Type(string), - CreatedAt(DateTime), - UpdatedAt(DateTime), - OrganizationPlan(class), - Name(string), - Space(int), - PrivateRepos(int), - FilledSeats(int), - Seats(int), - CopilotSeatDetails(class), - CopilotSeatDetailsAssignee(class), - SimpleUser(ref), - Team(ref), - Organization(ref), - AssigningTeam_AllOf1Wrapped(oneOf), - Team(ref), - PendingCancellationDate(DateTime), - LastActivityAt(DateTime), - LastActivityEditor(string), - CreatedAt(DateTime), - UpdatedAt(DateTime), + CopilotOrganizationDetailsPlanType(enum), OrganizationDependabotSecret(class), Name(string), CreatedAt(DateTime), @@ -1676,7 +1739,7 @@ KeyId(string), Key(string), NullableMinimalRepository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -1787,7 +1850,7 @@ CreatedAt(DateTime), UpdatedAt(DateTime), OrganizationInvitation(class), - Id(int), + Id(long), Login(string), Email(string), Role(string), @@ -1835,7 +1898,7 @@ OrgMembershipPermissions(class), CanCreateRepository(bool), Migration(class), - Id(int), + Id(long), NullableSimpleUser(ref), Guid(string), State(string), @@ -1855,11 +1918,8 @@ ArchiveUrl(Uri), Exclude(array), ExcludeItem(string), - OrganizationFineGrainedPermission(class), - Name(string), - Description(string), OrganizationRole(class), - Id(int), + Id(long), Name(string), Description(string), Permissions(array), @@ -1867,6 +1927,62 @@ NullableSimpleUser(ref), CreatedAt(DateTime), UpdatedAt(DateTime), + TeamRoleAssignment(class), + Id(int), + NodeId(string), + Name(string), + Slug(string), + Description(string), + Privacy(string), + NotificationSetting(string), + Permission(string), + TeamRoleAssignmentPermissions(class), + Pull(bool), + Triage(bool), + Push(bool), + Maintain(bool), + Admin(bool), + Url(Uri), + HtmlUrl(Uri), + MembersUrl(string), + RepositoriesUrl(Uri), + NullableTeamSimple(ref), + TeamSimple(class), + Id(int), + NodeId(string), + Url(Uri), + MembersUrl(string), + Name(string), + Description(string), + Permission(string), + Privacy(string), + NotificationSetting(string), + HtmlUrl(Uri), + RepositoriesUrl(Uri), + Slug(string), + LdapDn(string), + UserRoleAssignment(class), + Name(string), + Email(string), + Login(string), + Id(int), + NodeId(string), + AvatarUrl(Uri), + GravatarId(string), + Url(Uri), + HtmlUrl(Uri), + FollowersUrl(Uri), + FollowingUrl(string), + GistsUrl(string), + StarredUrl(string), + SubscriptionsUrl(Uri), + OrganizationsUrl(Uri), + ReposUrl(Uri), + EventsUrl(string), + ReceivedEventsUrl(Uri), + Type(string), + SiteAdmin(bool), + StarredAt(string), PackageVersion(class), Id(int), Name(string), @@ -1935,9 +2051,10 @@ UpdatedAt(DateTime), ProjectOrganizationPermission(enum), Private(bool), - OrgCustomProperty(class), + CustomProperty(class), PropertyName(string), - OrgCustomPropertyValueType(enum), + Url(Uri), + CustomPropertyValueType(enum), Required(bool), DefaultValue(oneOf), DefaultValueVariant1(string), @@ -1946,7 +2063,7 @@ Description(string), AllowedValues(array), AllowedValuesItem(string), - OrgCustomPropertyValuesEditableBy(enum), + CustomPropertyValuesEditableBy(enum), CustomPropertyValue(class), PropertyName(string), Value2(oneOf), @@ -1960,7 +2077,7 @@ Properties(array), CustomPropertyValue(ref), NullableRepository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -2067,7 +2184,7 @@ Name(string), HtmlUrl(Uri), FullRepository(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -2202,6 +2319,7 @@ Name(string), PropertyValues(array), PropertyValuesItem(string), + RepositoryRulesetConditionsRepositoryPropertySpecSource(enum), RepositoryRulesetConditionsRepositoryPropertyTarget(class), RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty(class), Include(array), @@ -2228,6 +2346,16 @@ RepositoryRuleDeletionType(enum), RepositoryRuleRequiredLinearHistory(class), RepositoryRuleRequiredLinearHistoryType(enum), + RepositoryRuleMergeQueue(class), + RepositoryRuleMergeQueueType(enum), + RepositoryRuleMergeQueueParameters(class), + CheckResponseTimeoutMinutes(int), + RepositoryRuleMergeQueueParametersGroupingStrategy(enum), + MaxEntriesToBuild(int), + MaxEntriesToMerge(int), + RepositoryRuleMergeQueueParametersMergeMethod(enum), + MinEntriesToMerge(int), + MinEntriesToMergeWaitMinutes(int), RepositoryRuleRequiredDeployments(class), RepositoryRuleRequiredDeploymentsType(enum), RepositoryRuleRequiredDeploymentsParameters(class), @@ -2249,6 +2377,7 @@ RepositoryRuleRequiredStatusChecks(class), RepositoryRuleRequiredStatusChecksType(enum), RepositoryRuleRequiredStatusChecksParameters(class), + DoNotEnforceOnCreate(bool), RequiredStatusChecks(array), RepositoryRuleParamsStatusCheckConfiguration(ref), StrictRequiredStatusChecksPolicy(bool), @@ -2300,6 +2429,7 @@ RepositoryRuleWorkflows(class), RepositoryRuleWorkflowsType(enum), RepositoryRuleWorkflowsParameters(class), + DoNotEnforceOnCreate(bool), Workflows(array), RepositoryRuleParamsWorkflowFileReference(ref), RepositoryRuleParamsCodeScanningTool(class), @@ -2316,6 +2446,7 @@ RepositoryRuleUpdate(ref), RepositoryRuleDeletion(ref), RepositoryRuleRequiredLinearHistory(ref), + RepositoryRuleMergeQueue(ref), RepositoryRuleRequiredDeployments(ref), RepositoryRuleRequiredSignatures(ref), RepositoryRulePullRequest(ref), @@ -2326,23 +2457,23 @@ RepositoryRuleCommitterEmailPattern(ref), RepositoryRuleBranchNamePattern(ref), RepositoryRuleTagNamePattern(ref), - RepositoryRuleVariant15(class), - RepositoryRuleVariant15Type(enum), - RepositoryRuleVariant15Parameters(class), - RestrictedFilePaths(array), - RestrictedFilePathsItem(string), RepositoryRuleVariant16(class), RepositoryRuleVariant16Type(enum), RepositoryRuleVariant16Parameters(class), - MaxFilePathLength(int), + RestrictedFilePaths(array), + RestrictedFilePathsItem(string), RepositoryRuleVariant17(class), RepositoryRuleVariant17Type(enum), RepositoryRuleVariant17Parameters(class), - RestrictedFileExtensions(array), - RestrictedFileExtensionsItem(string), + MaxFilePathLength(int), RepositoryRuleVariant18(class), RepositoryRuleVariant18Type(enum), RepositoryRuleVariant18Parameters(class), + RestrictedFileExtensions(array), + RestrictedFileExtensionsItem(string), + RepositoryRuleVariant19(class), + RepositoryRuleVariant19Type(enum), + RepositoryRuleVariant19Parameters(class), MaxFileSize(int), RepositoryRuleWorkflows(ref), RepositoryRuleCodeScanning(ref), @@ -2447,6 +2578,7 @@ RepositoryAdvisoryCvss(class), VectorString(string), Score(double), + CvssSeverities(ref), Cwes(array), RepositoryAdvisoryCwe(class), CweId(string), @@ -2465,20 +2597,6 @@ Team(ref), PrivateFork_AllOf1Wrapped(allOf), SimpleRepository(ref), - TeamSimple(class), - Id(int), - NodeId(string), - Url(Uri), - MembersUrl(string), - Name(string), - Description(string), - Permission(string), - Privacy(string), - NotificationSetting(string), - HtmlUrl(Uri), - RepositoriesUrl(Uri), - Slug(string), - LdapDn(string), ActionsBillingUsage(class), TotalMinutesUsed(int), TotalPaidMinutesUsed(int), @@ -2743,7 +2861,7 @@ MasterBranch(string), ProjectCard(class), Url(Uri), - Id(int), + Id(long), NodeId(string), Note(string), NullableSimpleUser(ref), @@ -2870,21 +2988,21 @@ Sha(string), Ref(string), PullRequestMinimal(class), - Id(int), + Id(long), Number(int), Url(string), PullRequestMinimalHead(class), Ref(string), Sha(string), PullRequestMinimalHeadRepo(class), - Id(int), + Id(long), Url(string), Name(string), PullRequestMinimalBase(class), Ref(string), Sha(string), PullRequestMinimalBaseRepo(class), - Id(int), + Id(long), Url(string), Name(string), NullableSimpleCommit(class), @@ -2960,7 +3078,7 @@ DeploymentReviewerType(enum), PendingDeployment(class), PendingDeploymentEnvironment(class), - Id(int), + Id(long), NodeId(string), Name(string), Url(string), @@ -2976,7 +3094,7 @@ Team(ref), Deployment(class), Url(Uri), - Id(int), + Id(long), NodeId(string), Sha(string), Ref(string), @@ -3101,7 +3219,7 @@ Users(array), BranchRestrictionPolicyUser(class), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(string), GravatarId(string), @@ -3163,6 +3281,7 @@ Type(string), SiteAdmin(bool), Name(string), + ClientId(string), Description(string), ExternalUrl(string), HtmlUrl(string), @@ -3246,8 +3365,12 @@ Sha(string), Url(Uri), Verification(ref), - NullableSimpleUser(ref), - NullableSimpleUser(ref), + Author(oneOf), + SimpleUser(ref), + EmptyObject(ref), + Committer(oneOf), + SimpleUser(ref), + EmptyObject(ref), Parents(array), CommitParent(class), Sha(string), @@ -3343,7 +3466,7 @@ ProductionEnvironment(bool), NullableIntegration(ref), CheckRun(class), - Id(int), + Id(long), HeadSha(string), NodeId(string), ExternalId(string), @@ -3570,6 +3693,9 @@ AnalysesUrl(Uri), Errors(array), ErrorsItem(string), + CodeSecurityConfigurationForRepository(class), + CodeSecurityConfigurationForRepositoryStatus(enum), + CodeSecurityConfiguration(ref), CodeownersErrors(class), Errors(array), CodeownersErrorsError(class), @@ -3596,7 +3722,7 @@ UpdatedAt(DateTime), Collaborator(class), Login(string), - Id(int), + Id(long), Email(string), Name(string), NodeId(string), @@ -3623,7 +3749,7 @@ Admin(bool), RoleName(string), RepositoryInvitation(class), - Id(int), + Id(long), MinimalRepository(ref), NullableSimpleUser(ref), NullableSimpleUser(ref), @@ -3635,7 +3761,7 @@ NodeId(string), NullableCollaborator(class), Login(string), - Id(int), + Id(long), Email(string), Name(string), NodeId(string), @@ -3695,7 +3821,7 @@ CommitMessage(string), PullRequestSimple(class), Url(Uri), - Id(int), + Id(long), NodeId(string), HtmlUrl(Uri), DiffUrl(Uri), @@ -3836,6 +3962,7 @@ Name(string), Path(string), Sha(string), + Content(string), Url(Uri), GitUrl(Uri), HtmlUrl(Uri), @@ -3846,7 +3973,6 @@ Size(int), Name(string), Path(string), - Content(string), Sha(string), Url(Uri), GitUrl(Uri), @@ -3966,6 +4092,17 @@ Reason(string), Signature(string), Payload(string), + SecretScanningPushProtectionBypassPlaceholderId(string), + RepositoryRuleViolationError(class), + Message(string), + DocumentationUrl(string), + Status(string), + RepositoryRuleViolationErrorMetadata(class), + RepositoryRuleViolationErrorMetadataSecretScanning(class), + BypassPlaceholders(array), + RepositoryRuleViolationErrorMetadataSecretScanningBypassPlaceholder(class), + SecretScanningPushProtectionBypassPlaceholderId(ref), + TokenType(string), Contributor(class), Login(string), Id(int), @@ -4051,6 +4188,7 @@ LicenseConcluded(string), LicenseDeclared(string), Supplier(string), + CopyrightText(string), ExternalRefs(array), DependencyGraphSpdxSbomSbomPackageExternalRef(class), ReferenceCategory(string), @@ -4093,7 +4231,7 @@ Scanned(DateTime), DeploymentStatus(class), Url(Uri), - Id(int), + Id(long), NodeId(string), DeploymentStatusState(enum), NullableSimpleUser(ref), @@ -4112,7 +4250,7 @@ ProtectedBranches(bool), CustomBranchPolicies(bool), Environment(class), - Id(int), + Id(long), NodeId(string), Name(string), Url(string), @@ -4695,8 +4833,8 @@ AuthorAssociation(ref), PullRequestReviewComment(class), Url(string), - PullRequestReviewId(int), - Id(int), + PullRequestReviewId(long), + Id(long), NodeId(string), DiffHunk(string), Path(string), @@ -4951,7 +5089,7 @@ CaaError(string), PullRequest(class), Url(Uri), - Id(int), + Id(long), NodeId(string), HtmlUrl(Uri), DiffUrl(Uri), @@ -5118,7 +5256,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), NodeId(string), Login(string), OrganizationsUrl(Uri), @@ -5251,7 +5389,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), NodeId(string), Login(string), OrganizationsUrl(Uri), @@ -5296,7 +5434,7 @@ Teams(array), Team(ref), PullRequestReview(class), - Id(int), + Id(long), NodeId(string), NullableSimpleUser(ref), Body(string), @@ -5315,8 +5453,8 @@ AuthorAssociation(ref), ReviewComment(class), Url(Uri), - PullRequestReviewId(int), - Id(int), + PullRequestReviewId(long), + Id(long), NodeId(string), DiffHunk(string), Path(string), @@ -5405,39 +5543,42 @@ RepositoryRuleRequiredLinearHistory(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant5(allOf), - RepositoryRuleRequiredDeployments(ref), + RepositoryRuleMergeQueue(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant6(allOf), - RepositoryRuleRequiredSignatures(ref), + RepositoryRuleRequiredDeployments(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant7(allOf), - RepositoryRulePullRequest(ref), + RepositoryRuleRequiredSignatures(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant8(allOf), - RepositoryRuleRequiredStatusChecks(ref), + RepositoryRulePullRequest(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant9(allOf), - RepositoryRuleNonFastForward(ref), + RepositoryRuleRequiredStatusChecks(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant10(allOf), - RepositoryRuleCommitMessagePattern(ref), + RepositoryRuleNonFastForward(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant11(allOf), - RepositoryRuleCommitAuthorEmailPattern(ref), + RepositoryRuleCommitMessagePattern(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant12(allOf), - RepositoryRuleCommitterEmailPattern(ref), + RepositoryRuleCommitAuthorEmailPattern(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant13(allOf), - RepositoryRuleBranchNamePattern(ref), + RepositoryRuleCommitterEmailPattern(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant14(allOf), - RepositoryRuleTagNamePattern(ref), + RepositoryRuleBranchNamePattern(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant15(allOf), - RepositoryRuleWorkflows(ref), + RepositoryRuleTagNamePattern(ref), RepositoryRuleRulesetInfo(ref), RepositoryRuleDetailedVariant16(allOf), + RepositoryRuleWorkflows(ref), + RepositoryRuleRulesetInfo(ref), + RepositoryRuleDetailedVariant17(allOf), RepositoryRuleCodeScanning(ref), RepositoryRuleRulesetInfo(ref), SecretScanningAlert(class), @@ -5518,6 +5659,11 @@ SecretScanningLocationPullRequestComment(ref), SecretScanningLocationPullRequestReview(ref), SecretScanningLocationPullRequestReviewComment(ref), + SecretScanningPushProtectionBypassReason(enum), + SecretScanningPushProtectionBypass(class), + SecretScanningPushProtectionBypassReason(ref), + ExpireAt(DateTime), + TokenType(string), RepositoryAdvisoryCreate(class), Summary(string), Description(string), @@ -5896,7 +6042,7 @@ RelationType(string), UserSearchResultItem(class), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(Uri), GravatarId(string), @@ -5931,7 +6077,7 @@ SuspendedAt(DateTime), PrivateUser(class), Login(string), - Id(int), + Id(long), NodeId(string), AvatarUrl(Uri), GravatarId(string), @@ -5995,7 +6141,7 @@ ExportUrl(string), HtmlUrl(string), CodespaceWithFullRepository(class), - Id(int), + Id(long), Name(string), DisplayName(string), EnvironmentId(string), @@ -6040,7 +6186,7 @@ Verified(bool), Visibility(string), GpgKey(class), - Id(int), + Id(long), Name(string), PrimaryKeyId(int), KeyId(string), @@ -6051,7 +6197,7 @@ Verified(bool), Subkeys(array), GpgKeySubkey(class), - Id(int), + Id(long), PrimaryKeyId(int), KeyId(string), PublicKey(string), @@ -6079,7 +6225,7 @@ RawKey(string), Key(class), Key1(string), - Id(int), + Id(long), Url(string), Title(string), CreatedAt(DateTime), @@ -6113,6 +6259,34 @@ StarredRepository(class), StarredAt(DateTime), Repository(ref), + SigstoreBundle0(class), + MediaType(string), + SigstoreBundle0VerificationMaterial(class), + SigstoreBundle0VerificationMaterialX509CertificateChain(class), + Certificates(array), + SigstoreBundle0VerificationMaterialX509CertificateChainCertificate(class), + RawBytes(string), + TlogEntries(array), + SigstoreBundle0VerificationMaterialTlogEntrie(class), + LogIndex(string), + SigstoreBundle0VerificationMaterialTlogEntrieLogId(class), + KeyId(string), + SigstoreBundle0VerificationMaterialTlogEntrieKindVersion(class), + Kind(string), + Version(string), + IntegratedTime(string), + SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise(class), + SignedEntryTimestamp(string), + InclusionProof(string), + CanonicalizedBody(string), + TimestampVerificationData(string), + SigstoreBundle0DsseEnvelope(class), + Payload(string), + PayloadType(string), + Signatures(array), + SigstoreBundle0DsseEnvelopeSignature(class), + Sig(string), + Keyid(string), Hovercard(class), Contexts(array), HovercardContext(class), @@ -6149,7 +6323,7 @@ AvatarUrl(string), Description(string), RepositoryWebhooks(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -6366,28 +6540,6 @@ MasterBranch(string), StarredAt(string), AnonymousAccessEnabled(bool), - SimpleUserWebhooks(class), - Name(string), - Email(string), - Login(string), - Id(int), - NodeId(string), - AvatarUrl(Uri), - GravatarId(string), - Url(Uri), - HtmlUrl(Uri), - FollowersUrl(Uri), - FollowingUrl(string), - GistsUrl(string), - StarredUrl(string), - SubscriptionsUrl(Uri), - OrganizationsUrl(Uri), - ReposUrl(Uri), - EventsUrl(string), - ReceivedEventsUrl(Uri), - Type(string), - SiteAdmin(bool), - StarredAt(string), WebhooksRule(class), AdminEnforced(bool), WebhooksRuleAllowDeletionsEnforcementLevel(enum), @@ -6402,6 +6554,8 @@ Id(int), IgnoreApprovalsFromContributors(bool), WebhooksRuleLinearHistoryRequirementEnforcementLevel(enum), + WebhooksRuleLockBranchEnforcementLevel(enum), + LockAllowsForkSync(bool), WebhooksRuleMergeQueueEnforcementLevel(enum), Name(string), WebhooksRulePullRequestReviewsEnforcementLevel(enum), @@ -6545,7 +6699,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -6590,7 +6744,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -6675,7 +6829,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -6687,6 +6841,8 @@ SubscriptionsUrl(Uri), DiscussionUserType(enum), Url(Uri), + Labels(array), + Label(ref), WebhooksComment(class), WebhooksCommentAuthorAssociation(enum), Body(string), @@ -6720,7 +6876,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -6787,7 +6943,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -7014,7 +7170,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -7276,7 +7432,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -7390,7 +7546,7 @@ BaseRef(string), SimpleCommit(ref), NullableRepositoryWebhooks(class), - Id(int), + Id(long), NodeId(string), Name(string), FullName(string), @@ -7660,7 +7816,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -7819,6 +7975,27 @@ CreatedAt(DateTime), UpdatedAt(DateTime), ArchivedAt(DateTime), + ProjectsV2SingleSelectOption(class), + Id(string), + Name(string), + Color(string), + Description(string), + ProjectsV2IterationSetting(class), + Id(string), + Title(string), + Duration(double), + StartDate(string), + ProjectsV2StatusUpdate(class), + Id(double), + NodeId(string), + ProjectNodeId(string), + SimpleUser(ref), + CreatedAt(DateTime), + UpdatedAt(DateTime), + ProjectsV2StatusUpdateStatus(enum), + StartDate(DateTime), + TargetDate(DateTime), + Body(string), WebhooksNumber(int), PullRequestWebhook(allOf), PullRequest(ref), @@ -7973,7 +8150,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -8070,7 +8247,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -8143,7 +8320,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -8240,7 +8417,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -8428,7 +8605,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -8493,7 +8670,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -8530,7 +8707,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -8769,6 +8946,7 @@ NullableSimpleUser(ref), ResolutionComment(string), SecretType(string), + SecretTypeDisplayName(string), SecretScanningAlertWebhookValidity(enum), PushProtectionBypassed(bool), NullableSimpleUser(ref), @@ -8777,6 +8955,7 @@ WebhooksSecurityAdvisoryCvss(class), Score(double), VectorString(string), + CvssSeverities(ref), Cwes(array), WebhooksSecurityAdvisoryCwe(class), CweId(string), @@ -8927,14 +9106,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookBranchProtectionConfigurationEnabled(class), WebhookBranchProtectionConfigurationEnabledAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookBranchProtectionRuleCreated(class), WebhookBranchProtectionRuleCreatedAction(enum), EnterpriseWebhooks(ref), @@ -8942,7 +9121,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksRule(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookBranchProtectionRuleDeleted(class), WebhookBranchProtectionRuleDeletedAction(enum), EnterpriseWebhooks(ref), @@ -8950,7 +9129,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksRule(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookBranchProtectionRuleEdited(class), WebhookBranchProtectionRuleEditedAction(enum), WebhookBranchProtectionRuleEditedChanges(class), @@ -8965,6 +9144,14 @@ From(bool), WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel(class), WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom(enum), + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel(class), + WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom(enum), + WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync(class), + From(bool), + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel(class), + WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom(enum), + WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval(class), + From(bool), WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks(class), From(array), FromItem(string), @@ -8975,14 +9162,14 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksRule(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckRunCompleted(class), WebhookCheckRunCompletedAction(enum), CheckRunWithSimpleCheckSuite(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckRunCompletedFormEncoded(class), Payload(string), WebhookCheckRunCreated(class), @@ -8991,7 +9178,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckRunCreatedFormEncoded(class), Payload(string), WebhookCheckRunRequestedAction(class), @@ -9002,7 +9189,7 @@ RepositoryWebhooks(ref), WebhookCheckRunRequestedActionRequestedAction(class), Identifier(string), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckRunRequestedActionFormEncoded(class), Payload(string), WebhookCheckRunRerequested(class), @@ -9011,7 +9198,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckRunRerequestedFormEncoded(class), Payload(string), WebhookCheckSuiteCompleted(class), @@ -9026,6 +9213,7 @@ ExternalUrl(Uri), HtmlUrl(Uri), Id(int), + ClientId(string), Name(string), NodeId(string), WebhookCheckSuiteCompletedCheckSuiteAppOwner(class), @@ -9140,7 +9328,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckSuiteRequested(class), WebhookCheckSuiteRequestedAction(enum), WebhookCheckSuiteRequestedCheckSuite(class), @@ -9153,6 +9341,7 @@ ExternalUrl(Uri), HtmlUrl(Uri), Id(int), + ClientId(string), Name(string), NodeId(string), WebhookCheckSuiteRequestedCheckSuiteAppOwner(class), @@ -9267,7 +9456,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCheckSuiteRerequested(class), WebhookCheckSuiteRerequestedAction(enum), WebhookCheckSuiteRerequestedCheckSuite(class), @@ -9280,6 +9469,7 @@ ExternalUrl(Uri), HtmlUrl(Uri), Id(int), + ClientId(string), Name(string), NodeId(string), WebhookCheckSuiteRerequestedCheckSuiteAppOwner(class), @@ -9394,7 +9584,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertAppearedInBranch(class), WebhookCodeScanningAlertAppearedInBranchAction(enum), WebhookCodeScanningAlertAppearedInBranchAlert(class), @@ -9457,7 +9647,7 @@ OrganizationSimpleWebhooks(ref), WebhooksCodeScanningRef(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertClosedByUser(class), WebhookCodeScanningAlertClosedByUserAction(enum), WebhookCodeScanningAlertClosedByUserAlert(class), @@ -9527,7 +9717,7 @@ OrganizationSimpleWebhooks(ref), WebhooksCodeScanningRef(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertCreated(class), WebhookCodeScanningAlertCreatedAction(enum), WebhookCodeScanningAlertCreatedAlert(class), @@ -9580,7 +9770,7 @@ OrganizationSimpleWebhooks(ref), WebhooksCodeScanningRef(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertFixed(class), WebhookCodeScanningAlertFixedAction(enum), WebhookCodeScanningAlertFixedAlert(class), @@ -9651,7 +9841,7 @@ OrganizationSimpleWebhooks(ref), WebhooksCodeScanningRef(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertReopened(class), WebhookCodeScanningAlertReopenedAction(enum), WebhookCodeScanningAlertReopenedAlert(class), @@ -9700,7 +9890,7 @@ OrganizationSimpleWebhooks(ref), Ref(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCodeScanningAlertReopenedByUser(class), WebhookCodeScanningAlertReopenedByUserAction(enum), WebhookCodeScanningAlertReopenedByUserAlert(class), @@ -9742,7 +9932,7 @@ OrganizationSimpleWebhooks(ref), WebhooksCodeScanningRef(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCommitCommentCreated(class), WebhookCommitCommentCreatedAction(enum), WebhookCommitCommentCreatedComment(class), @@ -9779,7 +9969,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -9795,7 +9985,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCreate(class), Description(string), EnterpriseWebhooks(ref), @@ -9806,14 +9996,14 @@ WebhooksRef0(ref), WebhookCreateRefType(enum), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCustomPropertyCreated(class), WebhookCustomPropertyCreatedAction(enum), - OrgCustomProperty(ref), + CustomProperty(ref), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCustomPropertyDeleted(class), WebhookCustomPropertyDeletedAction(enum), WebhookCustomPropertyDeletedDefinition(class), @@ -9821,21 +10011,21 @@ EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCustomPropertyUpdated(class), WebhookCustomPropertyUpdatedAction(enum), - OrgCustomProperty(ref), + CustomProperty(ref), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookCustomPropertyValuesUpdated(class), WebhookCustomPropertyValuesUpdatedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), RepositoryWebhooks(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), NewPropertyValues(array), CustomPropertyValue(ref), OldPropertyValues(array), @@ -9848,7 +10038,7 @@ WebhooksRef0(ref), WebhookDeleteRefType(enum), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertAutoDismissed(class), WebhookDependabotAlertAutoDismissedAction(enum), DependabotAlert(ref), @@ -9856,7 +10046,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertAutoReopened(class), WebhookDependabotAlertAutoReopenedAction(enum), DependabotAlert(ref), @@ -9864,7 +10054,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertCreated(class), WebhookDependabotAlertCreatedAction(enum), DependabotAlert(ref), @@ -9872,7 +10062,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertDismissed(class), WebhookDependabotAlertDismissedAction(enum), DependabotAlert(ref), @@ -9880,7 +10070,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertFixed(class), WebhookDependabotAlertFixedAction(enum), DependabotAlert(ref), @@ -9888,7 +10078,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertReintroduced(class), WebhookDependabotAlertReintroducedAction(enum), DependabotAlert(ref), @@ -9896,7 +10086,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDependabotAlertReopened(class), WebhookDependabotAlertReopenedAction(enum), DependabotAlert(ref), @@ -9904,7 +10094,7 @@ OrganizationSimpleWebhooks(ref), EnterpriseWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDeployKeyCreated(class), WebhookDeployKeyCreatedAction(enum), EnterpriseWebhooks(ref), @@ -9912,7 +10102,7 @@ WebhooksDeployKey(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDeployKeyDeleted(class), WebhookDeployKeyDeletedAction(enum), EnterpriseWebhooks(ref), @@ -9920,7 +10110,7 @@ WebhooksDeployKey(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDeploymentCreated(class), WebhookDeploymentCreatedAction(enum), WebhookDeploymentCreatedDeployment(class), @@ -10038,7 +10228,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksWorkflow(ref), WebhookDeploymentCreatedWorkflowRun(class), WebhookDeploymentCreatedWorkflowRunActor(class), @@ -10279,7 +10469,7 @@ RepositoryWebhooks(ref), OrganizationSimpleWebhooks(ref), SimpleInstallation(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDeploymentReviewApproved(class), WebhookDeploymentReviewApprovedAction(enum), WebhooksApprover(ref), @@ -10289,7 +10479,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksReviewers(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), Since(string), WebhooksWorkflowJobRun(ref), WorkflowJobRuns(array), @@ -10539,7 +10729,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksReviewers(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), Since(string), WebhooksWorkflowJobRun(ref), WorkflowJobRuns(array), @@ -10813,7 +11003,7 @@ WebhookDeploymentReviewRequestedReviewerReviewerType(enum), Url(Uri), WebhookDeploymentReviewRequestedReviewerType(enum), - SimpleUserWebhooks(ref), + SimpleUser(ref), Since(string), WebhookDeploymentReviewRequestedWorkflowJobRun(class), WebhookDeploymentReviewRequestedWorkflowJobRunConclusion(class), @@ -11288,7 +11478,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksWorkflow(ref), WebhookDeploymentStatusCreatedWorkflowRun(class), WebhookDeploymentStatusCreatedWorkflowRunActor(class), @@ -11526,7 +11716,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionCategoryChanged(class), WebhookDiscussionCategoryChangedAction(enum), WebhookDiscussionCategoryChangedChanges(class), @@ -11547,7 +11737,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionClosed(class), WebhookDiscussionClosedAction(enum), Discussion(ref), @@ -11555,7 +11745,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionCommentCreated(class), WebhookDiscussionCommentCreatedAction(enum), WebhooksComment(ref), @@ -11564,7 +11754,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionCommentDeleted(class), WebhookDiscussionCommentDeletedAction(enum), WebhooksComment(ref), @@ -11573,7 +11763,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionCommentEdited(class), WebhookDiscussionCommentEditedAction(enum), WebhookDiscussionCommentEditedChanges(class), @@ -11585,7 +11775,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionCreated(class), WebhookDiscussionCreatedAction(enum), Discussion(ref), @@ -11593,7 +11783,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionDeleted(class), WebhookDiscussionDeletedAction(enum), Discussion(ref), @@ -11601,7 +11791,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionEdited(class), WebhookDiscussionEditedAction(enum), WebhookDiscussionEditedChanges(class), @@ -11614,7 +11804,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionLabeled(class), WebhookDiscussionLabeledAction(enum), Discussion(ref), @@ -11623,7 +11813,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionLocked(class), WebhookDiscussionLockedAction(enum), Discussion(ref), @@ -11631,7 +11821,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionPinned(class), WebhookDiscussionPinnedAction(enum), Discussion(ref), @@ -11639,7 +11829,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionReopened(class), WebhookDiscussionReopenedAction(enum), Discussion(ref), @@ -11647,7 +11837,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionTransferred(class), WebhookDiscussionTransferredAction(enum), WebhookDiscussionTransferredChanges(class), @@ -11658,14 +11848,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionUnanswered(class), WebhookDiscussionUnansweredAction(enum), Discussion(ref), WebhooksAnswer(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionUnlabeled(class), WebhookDiscussionUnlabeledAction(enum), Discussion(ref), @@ -11674,7 +11864,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionUnlocked(class), WebhookDiscussionUnlockedAction(enum), Discussion(ref), @@ -11682,7 +11872,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookDiscussionUnpinned(class), WebhookDiscussionUnpinnedAction(enum), Discussion(ref), @@ -11690,7 +11880,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookFork(class), EnterpriseWebhooks(ref), Forkee(allOf), @@ -11716,7 +11906,6 @@ CreatedAt3(oneOf), CreatedAtVariant1(int), CreatedAtVariant2(DateTime), - WebhookForkForkeeVariant1CustomProperties(class), DefaultBranch(string), DeleteBranchOnMerge(bool), DeploymentsUrl(Uri), @@ -11741,7 +11930,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -11923,10 +12112,10 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookGithubAppAuthorizationRevoked(class), WebhookGithubAppAuthorizationRevokedAction(enum), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookGollum(class), EnterpriseWebhooks(ref), SimpleInstallation(ref), @@ -11940,7 +12129,7 @@ Summary(string), Title(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationCreated(class), WebhookInstallationCreatedAction(enum), EnterpriseWebhooks(ref), @@ -11949,7 +12138,7 @@ WebhooksRepositories(ref), RepositoryWebhooks(ref), WebhooksUser(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationDeleted(class), WebhookInstallationDeletedAction(enum), EnterpriseWebhooks(ref), @@ -11958,7 +12147,7 @@ WebhooksRepositories(ref), RepositoryWebhooks(ref), WebhookInstallationDeletedRequester(class), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationNewPermissionsAccepted(class), WebhookInstallationNewPermissionsAcceptedAction(enum), EnterpriseWebhooks(ref), @@ -11967,7 +12156,7 @@ WebhooksRepositories(ref), RepositoryWebhooks(ref), WebhookInstallationNewPermissionsAcceptedRequester(class), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationRepositoriesAdded(class), WebhookInstallationRepositoriesAddedAction(enum), EnterpriseWebhooks(ref), @@ -11984,7 +12173,7 @@ RepositoryWebhooks(ref), WebhooksRepositorySelection(ref), WebhooksUser(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationRepositoriesRemoved(class), WebhookInstallationRepositoriesRemovedAction(enum), EnterpriseWebhooks(ref), @@ -12001,7 +12190,7 @@ RepositoryWebhooks(ref), WebhooksRepositorySelection(ref), WebhooksUser(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationSuspend(class), WebhookInstallationSuspendAction(enum), EnterpriseWebhooks(ref), @@ -12010,7 +12199,7 @@ WebhooksRepositories(ref), RepositoryWebhooks(ref), WebhookInstallationSuspendRequester(class), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookInstallationTargetRenamed(class), WebhookInstallationTargetRenamedAccount(class), ArchivedAt(string), @@ -12059,7 +12248,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), TargetType(string), WebhookInstallationUnsuspend(class), WebhookInstallationUnsuspendAction(enum), @@ -12069,7 +12258,7 @@ WebhooksRepositories(ref), RepositoryWebhooks(ref), WebhookInstallationUnsuspendRequester(class), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssueCommentCreated(class), WebhookIssueCommentCreatedAction(enum), WebhookIssueCommentCreatedComment(class), @@ -12104,7 +12293,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -12331,7 +12520,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -12418,7 +12607,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(string), - Id(int), + Id(long), Login(string), NodeId(string), OrganizationsUrl(string), @@ -12431,7 +12620,7 @@ Url(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssueCommentDeleted(class), WebhookIssueCommentDeletedAction(enum), WebhooksIssueComment(ref), @@ -12650,7 +12839,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -12737,7 +12926,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(string), - Id(int), + Id(long), Login(string), NodeId(string), OrganizationsUrl(string), @@ -12750,7 +12939,7 @@ Url(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssueCommentEdited(class), WebhookIssueCommentEditedAction(enum), WebhooksChanges(ref), @@ -12970,7 +13159,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -13057,7 +13246,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(string), - Id(int), + Id(long), Login(string), NodeId(string), OrganizationsUrl(string), @@ -13070,7 +13259,7 @@ Url(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesAssigned(class), WebhookIssuesAssignedAction(enum), WebhooksUser(ref), @@ -13079,7 +13268,7 @@ WebhooksIssue(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesClosed(class), WebhookIssuesClosedAction(enum), EnterpriseWebhooks(ref), @@ -13297,7 +13486,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -13356,7 +13545,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(string), - Id(int), + Id(long), Login(string), NodeId(string), OrganizationsUrl(string), @@ -13369,7 +13558,7 @@ Url(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesDeleted(class), WebhookIssuesDeletedAction(enum), EnterpriseWebhooks(ref), @@ -13586,7 +13775,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -13600,7 +13789,7 @@ Url(Uri), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesDemilestoned(class), WebhookIssuesDemilestonedAction(enum), EnterpriseWebhooks(ref), @@ -13817,7 +14006,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -13832,7 +14021,7 @@ WebhooksMilestone(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesEdited(class), WebhookIssuesEditedAction(enum), WebhookIssuesEditedChanges(class), @@ -14054,7 +14243,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -14069,7 +14258,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesLabeled(class), WebhookIssuesLabeledAction(enum), EnterpriseWebhooks(ref), @@ -14286,7 +14475,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -14301,7 +14490,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesLocked(class), WebhookIssuesLockedAction(enum), EnterpriseWebhooks(ref), @@ -14518,7 +14707,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -14532,7 +14721,7 @@ Url(Uri), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesMilestoned(class), WebhookIssuesMilestonedAction(enum), EnterpriseWebhooks(ref), @@ -14749,7 +14938,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -14764,7 +14953,7 @@ WebhooksMilestone(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesOpened(class), WebhookIssuesOpenedAction(enum), WebhookIssuesOpenedChanges(class), @@ -14980,7 +15169,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -15040,7 +15229,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -15335,7 +15524,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -15349,7 +15538,7 @@ Url(Uri), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesPinned(class), WebhookIssuesPinnedAction(enum), EnterpriseWebhooks(ref), @@ -15357,7 +15546,7 @@ WebhooksIssue2(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesReopened(class), WebhookIssuesReopenedAction(enum), EnterpriseWebhooks(ref), @@ -15574,7 +15763,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -15588,7 +15777,7 @@ Url(Uri), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesTransferred(class), WebhookIssuesTransferredAction(enum), WebhookIssuesTransferredChanges(class), @@ -15804,7 +15993,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -15864,7 +16053,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -15950,7 +16139,7 @@ WebhooksIssue2(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesUnassigned(class), WebhookIssuesUnassignedAction(enum), WebhooksUserMannequin(ref), @@ -15959,7 +16148,7 @@ WebhooksIssue(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesUnlabeled(class), WebhookIssuesUnlabeledAction(enum), EnterpriseWebhooks(ref), @@ -15968,7 +16157,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesUnlocked(class), WebhookIssuesUnlockedAction(enum), EnterpriseWebhooks(ref), @@ -16185,7 +16374,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -16199,7 +16388,7 @@ Url(Uri), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookIssuesUnpinned(class), WebhookIssuesUnpinnedAction(enum), EnterpriseWebhooks(ref), @@ -16207,7 +16396,7 @@ WebhooksIssue2(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookLabelCreated(class), WebhookLabelCreatedAction(enum), EnterpriseWebhooks(ref), @@ -16215,7 +16404,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookLabelDeleted(class), WebhookLabelDeletedAction(enum), EnterpriseWebhooks(ref), @@ -16223,7 +16412,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookLabelEdited(class), WebhookLabelEditedAction(enum), WebhookLabelEditedChanges(class), @@ -16238,7 +16427,7 @@ WebhooksLabel(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMarketplacePurchaseCancelled(class), WebhookMarketplacePurchaseCancelledAction(enum), EffectiveDate(string), @@ -16248,7 +16437,7 @@ OrganizationSimpleWebhooks(ref), WebhooksPreviousMarketplacePurchase(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMarketplacePurchaseChanged(class), WebhookMarketplacePurchaseChangedAction(enum), EffectiveDate(string), @@ -16280,7 +16469,7 @@ YearlyPriceInCents(int), UnitCount(int), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMarketplacePurchasePendingChange(class), WebhookMarketplacePurchasePendingChangeAction(enum), EffectiveDate(string), @@ -16312,7 +16501,7 @@ YearlyPriceInCents(int), UnitCount(int), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMarketplacePurchasePendingChangeCancelled(class), WebhookMarketplacePurchasePendingChangeCancelledAction(enum), EffectiveDate(string), @@ -16344,7 +16533,7 @@ OrganizationSimpleWebhooks(ref), WebhooksPreviousMarketplacePurchase(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMarketplacePurchasePurchased(class), WebhookMarketplacePurchasePurchasedAction(enum), EffectiveDate(string), @@ -16354,7 +16543,7 @@ OrganizationSimpleWebhooks(ref), WebhooksPreviousMarketplacePurchase(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMemberAdded(class), WebhookMemberAddedAction(enum), WebhookMemberAddedChanges(class), @@ -16367,7 +16556,7 @@ WebhooksUser(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMemberEdited(class), WebhookMemberEditedAction(enum), WebhookMemberEditedChanges(class), @@ -16381,7 +16570,7 @@ WebhooksUser(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMemberRemoved(class), WebhookMemberRemovedAction(enum), EnterpriseWebhooks(ref), @@ -16389,7 +16578,7 @@ WebhooksUser(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMembershipAdded(class), WebhookMembershipAddedAction(enum), EnterpriseWebhooks(ref), @@ -16458,7 +16647,7 @@ MergeGroup(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMergeGroupDestroyed(class), WebhookMergeGroupDestroyedAction(enum), WebhookMergeGroupDestroyedReason(enum), @@ -16466,7 +16655,7 @@ MergeGroup(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMetaDeleted(class), WebhookMetaDeletedAction(enum), EnterpriseWebhooks(ref), @@ -16488,7 +16677,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), NullableRepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMilestoneClosed(class), WebhookMilestoneClosedAction(enum), EnterpriseWebhooks(ref), @@ -16496,7 +16685,7 @@ WebhooksMilestone(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMilestoneCreated(class), WebhookMilestoneCreatedAction(enum), EnterpriseWebhooks(ref), @@ -16504,7 +16693,7 @@ WebhooksMilestone3(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMilestoneDeleted(class), WebhookMilestoneDeletedAction(enum), EnterpriseWebhooks(ref), @@ -16512,7 +16701,7 @@ WebhooksMilestone(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMilestoneEdited(class), WebhookMilestoneEditedAction(enum), WebhookMilestoneEditedChanges(class), @@ -16527,7 +16716,7 @@ WebhooksMilestone(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookMilestoneOpened(class), WebhookMilestoneOpenedAction(enum), EnterpriseWebhooks(ref), @@ -16535,7 +16724,7 @@ WebhooksMilestone3(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrgBlockBlocked(class), WebhookOrgBlockBlockedAction(enum), WebhooksUser(ref), @@ -16543,7 +16732,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrgBlockUnblocked(class), WebhookOrgBlockUnblockedAction(enum), WebhooksUser(ref), @@ -16551,7 +16740,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrganizationDeleted(class), WebhookOrganizationDeletedAction(enum), EnterpriseWebhooks(ref), @@ -16559,7 +16748,7 @@ WebhooksMembership(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrganizationMemberAdded(class), WebhookOrganizationMemberAddedAction(enum), EnterpriseWebhooks(ref), @@ -16567,7 +16756,7 @@ WebhooksMembership(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrganizationMemberInvited(class), WebhookOrganizationMemberInvitedAction(enum), EnterpriseWebhooks(ref), @@ -16608,7 +16797,7 @@ InvitationSource(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksUser(ref), WebhookOrganizationMemberRemoved(class), WebhookOrganizationMemberRemovedAction(enum), @@ -16617,7 +16806,7 @@ WebhooksMembership(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookOrganizationRenamed(class), WebhookOrganizationRenamedAction(enum), WebhookOrganizationRenamedChanges(class), @@ -16628,7 +16817,7 @@ WebhooksMembership(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRubygemsMetadata(class), Name(string), Description(string), @@ -16851,7 +17040,7 @@ Vendor(string), UpdatedAt(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPackageUpdated(class), WebhookPackageUpdatedAction(enum), EnterpriseWebhooks(ref), @@ -16992,7 +17181,7 @@ Vendor(string), UpdatedAt(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPageBuild(class), WebhookPageBuildBuild(class), Commit(string), @@ -17030,30 +17219,34 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPersonalAccessTokenRequestApproved(class), WebhookPersonalAccessTokenRequestApprovedAction(enum), PersonalAccessTokenRequest(ref), + EnterpriseWebhooks(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), SimpleInstallation(ref), WebhookPersonalAccessTokenRequestCancelled(class), WebhookPersonalAccessTokenRequestCancelledAction(enum), PersonalAccessTokenRequest(ref), + EnterpriseWebhooks(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), SimpleInstallation(ref), WebhookPersonalAccessTokenRequestCreated(class), WebhookPersonalAccessTokenRequestCreatedAction(enum), PersonalAccessTokenRequest(ref), + EnterpriseWebhooks(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), SimpleInstallation(ref), WebhookPersonalAccessTokenRequestDenied(class), WebhookPersonalAccessTokenRequestDeniedAction(enum), PersonalAccessTokenRequest(ref), OrganizationSimpleWebhooks(ref), - SimpleUserWebhooks(ref), + EnterpriseWebhooks(ref), + SimpleUser(ref), SimpleInstallation(ref), WebhookPing(class), WebhookPingHook(class), @@ -17079,7 +17272,7 @@ HookId(int), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), Zen(string), WebhookPingFormEncoded(class), Payload(string), @@ -17093,7 +17286,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectCard(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectCardCreated(class), WebhookProjectCardCreatedAction(enum), EnterpriseWebhooks(ref), @@ -17101,7 +17294,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectCard(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectCardDeleted(class), WebhookProjectCardDeletedAction(enum), EnterpriseWebhooks(ref), @@ -17143,7 +17336,7 @@ UpdatedAt(DateTime), Url(Uri), NullableRepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectCardEdited(class), WebhookProjectCardEditedAction(enum), WebhookProjectCardEditedChanges(class), @@ -17154,7 +17347,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectCard(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectCardMoved(class), WebhookProjectCardMovedAction(enum), WebhookProjectCardMovedChanges(class), @@ -17231,7 +17424,7 @@ UpdatedAt(string), Url(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectClosed(class), WebhookProjectClosedAction(enum), EnterpriseWebhooks(ref), @@ -17239,7 +17432,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProject(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectColumnCreated(class), WebhookProjectColumnCreatedAction(enum), EnterpriseWebhooks(ref), @@ -17247,7 +17440,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectColumn(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectColumnDeleted(class), WebhookProjectColumnDeletedAction(enum), EnterpriseWebhooks(ref), @@ -17255,7 +17448,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectColumn(ref), NullableRepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectColumnEdited(class), WebhookProjectColumnEditedAction(enum), WebhookProjectColumnEditedChanges(class), @@ -17266,7 +17459,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectColumn(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectColumnMoved(class), WebhookProjectColumnMovedAction(enum), EnterpriseWebhooks(ref), @@ -17274,7 +17467,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProjectColumn(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectCreated(class), WebhookProjectCreatedAction(enum), EnterpriseWebhooks(ref), @@ -17282,7 +17475,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProject(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectDeleted(class), WebhookProjectDeletedAction(enum), EnterpriseWebhooks(ref), @@ -17290,7 +17483,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProject(ref), NullableRepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectEdited(class), WebhookProjectEditedAction(enum), WebhookProjectEditedChanges(class), @@ -17303,7 +17496,7 @@ OrganizationSimpleWebhooks(ref), WebhooksProject(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectReopened(class), WebhookProjectReopenedAction(enum), EnterpriseWebhooks(ref), @@ -17311,25 +17504,25 @@ OrganizationSimpleWebhooks(ref), WebhooksProject(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ProjectClosed(class), WebhookProjectsV2ProjectClosedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ProjectCreated(class), WebhookProjectsV2ProjectCreatedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ProjectDeleted(class), WebhookProjectsV2ProjectDeletedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ProjectEdited(class), WebhookProjectsV2ProjectEditedAction(enum), WebhookProjectsV2ProjectEditedChanges(class), @@ -17348,14 +17541,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemArchived(class), WebhookProjectsV2ItemArchivedAction(enum), WebhooksProjectChanges(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemConverted(class), WebhookProjectsV2ItemConvertedAction(enum), WebhookProjectsV2ItemConvertedChanges(class), @@ -17365,19 +17558,19 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemCreated(class), WebhookProjectsV2ItemCreatedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemDeleted(class), WebhookProjectsV2ItemDeletedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemEdited(class), WebhookProjectsV2ItemEditedAction(enum), Changes(oneOf), @@ -17385,6 +17578,18 @@ WebhookProjectsV2ItemEditedChangesVariant1FieldValue(class), FieldNodeId(string), FieldType(string), + FieldName(string), + ProjectNumber(int), + From(oneOf), + FromVariant1(string), + FromVariant2(int), + ProjectsV2SingleSelectOption(ref), + ProjectsV2IterationSetting(ref), + To(oneOf), + ToVariant1(string), + ToVariant2(int), + ProjectsV2SingleSelectOption(ref), + ProjectsV2IterationSetting(ref), WebhookProjectsV2ItemEditedChangesVariant2(class), WebhookProjectsV2ItemEditedChangesVariant2Body(class), From(string), @@ -17392,7 +17597,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemReordered(class), WebhookProjectsV2ItemReorderedAction(enum), WebhookProjectsV2ItemReorderedChanges(class), @@ -17402,26 +17607,57 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ItemRestored(class), WebhookProjectsV2ItemRestoredAction(enum), WebhooksProjectChanges(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2Item(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookProjectsV2ProjectReopened(class), WebhookProjectsV2ProjectReopenedAction(enum), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), ProjectsV2(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), + WebhookProjectsV2StatusUpdateCreated(class), + WebhookProjectsV2StatusUpdateCreatedAction(enum), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + ProjectsV2StatusUpdate(ref), + SimpleUser(ref), + WebhookProjectsV2StatusUpdateDeleted(class), + WebhookProjectsV2StatusUpdateDeletedAction(enum), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + ProjectsV2StatusUpdate(ref), + SimpleUser(ref), + WebhookProjectsV2StatusUpdateEdited(class), + WebhookProjectsV2StatusUpdateEditedAction(enum), + WebhookProjectsV2StatusUpdateEditedChanges(class), + WebhookProjectsV2StatusUpdateEditedChangesBody(class), + From(string), + To(string), + WebhookProjectsV2StatusUpdateEditedChangesStatus(class), + WebhookProjectsV2StatusUpdateEditedChangesStatusFrom(enum), + WebhookProjectsV2StatusUpdateEditedChangesStatusTo(enum), + WebhookProjectsV2StatusUpdateEditedChangesStartDate(class), + From(DateTime), + To(DateTime), + WebhookProjectsV2StatusUpdateEditedChangesTargetDate(class), + From(DateTime), + To(DateTime), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + ProjectsV2StatusUpdate(ref), + SimpleUser(ref), WebhookPublic(class), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestAssigned(class), WebhookPullRequestAssignedAction(enum), WebhooksUser(ref), @@ -17571,7 +17807,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -17668,7 +17904,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -17741,7 +17977,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -17838,7 +18074,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -18026,7 +18262,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -18039,7 +18275,7 @@ WebhookPullRequestAssignedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestAutoMergeDisabled(class), WebhookPullRequestAutoMergeDisabledAction(enum), EnterpriseWebhooks(ref), @@ -18188,7 +18424,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -18285,7 +18521,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -18358,7 +18594,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -18455,7 +18691,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -18643,7 +18879,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -18657,7 +18893,7 @@ Url(Uri), Reason(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestAutoMergeEnabled(class), WebhookPullRequestAutoMergeEnabledAction(enum), EnterpriseWebhooks(ref), @@ -18806,7 +19042,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -18903,7 +19139,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19073,7 +19309,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19261,7 +19497,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19275,7 +19511,7 @@ Url(Uri), Reason(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestClosed(class), WebhookPullRequestClosedAction(enum), EnterpriseWebhooks(ref), @@ -19284,7 +19520,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestConvertedToDraft(class), WebhookPullRequestConvertedToDraftAction(enum), EnterpriseWebhooks(ref), @@ -19293,7 +19529,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestDemilestoned(class), WebhookPullRequestDemilestonedAction(enum), EnterpriseWebhooks(ref), @@ -19302,7 +19538,7 @@ OrganizationSimpleWebhooks(ref), WebhooksPullRequest5(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestDequeued(class), WebhookPullRequestDequeuedAction(enum), EnterpriseWebhooks(ref), @@ -19451,7 +19687,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -19548,7 +19784,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19621,7 +19857,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -19718,7 +19954,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19906,7 +20142,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -19918,9 +20154,9 @@ SubscriptionsUrl(Uri), WebhookPullRequestDequeuedPullRequestUserType(enum), Url(Uri), - Reason(string), + WebhookPullRequestDequeuedReason(enum), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestEdited(class), WebhookPullRequestEditedAction(enum), WebhookPullRequestEditedChanges(class), @@ -19939,7 +20175,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestEnqueued(class), WebhookPullRequestEnqueuedAction(enum), EnterpriseWebhooks(ref), @@ -20088,7 +20324,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -20185,7 +20421,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -20258,7 +20494,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -20355,7 +20591,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -20543,7 +20779,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -20556,7 +20792,7 @@ WebhookPullRequestEnqueuedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestLabeled(class), WebhookPullRequestLabeledAction(enum), EnterpriseWebhooks(ref), @@ -20706,7 +20942,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -20803,7 +21039,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -20876,7 +21112,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -20973,7 +21209,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -21161,7 +21397,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -21174,7 +21410,7 @@ WebhookPullRequestLabeledPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestLocked(class), WebhookPullRequestLockedAction(enum), EnterpriseWebhooks(ref), @@ -21323,7 +21559,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -21420,7 +21656,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -21493,7 +21729,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -21590,7 +21826,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -21778,7 +22014,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -21791,7 +22027,7 @@ WebhookPullRequestLockedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestMilestoned(class), WebhookPullRequestMilestonedAction(enum), EnterpriseWebhooks(ref), @@ -21800,7 +22036,7 @@ OrganizationSimpleWebhooks(ref), WebhooksPullRequest5(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestOpened(class), WebhookPullRequestOpenedAction(enum), EnterpriseWebhooks(ref), @@ -21809,7 +22045,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReadyForReview(class), WebhookPullRequestReadyForReviewAction(enum), EnterpriseWebhooks(ref), @@ -21818,7 +22054,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReopened(class), WebhookPullRequestReopenedAction(enum), EnterpriseWebhooks(ref), @@ -21827,7 +22063,7 @@ OrganizationSimpleWebhooks(ref), PullRequestWebhook(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewCommentCreated(class), WebhookPullRequestReviewCommentCreatedAction(enum), WebhookPullRequestReviewCommentCreatedComment(class), @@ -21883,7 +22119,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -22039,7 +22275,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -22136,7 +22372,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -22205,7 +22441,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -22302,7 +22538,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -22462,7 +22698,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -22475,7 +22711,7 @@ WebhookPullRequestReviewCommentCreatedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewCommentDeleted(class), WebhookPullRequestReviewCommentDeletedAction(enum), WebhooksReviewComment(ref), @@ -22623,7 +22859,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -22720,7 +22956,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -22789,7 +23025,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -22886,7 +23122,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23046,7 +23282,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23059,7 +23295,7 @@ WebhookPullRequestReviewCommentDeletedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewCommentEdited(class), WebhookPullRequestReviewCommentEditedAction(enum), WebhooksChanges(ref), @@ -23208,7 +23444,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -23305,7 +23541,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23374,7 +23610,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -23471,7 +23707,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23631,7 +23867,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23644,7 +23880,7 @@ WebhookPullRequestReviewCommentEditedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewDismissed(class), WebhookPullRequestReviewDismissedAction(enum), EnterpriseWebhooks(ref), @@ -23791,7 +24027,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -23888,7 +24124,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -23957,7 +24193,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -24054,7 +24290,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24214,7 +24450,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24252,7 +24488,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24264,7 +24500,7 @@ SubscriptionsUrl(Uri), WebhookPullRequestReviewDismissedReviewUserType(enum), Url(Uri), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewEdited(class), WebhookPullRequestReviewEditedAction(enum), WebhookPullRequestReviewEditedChanges(class), @@ -24413,7 +24649,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -24504,7 +24740,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24572,7 +24808,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -24663,7 +24899,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24823,7 +25059,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -24837,7 +25073,7 @@ Url(Uri), RepositoryWebhooks(ref), WebhooksReview(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewRequestRemoved(oneOf), WebhookPullRequestReviewRequestRemovedVariant1(class), WebhookPullRequestReviewRequestRemovedVariant1Action(enum), @@ -24987,7 +25223,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -25084,7 +25320,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -25157,7 +25393,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -25254,7 +25490,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -25442,7 +25678,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -25477,7 +25713,7 @@ SubscriptionsUrl(Uri), WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType(enum), Url(Uri), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewRequestRemovedVariant2(class), WebhookPullRequestReviewRequestRemovedVariant2Action(enum), EnterpriseWebhooks(ref), @@ -25626,7 +25862,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -25723,7 +25959,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -25796,7 +26032,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -25893,7 +26129,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -26081,7 +26317,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -26119,7 +26355,7 @@ RepositoriesUrl(Uri), Slug(string), Url(Uri), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewRequested(oneOf), WebhookPullRequestReviewRequestedVariant1(class), WebhookPullRequestReviewRequestedVariant1Action(enum), @@ -26269,7 +26505,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -26366,7 +26602,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -26439,7 +26675,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -26536,7 +26772,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -26724,7 +26960,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -26759,7 +26995,7 @@ SubscriptionsUrl(Uri), WebhookPullRequestReviewRequestedVariant1RequestedReviewerType(enum), Url(Uri), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewRequestedVariant2(class), WebhookPullRequestReviewRequestedVariant2Action(enum), EnterpriseWebhooks(ref), @@ -26908,7 +27144,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -27005,7 +27241,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27078,7 +27314,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -27175,7 +27411,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27363,7 +27599,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27401,7 +27637,7 @@ RepositoriesUrl(Uri), Slug(string), Url(Uri), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewSubmitted(class), WebhookPullRequestReviewSubmittedAction(enum), EnterpriseWebhooks(ref), @@ -27548,7 +27784,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -27645,7 +27881,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27714,7 +27950,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -27811,7 +28047,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27971,7 +28207,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -27985,7 +28221,7 @@ Url(Uri), RepositoryWebhooks(ref), WebhooksReview(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewThreadResolved(class), WebhookPullRequestReviewThreadResolvedAction(enum), EnterpriseWebhooks(ref), @@ -28132,7 +28368,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -28224,7 +28460,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -28293,7 +28529,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -28385,7 +28621,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -28545,7 +28781,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -28558,7 +28794,7 @@ WebhookPullRequestReviewThreadResolvedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewThreadResolvedThread(class), Comments(array), WebhookPullRequestReviewThreadResolvedThreadComment(class), @@ -28614,7 +28850,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -28773,7 +29009,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -28865,7 +29101,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -28934,7 +29170,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -29026,7 +29262,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29186,7 +29422,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29199,7 +29435,7 @@ WebhookPullRequestReviewThreadUnresolvedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestReviewThreadUnresolvedThread(class), Comments(array), WebhookPullRequestReviewThreadUnresolvedThreadComment(class), @@ -29255,7 +29491,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29418,7 +29654,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -29515,7 +29751,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29588,7 +29824,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -29685,7 +29921,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29873,7 +30109,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -29886,7 +30122,7 @@ WebhookPullRequestSynchronizePullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestUnassigned(class), WebhookPullRequestUnassignedAction(enum), WebhooksUserMannequin(ref), @@ -30036,7 +30272,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -30133,7 +30369,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -30206,7 +30442,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -30303,7 +30539,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -30491,7 +30727,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -30504,7 +30740,7 @@ WebhookPullRequestUnassignedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestUnlabeled(class), WebhookPullRequestUnlabeledAction(enum), EnterpriseWebhooks(ref), @@ -30654,7 +30890,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -30751,7 +30987,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -30824,7 +31060,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -30921,7 +31157,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -31109,7 +31345,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -31122,7 +31358,7 @@ WebhookPullRequestUnlabeledPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPullRequestUnlocked(class), WebhookPullRequestUnlockedAction(enum), EnterpriseWebhooks(ref), @@ -31271,7 +31507,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -31368,7 +31604,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -31441,7 +31677,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -31538,7 +31774,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -31726,7 +31962,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -31739,7 +31975,7 @@ WebhookPullRequestUnlockedPullRequestUserType(enum), Url(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookPush(class), After(string), WebhooksNullableString(ref), @@ -31852,7 +32088,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -31933,7 +32169,7 @@ Watchers(int), WatchersCount(int), WebCommitSignoffRequired(bool), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRegistryPackagePublished(class), WebhookRegistryPackagePublishedAction(enum), EnterpriseWebhooks(ref), @@ -32015,7 +32251,7 @@ Name(string), Version(string), NpmUser(string), - Author(oneOf), + Author2(oneOf), AuthorVariant1(string), WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor(class), Bugs(oneOf), @@ -32142,7 +32378,7 @@ Vendor(string), UpdatedAt(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRegistryPackageUpdated(class), WebhookRegistryPackageUpdatedAction(enum), EnterpriseWebhooks(ref), @@ -32268,7 +32504,7 @@ WebhookRegistryPackageUpdatedRegistryPackageRegistry(class), UpdatedAt(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleaseCreated(class), WebhookReleaseCreatedAction(enum), EnterpriseWebhooks(ref), @@ -32276,7 +32512,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleaseDeleted(class), WebhookReleaseDeletedAction(enum), EnterpriseWebhooks(ref), @@ -32284,7 +32520,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleaseEdited(class), WebhookReleaseEditedAction(enum), WebhookReleaseEditedChanges(class), @@ -32299,7 +32535,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleasePrereleased(class), WebhookReleasePrereleasedAction(enum), EnterpriseWebhooks(ref), @@ -32393,7 +32629,7 @@ Url(Uri), ZipballUrl(Uri), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleasePublished(class), WebhookReleasePublishedAction(enum), EnterpriseWebhooks(ref), @@ -32401,7 +32637,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease1(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleaseReleased(class), WebhookReleaseReleasedAction(enum), EnterpriseWebhooks(ref), @@ -32409,7 +32645,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookReleaseUnpublished(class), WebhookReleaseUnpublishedAction(enum), EnterpriseWebhooks(ref), @@ -32417,7 +32653,7 @@ OrganizationSimpleWebhooks(ref), WebhooksRelease1(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryAdvisoryPublished(class), WebhookRepositoryAdvisoryPublishedAction(enum), EnterpriseWebhooks(ref), @@ -32425,7 +32661,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), RepositoryAdvisory(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryAdvisoryReported(class), WebhookRepositoryAdvisoryReportedAction(enum), EnterpriseWebhooks(ref), @@ -32433,28 +32669,28 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), RepositoryAdvisory(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryArchived(class), WebhookRepositoryArchivedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryCreated(class), WebhookRepositoryCreatedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryDeleted(class), WebhookRepositoryDeletedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryDispatchSample(class), Action(string), Branch(string), @@ -32463,7 +32699,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryEdited(class), WebhookRepositoryEditedAction(enum), WebhookRepositoryEditedChanges(class), @@ -32480,13 +32716,13 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryImport(class), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryImportStatus(enum), WebhookRepositoryPrivatized(class), WebhookRepositoryPrivatizedAction(enum), @@ -32494,14 +32730,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryPublicized(class), WebhookRepositoryPublicizedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryRenamed(class), WebhookRepositoryRenamedAction(enum), WebhookRepositoryRenamedChanges(class), @@ -32512,7 +32748,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryRulesetCreated(class), WebhookRepositoryRulesetCreatedAction(enum), EnterpriseWebhooks(ref), @@ -32520,7 +32756,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), RepositoryRuleset(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryRulesetDeleted(class), WebhookRepositoryRulesetDeletedAction(enum), EnterpriseWebhooks(ref), @@ -32528,7 +32764,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), RepositoryRuleset(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryRulesetEdited(class), WebhookRepositoryRulesetEditedAction(enum), EnterpriseWebhooks(ref), @@ -32575,7 +32811,7 @@ From(string), WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern(class), From(string), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryTransferred(class), WebhookRepositoryTransferredAction(enum), WebhookRepositoryTransferredChanges(class), @@ -32605,7 +32841,7 @@ GistsUrl(string), GravatarId(string), HtmlUrl(Uri), - Id(int), + Id(long), Login(string), Name(string), NodeId(string), @@ -32621,14 +32857,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryUnarchived(class), WebhookRepositoryUnarchivedAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryVulnerabilityAlertCreate(class), WebhookRepositoryVulnerabilityAlertCreateAction(enum), WebhooksAlert(ref), @@ -32636,7 +32872,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryVulnerabilityAlertDismiss(class), WebhookRepositoryVulnerabilityAlertDismissAction(enum), WebhookRepositoryVulnerabilityAlertDismissAlert(class), @@ -32683,7 +32919,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryVulnerabilityAlertReopen(class), WebhookRepositoryVulnerabilityAlertReopenAction(enum), WebhooksAlert(ref), @@ -32691,7 +32927,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookRepositoryVulnerabilityAlertResolve(class), WebhookRepositoryVulnerabilityAlertResolveAction(enum), WebhookRepositoryVulnerabilityAlertResolveAlert(class), @@ -32737,7 +32973,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecretScanningAlertCreated(class), WebhookSecretScanningAlertCreatedAction(enum), SecretScanningAlertWebhook(ref), @@ -32745,7 +32981,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecretScanningAlertLocationCreated(class), WebhookSecretScanningAlertLocationCreatedAction(enum), SecretScanningAlertWebhook(ref), @@ -32753,7 +32989,7 @@ SecretScanningLocation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecretScanningAlertLocationCreatedFormEncoded(class), Payload(string), WebhookSecretScanningAlertReopened(class), @@ -32763,7 +32999,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecretScanningAlertResolved(class), WebhookSecretScanningAlertResolvedAction(enum), SecretScanningAlertWebhook(ref), @@ -32771,15 +33007,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), - WebhookSecretScanningAlertRevoked(class), - WebhookSecretScanningAlertRevokedAction(enum), - SecretScanningAlertWebhook(ref), - EnterpriseWebhooks(ref), - SimpleInstallation(ref), - OrganizationSimpleWebhooks(ref), - RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecretScanningAlertValidated(class), WebhookSecretScanningAlertValidatedAction(enum), SecretScanningAlertWebhook(ref), @@ -32787,7 +33015,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecurityAdvisoryPublished(class), WebhookSecurityAdvisoryPublishedAction(enum), EnterpriseWebhooks(ref), @@ -32795,7 +33023,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksSecurityAdvisory(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecurityAdvisoryUpdated(class), WebhookSecurityAdvisoryUpdatedAction(enum), EnterpriseWebhooks(ref), @@ -32803,7 +33031,7 @@ OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), WebhooksSecurityAdvisory(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecurityAdvisoryWithdrawn(class), WebhookSecurityAdvisoryWithdrawnAction(enum), EnterpriseWebhooks(ref), @@ -32814,6 +33042,7 @@ WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss(class), Score(double), VectorString(string), + CvssSeverities(ref), Cwes(array), WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe(class), CweId(string), @@ -32841,7 +33070,7 @@ Severity(string), VulnerableVersionRange(string), WithdrawnAt(string), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSecurityAndAnalysis(class), WebhookSecurityAndAnalysisChanges(class), WebhookSecurityAndAnalysisChangesFrom(class), @@ -32850,14 +33079,14 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), FullRepository(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookSponsorshipCancelled(class), WebhookSponsorshipCancelledAction(enum), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookSponsorshipCreated(class), WebhookSponsorshipCreatedAction(enum), @@ -32865,7 +33094,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookSponsorshipEdited(class), WebhookSponsorshipEditedAction(enum), @@ -32876,7 +33105,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookSponsorshipPendingCancellation(class), WebhookSponsorshipPendingCancellationAction(enum), @@ -32885,7 +33114,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookSponsorshipPendingTierChange(class), WebhookSponsorshipPendingTierChangeAction(enum), @@ -32895,7 +33124,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookSponsorshipTierChanged(class), WebhookSponsorshipTierChangedAction(enum), @@ -32904,7 +33133,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksSponsorship(ref), WebhookStarCreated(class), WebhookStarCreatedAction(enum), @@ -32912,7 +33141,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), StarredAt(string), WebhookStarDeleted(class), WebhookStarDeletedAction(enum), @@ -32920,7 +33149,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookStarDeletedStarredAt(class), WebhookStatus(class), AvatarUrl(Uri), @@ -32956,7 +33185,7 @@ Url(Uri), CommentsUrl(Uri), WebhookStatusCommitCommit(class), - Author2(allOf), + Author3(allOf), WebhookStatusCommitCommitAuthorVariant1(class), Date(DateTime), Email(string), @@ -32967,7 +33196,7 @@ Email(string), Name(string), CommentCount(int), - Committer(allOf), + Committer2(allOf), WebhookStatusCommitCommitCommitterVariant1(class), Date(DateTime), Email(string), @@ -33027,17 +33256,61 @@ Name(string), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), Sha(string), WebhookStatusState(enum), TargetUrl(string), UpdatedAt(string), + WebhookSubIssuesParentIssueAdded(class), + WebhookSubIssuesParentIssueAddedAction(enum), + ParentIssueId(double), + Issue(ref), + Repository(ref), + SubIssueId(double), + Issue(ref), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + RepositoryWebhooks(ref), + SimpleUser(ref), + WebhookSubIssuesParentIssueRemoved(class), + WebhookSubIssuesParentIssueRemovedAction(enum), + ParentIssueId(double), + Issue(ref), + Repository(ref), + SubIssueId(double), + Issue(ref), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + RepositoryWebhooks(ref), + SimpleUser(ref), + WebhookSubIssuesSubIssueAdded(class), + WebhookSubIssuesSubIssueAddedAction(enum), + SubIssueId(double), + Issue(ref), + Repository(ref), + ParentIssueId(double), + Issue(ref), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + RepositoryWebhooks(ref), + SimpleUser(ref), + WebhookSubIssuesSubIssueRemoved(class), + WebhookSubIssuesSubIssueRemovedAction(enum), + SubIssueId(double), + Issue(ref), + Repository(ref), + ParentIssueId(double), + Issue(ref), + SimpleInstallation(ref), + OrganizationSimpleWebhooks(ref), + RepositoryWebhooks(ref), + SimpleUser(ref), WebhookTeamAdd(class), EnterpriseWebhooks(ref), SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookTeamAddedToRepository(class), WebhookTeamAddedToRepositoryAction(enum), @@ -33091,7 +33364,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -33171,7 +33444,7 @@ WebhookTeamAddedToRepositoryRepositoryVisibility(enum), Watchers(int), WatchersCount(int), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookTeamCreated(class), WebhookTeamCreatedAction(enum), @@ -33225,7 +33498,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -33305,7 +33578,7 @@ WebhookTeamCreatedRepositoryVisibility(enum), Watchers(int), WatchersCount(int), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookTeamDeleted(class), WebhookTeamDeletedAction(enum), @@ -33359,7 +33632,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -33439,7 +33712,7 @@ WebhookTeamDeletedRepositoryVisibility(enum), Watchers(int), WatchersCount(int), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookTeamEdited(class), WebhookTeamEditedAction(enum), @@ -33508,7 +33781,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -33588,7 +33861,7 @@ WebhookTeamEditedRepositoryVisibility(enum), Watchers(int), WatchersCount(int), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookTeamRemovedFromRepository(class), WebhookTeamRemovedFromRepositoryAction(enum), @@ -33642,7 +33915,7 @@ Homepage(string), HooksUrl(Uri), HtmlUrl(Uri), - Id(int), + Id(long), IsTemplate(bool), IssueCommentUrl(string), IssueEventsUrl(string), @@ -33722,7 +33995,7 @@ WebhookTeamRemovedFromRepositoryRepositoryVisibility(enum), Watchers(int), WatchersCount(int), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksTeam1(ref), WebhookWatchStarted(class), WebhookWatchStartedAction(enum), @@ -33730,7 +34003,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookWorkflowDispatch(class), EnterpriseWebhooks(ref), WebhookWorkflowDispatchInputs(class), @@ -33738,7 +34011,7 @@ OrganizationSimpleWebhooks(ref), Ref(string), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), Workflow(string), WebhookWorkflowJobCompleted(class), WebhookWorkflowJobCompletedAction(enum), @@ -33746,7 +34019,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WorkflowJob(allOf), WebhookWorkflowJobCompletedWorkflowJobVariant1(class), CheckRunUrl(Uri), @@ -33813,7 +34086,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WorkflowJob2(allOf), WebhookWorkflowJobInProgressWorkflowJobVariant1(class), CheckRunUrl(Uri), @@ -33886,7 +34159,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookWorkflowJobQueuedWorkflowJob(class), CheckRunUrl(Uri), CompletedAt(string), @@ -33926,7 +34199,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhookWorkflowJobWaitingWorkflowJob(class), CheckRunUrl(Uri), CompletedAt(string), @@ -33966,7 +34239,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksWorkflow(ref), WebhookWorkflowRunCompletedWorkflowRun(class), WebhookWorkflowRunCompletedWorkflowRunActor(class), @@ -34222,7 +34495,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksWorkflow(ref), WebhookWorkflowRunInProgressWorkflowRun(class), WebhookWorkflowRunInProgressWorkflowRunActor(class), @@ -34477,7 +34750,7 @@ SimpleInstallation(ref), OrganizationSimpleWebhooks(ref), RepositoryWebhooks(ref), - SimpleUserWebhooks(ref), + SimpleUser(ref), WebhooksWorkflow(ref), WebhookWorkflowRunRequestedWorkflowRun(class), WebhookWorkflowRunRequestedWorkflowRunActor(class), @@ -34823,6 +35096,30 @@ SelectedRepositoryIdsItem(int), SelectedActions(ref), ActionsSetDefaultWorkflowPermissions(ref), + ActionsCreateSelfHostedRunnerGroupForOrgRequest(class), + Name(string), + ActionsCreateSelfHostedRunnerGroupForOrgRequestVisibility(enum), + SelectedRepositoryIds(array), + SelectedRepositoryIdsItem(int), + Runners(array), + RunnersItem(int), + AllowsPublicRepositories(bool), + RestrictedToWorkflows(bool), + SelectedWorkflows(array), + SelectedWorkflowsItem(string), + ActionsUpdateSelfHostedRunnerGroupForOrgRequest(class), + Name(string), + ActionsUpdateSelfHostedRunnerGroupForOrgRequestVisibility(enum), + AllowsPublicRepositories(bool), + RestrictedToWorkflows(bool), + SelectedWorkflows(array), + SelectedWorkflowsItem(string), + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest(class), + SelectedRepositoryIds(array), + SelectedRepositoryIdsItem(int), + ActionsSetSelfHostedRunnersInGroupForOrgRequest(class), + Runners(array), + RunnersItem(int), ActionsGenerateRunnerJitconfigForOrgRequest(class), Name(string), RunnerGroupId(int), @@ -34859,6 +35156,49 @@ ActionsSetSelectedReposForOrgVariableRequest(class), SelectedRepositoryIds(array), SelectedRepositoryIdsItem(int), + CodeSecurityCreateConfigurationRequest(class), + Name(string), + Description(string), + CodeSecurityCreateConfigurationRequestAdvancedSecurity(enum), + CodeSecurityCreateConfigurationRequestDependencyGraph(enum), + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitAction(enum), + CodeSecurityCreateConfigurationRequestDependencyGraphAutosubmitActionOptions(class), + LabeledRunners(bool), + CodeSecurityCreateConfigurationRequestDependabotAlerts(enum), + CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates(enum), + CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup(enum), + CodeSecurityCreateConfigurationRequestSecretScanning(enum), + CodeSecurityCreateConfigurationRequestSecretScanningPushProtection(enum), + CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks(enum), + CodeSecurityCreateConfigurationRequestSecretScanningNonProviderPatterns(enum), + CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting(enum), + CodeSecurityCreateConfigurationRequestEnforcement(enum), + CodeSecurityDetachConfigurationRequest(class), + SelectedRepositoryIds(array), + SelectedRepositoryIdsItem(int), + CodeSecurityUpdateConfigurationRequest(class), + Name(string), + Description(string), + CodeSecurityUpdateConfigurationRequestAdvancedSecurity(enum), + CodeSecurityUpdateConfigurationRequestDependencyGraph(enum), + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitAction(enum), + CodeSecurityUpdateConfigurationRequestDependencyGraphAutosubmitActionOptions(class), + LabeledRunners(bool), + CodeSecurityUpdateConfigurationRequestDependabotAlerts(enum), + CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates(enum), + CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup(enum), + CodeSecurityUpdateConfigurationRequestSecretScanning(enum), + CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection(enum), + CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks(enum), + CodeSecurityUpdateConfigurationRequestSecretScanningNonProviderPatterns(enum), + CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting(enum), + CodeSecurityUpdateConfigurationRequestEnforcement(enum), + CodeSecurityAttachConfigurationRequest(class), + CodeSecurityAttachConfigurationRequestScope(enum), + SelectedRepositoryIds(array), + SelectedRepositoryIdsItem(int), + CodeSecuritySetConfigurationAsDefaultRequest(class), + CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos(enum), CodespacesSetCodespacesAccessRequest(class), CodespacesSetCodespacesAccessRequestVisibility(enum), SelectedUsernames(array), @@ -34947,16 +35287,6 @@ OrgMetadataOnly(bool), Exclude(array), MigrationsStartForOrgRequestExcludeItem(enum), - OrgsCreateCustomOrganizationRoleRequest(class), - Name(string), - Description(string), - Permissions(array), - PermissionsItem(string), - OrgsPatchCustomOrganizationRoleRequest(class), - Name(string), - Description(string), - Permissions(array), - PermissionsItem(string), OrgsConvertMemberToOutsideCollaboratorRequest(class), Async(bool), OrgsReviewPatGrantRequestsInBulkRequest(class), @@ -34978,7 +35308,7 @@ Body(string), OrgsCreateOrUpdateCustomPropertiesRequest(class), Properties(array), - OrgCustomProperty(ref), + CustomProperty(ref), OrgsCreateOrUpdateCustomPropertyRequest(class), OrgsCreateOrUpdateCustomPropertyRequestValueType(enum), Required(bool), @@ -35118,6 +35448,10 @@ Status(string), ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection(class), Status(string), + ReposUpdateRequestSecurityAndAnalysisSecretScanningAiDetection(class), + Status(string), + ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns(class), + Status(string), HasIssues(bool), HasProjects(bool), HasWiki(bool), @@ -35185,6 +35519,11 @@ ActionsCreateWorkflowDispatchRequest(class), Ref(string), ActionsCreateWorkflowDispatchRequestInputs(class), + ReposCreateAttestationRequest(class), + ReposCreateAttestationRequestBundle(class), + MediaType(string), + ReposCreateAttestationRequestBundleVerificationMaterial(class), + ReposCreateAttestationRequestBundleDsseEnvelope(class), ReposCreateAutolinkRequest(class), KeyPrefix(string), UrlTemplate(string), @@ -35277,24 +35616,15 @@ ContextsItem(string), ReposRemoveStatusCheckContextsRequestVariant2(array), ReposRemoveStatusCheckContextsRequestVariant2Item(string), - ReposAddAppAccessRestrictionsRequest(oneOf), - ReposAddAppAccessRestrictionsRequest2(class), - Apps(array), - AppsItem(string), - ReposAddAppAccessRestrictionsRequestVariant2(array), - ReposAddAppAccessRestrictionsRequestVariant2Item(string), - ReposSetAppAccessRestrictionsRequest(oneOf), - ReposSetAppAccessRestrictionsRequest2(class), - Apps(array), - AppsItem(string), - ReposSetAppAccessRestrictionsRequestVariant2(array), - ReposSetAppAccessRestrictionsRequestVariant2Item(string), - ReposRemoveAppAccessRestrictionsRequest(oneOf), - ReposRemoveAppAccessRestrictionsRequest2(class), - Apps(array), - AppsItem(string), - ReposRemoveAppAccessRestrictionsRequestVariant2(array), - ReposRemoveAppAccessRestrictionsRequestVariant2Item(string), + ReposAddAppAccessRestrictionsRequest(class), + Apps(array), + AppsItem(string), + ReposSetAppAccessRestrictionsRequest(class), + Apps(array), + AppsItem(string), + ReposRemoveAppAccessRestrictionsRequest(class), + Apps(array), + AppsItem(string), ReposAddTeamAccessRestrictionsRequest(oneOf), ReposAddTeamAccessRestrictionsRequest2(class), Teams(array), @@ -35313,24 +35643,15 @@ TeamsItem(string), ReposRemoveTeamAccessRestrictionsRequestVariant2(array), ReposRemoveTeamAccessRestrictionsRequestVariant2Item(string), - ReposAddUserAccessRestrictionsRequest(oneOf), - ReposAddUserAccessRestrictionsRequest2(class), - Users(array), - UsersItem(string), - ReposAddUserAccessRestrictionsRequestVariant2(array), - ReposAddUserAccessRestrictionsRequestVariant2Item(string), - ReposSetUserAccessRestrictionsRequest(oneOf), - ReposSetUserAccessRestrictionsRequest2(class), - Users(array), - UsersItem(string), - ReposSetUserAccessRestrictionsRequestVariant2(array), - ReposSetUserAccessRestrictionsRequestVariant2Item(string), - ReposRemoveUserAccessRestrictionsRequest(oneOf), - ReposRemoveUserAccessRestrictionsRequest2(class), - Users(array), - UsersItem(string), - ReposRemoveUserAccessRestrictionsRequestVariant2(array), - ReposRemoveUserAccessRestrictionsRequestVariant2Item(string), + ReposAddUserAccessRestrictionsRequest(class), + Users(array), + UsersItem(string), + ReposSetUserAccessRestrictionsRequest(class), + Users(array), + UsersItem(string), + ReposRemoveUserAccessRestrictionsRequest(class), + Users(array), + UsersItem(string), ReposRenameBranchRequest(class), NewName(string), ChecksCreateRequest(class), @@ -35371,6 +35692,8 @@ ChecksCreateRequestVariant1Status(enum), ChecksCreateRequestVariant2(class), ChecksCreateRequestVariant2Status(enum), + ChecksCreateRequestDiscriminator(class), + Status(string), ChecksUpdateRequest(class), Name(string), DetailsUrl(string), @@ -35913,6 +36236,9 @@ SecretScanningAlertState(ref), SecretScanningAlertResolution(ref), SecretScanningAlertResolutionComment(ref), + SecretScanningCreatePushProtectionBypassRequest(class), + SecretScanningPushProtectionBypassReason(ref), + SecretScanningPushProtectionBypassPlaceholderId(ref), RepositoryAdvisoryCreate(ref), PrivateVulnerabilityReportCreate(ref), RepositoryAdvisoryUpdate(ref), @@ -36109,6 +36435,8 @@ SecurityAdvisoriesListGlobalAdvisoriesPublished(string), SecurityAdvisoriesListGlobalAdvisoriesUpdated(string), SecurityAdvisoriesListGlobalAdvisoriesModified(string), + SecurityAdvisoriesListGlobalAdvisoriesEpssPercentage(string), + SecurityAdvisoriesListGlobalAdvisoriesEpssPercentile(string), SecurityAdvisoriesListGlobalAdvisoriesBefore(string), SecurityAdvisoriesListGlobalAdvisoriesAfter(string), SecurityAdvisoriesListGlobalAdvisoriesDirection(enum), @@ -36139,9 +36467,9 @@ AppsScopeTokenClientId(string), AppsGetBySlugAppSlug(string), ClassroomGetAnAssignmentAssignmentId(int), - ClassroomListAcceptedAssigmentsForAnAssignmentAssignmentId(int), - ClassroomListAcceptedAssigmentsForAnAssignmentPage(int), - ClassroomListAcceptedAssigmentsForAnAssignmentPerPage(int), + ClassroomListAcceptedAssignmentsForAnAssignmentAssignmentId(int), + ClassroomListAcceptedAssignmentsForAnAssignmentPage(int), + ClassroomListAcceptedAssignmentsForAnAssignmentPerPage(int), ClassroomGetAssignmentGradesAssignmentId(int), ClassroomListClassroomsPage(int), ClassroomListClassroomsPerPage(int), @@ -36150,6 +36478,9 @@ ClassroomListAssignmentsForAClassroomPage(int), ClassroomListAssignmentsForAClassroomPerPage(int), CodesOfConductGetConductCodeKey(string), + CopilotListCopilotSeatsForEnterpriseEnterprise(string), + CopilotListCopilotSeatsForEnterprisePage(int), + CopilotListCopilotSeatsForEnterprisePerPage(int), CopilotUsageMetricsForEnterpriseEnterprise(string), CopilotUsageMetricsForEnterpriseSince(string), CopilotUsageMetricsForEnterpriseUntil(string), @@ -36178,6 +36509,12 @@ SecretScanningListAlertsForEnterpriseBefore(string), SecretScanningListAlertsForEnterpriseAfter(string), SecretScanningListAlertsForEnterpriseValidity(string), + CopilotUsageMetricsForEnterpriseTeamEnterprise(string), + CopilotUsageMetricsForEnterpriseTeamTeamSlug(string), + CopilotUsageMetricsForEnterpriseTeamSince(string), + CopilotUsageMetricsForEnterpriseTeamUntil(string), + CopilotUsageMetricsForEnterpriseTeamPage(int), + CopilotUsageMetricsForEnterpriseTeamPerPage(int), ActivityListPublicEventsPerPage(int), ActivityListPublicEventsPage(int), GistsListSince(DateTime), @@ -36197,11 +36534,11 @@ GistsListCommentsPage(int), GistsCreateCommentGistId(string), GistsGetCommentGistId(string), - GistsGetCommentCommentId(int), + GistsGetCommentCommentId(long), GistsUpdateCommentGistId(string), - GistsUpdateCommentCommentId(int), + GistsUpdateCommentCommentId(long), GistsDeleteCommentGistId(string), - GistsDeleteCommentCommentId(int), + GistsDeleteCommentCommentId(long), GistsListCommitsGistId(string), GistsListCommitsPerPage(int), GistsListCommitsPage(int), @@ -36291,6 +36628,41 @@ ActionsSetAllowedActionsOrganizationOrg(string), ActionsGetGithubActionsDefaultWorkflowPermissionsOrganizationOrg(string), ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationOrg(string), + ActionsListSelfHostedRunnerGroupsForOrgOrg(string), + ActionsListSelfHostedRunnerGroupsForOrgPerPage(int), + ActionsListSelfHostedRunnerGroupsForOrgPage(int), + ActionsListSelfHostedRunnerGroupsForOrgVisibleToRepository(string), + ActionsCreateSelfHostedRunnerGroupForOrgOrg(string), + ActionsGetSelfHostedRunnerGroupForOrgOrg(string), + ActionsGetSelfHostedRunnerGroupForOrgRunnerGroupId(int), + ActionsUpdateSelfHostedRunnerGroupForOrgOrg(string), + ActionsUpdateSelfHostedRunnerGroupForOrgRunnerGroupId(int), + ActionsDeleteSelfHostedRunnerGroupFromOrgOrg(string), + ActionsDeleteSelfHostedRunnerGroupFromOrgRunnerGroupId(int), + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgOrg(string), + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int), + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPage(int), + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPerPage(int), + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgOrg(string), + ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int), + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgOrg(string), + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int), + ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRepositoryId(int), + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgOrg(string), + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRunnerGroupId(int), + ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRepositoryId(int), + ActionsListSelfHostedRunnersInGroupForOrgOrg(string), + ActionsListSelfHostedRunnersInGroupForOrgRunnerGroupId(int), + ActionsListSelfHostedRunnersInGroupForOrgPerPage(int), + ActionsListSelfHostedRunnersInGroupForOrgPage(int), + ActionsSetSelfHostedRunnersInGroupForOrgOrg(string), + ActionsSetSelfHostedRunnersInGroupForOrgRunnerGroupId(int), + ActionsAddSelfHostedRunnerToGroupForOrgOrg(string), + ActionsAddSelfHostedRunnerToGroupForOrgRunnerGroupId(int), + ActionsAddSelfHostedRunnerToGroupForOrgRunnerId(int), + ActionsRemoveSelfHostedRunnerFromGroupForOrgOrg(string), + ActionsRemoveSelfHostedRunnerFromGroupForOrgRunnerGroupId(int), + ActionsRemoveSelfHostedRunnerFromGroupForOrgRunnerId(int), ActionsListSelfHostedRunnersForOrgName(string), ActionsListSelfHostedRunnersForOrgOrg(string), ActionsListSelfHostedRunnersForOrgPerPage(int), @@ -36358,6 +36730,11 @@ ActionsRemoveSelectedRepoFromOrgVariableOrg(string), ActionsRemoveSelectedRepoFromOrgVariableName(string), ActionsRemoveSelectedRepoFromOrgVariableRepositoryId(int), + OrgsListAttestationsPerPage(int), + OrgsListAttestationsBefore(string), + OrgsListAttestationsAfter(string), + OrgsListAttestationsOrg(string), + OrgsListAttestationsSubjectDigest(string), OrgsListBlockedUsersOrg(string), OrgsListBlockedUsersPerPage(int), OrgsListBlockedUsersPage(int), @@ -36378,6 +36755,30 @@ CodeScanningAlertStateQuery(ref), CodeScanningListAlertsForOrgSort(enum), CodeScanningAlertSeverity(ref), + CodeSecurityGetConfigurationsForOrgOrg(string), + CodeSecurityGetConfigurationsForOrgTargetType(enum), + CodeSecurityGetConfigurationsForOrgPerPage(int), + CodeSecurityGetConfigurationsForOrgBefore(string), + CodeSecurityGetConfigurationsForOrgAfter(string), + CodeSecurityCreateConfigurationOrg(string), + CodeSecurityGetDefaultConfigurationsOrg(string), + CodeSecurityDetachConfigurationOrg(string), + CodeSecurityGetConfigurationOrg(string), + CodeSecurityGetConfigurationConfigurationId(int), + CodeSecurityUpdateConfigurationOrg(string), + CodeSecurityUpdateConfigurationConfigurationId(int), + CodeSecurityDeleteConfigurationOrg(string), + CodeSecurityDeleteConfigurationConfigurationId(int), + CodeSecurityAttachConfigurationOrg(string), + CodeSecurityAttachConfigurationConfigurationId(int), + CodeSecuritySetConfigurationAsDefaultOrg(string), + CodeSecuritySetConfigurationAsDefaultConfigurationId(int), + CodeSecurityGetRepositoriesForConfigurationOrg(string), + CodeSecurityGetRepositoriesForConfigurationConfigurationId(int), + CodeSecurityGetRepositoriesForConfigurationPerPage(int), + CodeSecurityGetRepositoriesForConfigurationBefore(string), + CodeSecurityGetRepositoriesForConfigurationAfter(string), + CodeSecurityGetRepositoriesForConfigurationStatus(string), CodespacesListInOrganizationPerPage(int), CodespacesListInOrganizationPage(int), CodespacesListInOrganizationOrg(string), @@ -36564,9 +36965,7 @@ MigrationsListReposForOrgMigrationId(int), MigrationsListReposForOrgPerPage(int), MigrationsListReposForOrgPage(int), - OrgsListOrganizationFineGrainedPermissionsOrg(string), OrgsListOrgRolesOrg(string), - OrgsCreateCustomOrganizationRoleOrg(string), OrgsRevokeAllOrgRolesTeamOrg(string), OrgsRevokeAllOrgRolesTeamTeamSlug(string), OrgsAssignTeamToOrgRoleOrg(string), @@ -36585,10 +36984,6 @@ OrgsRevokeOrgRoleUserRoleId(int), OrgsGetOrgRoleOrg(string), OrgsGetOrgRoleRoleId(int), - OrgsPatchCustomOrganizationRoleOrg(string), - OrgsPatchCustomOrganizationRoleRoleId(int), - OrgsDeleteCustomOrganizationRoleOrg(string), - OrgsDeleteCustomOrganizationRoleRoleId(int), OrgsListOrgRoleTeamsOrg(string), OrgsListOrgRoleTeamsRoleId(int), OrgsListOrgRoleTeamsPerPage(int), @@ -36711,8 +37106,10 @@ ReposGetOrgRulesetsOrg(string), ReposGetOrgRulesetsPerPage(int), ReposGetOrgRulesetsPage(int), + ReposGetOrgRulesetsTargets(string), ReposCreateOrgRulesetOrg(string), ReposGetOrgRuleSuitesOrg(string), + ReposGetOrgRuleSuitesRef(string), ReposGetOrgRuleSuitesRepositoryName(int), ReposGetOrgRuleSuitesTimePeriod(enum), ReposGetOrgRuleSuitesActorName(string), @@ -36753,6 +37150,12 @@ BillingGetGithubActionsBillingOrgOrg(string), BillingGetGithubPackagesBillingOrgOrg(string), BillingGetSharedStorageBillingOrgOrg(string), + CopilotUsageMetricsForTeamOrg(string), + CopilotUsageMetricsForTeamTeamSlug(string), + CopilotUsageMetricsForTeamSince(string), + CopilotUsageMetricsForTeamUntil(string), + CopilotUsageMetricsForTeamPage(int), + CopilotUsageMetricsForTeamPerPage(int), TeamsListOrg(string), TeamsListPerPage(int), TeamsListPage(int), @@ -37197,6 +37600,14 @@ IssuesCheckUserCanBeAssignedOwner(string), IssuesCheckUserCanBeAssignedRepo(string), IssuesCheckUserCanBeAssignedAssignee(string), + ReposCreateAttestationOwner(string), + ReposCreateAttestationRepo(string), + ReposListAttestationsOwner(string), + ReposListAttestationsRepo(string), + ReposListAttestationsPerPage(int), + ReposListAttestationsBefore(string), + ReposListAttestationsAfter(string), + ReposListAttestationsSubjectDigest(string), ReposListAutolinksOwner(string), ReposListAutolinksRepo(string), ReposCreateAutolinkOwner(string), @@ -37364,7 +37775,10 @@ CodeScanningListAlertsForRepoPage(int), CodeScanningListAlertsForRepoPerPage(int), CodeScanningRef(ref), + CodeScanningListAlertsForRepoPr(int), CodeScanningListAlertsForRepoDirection(enum), + CodeScanningListAlertsForRepoBefore(string), + CodeScanningListAlertsForRepoAfter(string), CodeScanningListAlertsForRepoSort(enum), CodeScanningAlertStateQuery(ref), CodeScanningAlertSeverity(ref), @@ -37380,12 +37794,14 @@ CodeScanningListAlertInstancesPage(int), CodeScanningListAlertInstancesPerPage(int), CodeScanningRef(ref), + CodeScanningListAlertInstancesPr(int), CodeScanningListRecentAnalysesOwner(string), CodeScanningListRecentAnalysesRepo(string), CodeScanningAnalysisToolName(ref), CodeScanningAnalysisToolGuid(ref), CodeScanningListRecentAnalysesPage(int), CodeScanningListRecentAnalysesPerPage(int), + CodeScanningListRecentAnalysesPr(int), CodeScanningRef(ref), CodeScanningAnalysisSarifId(ref), CodeScanningListRecentAnalysesDirection(enum), @@ -37421,6 +37837,8 @@ CodeScanningGetSarifOwner(string), CodeScanningGetSarifRepo(string), CodeScanningGetSarifSarifId(string), + CodeSecurityGetConfigurationForRepositoryOwner(string), + CodeSecurityGetConfigurationForRepositoryRepo(string), ReposCodeownersErrorsOwner(string), ReposCodeownersErrorsRepo(string), ReposCodeownersErrorsRef(string), @@ -37486,25 +37904,25 @@ ReposListCommitCommentsForRepoPage(int), ReposGetCommitCommentOwner(string), ReposGetCommitCommentRepo(string), - ReposGetCommitCommentCommentId(int), + ReposGetCommitCommentCommentId(long), ReposUpdateCommitCommentOwner(string), ReposUpdateCommitCommentRepo(string), - ReposUpdateCommitCommentCommentId(int), + ReposUpdateCommitCommentCommentId(long), ReposDeleteCommitCommentOwner(string), ReposDeleteCommitCommentRepo(string), - ReposDeleteCommitCommentCommentId(int), + ReposDeleteCommitCommentCommentId(long), ReactionsListForCommitCommentOwner(string), ReactionsListForCommitCommentRepo(string), - ReactionsListForCommitCommentCommentId(int), + ReactionsListForCommitCommentCommentId(long), ReactionsListForCommitCommentContent(enum), ReactionsListForCommitCommentPerPage(int), ReactionsListForCommitCommentPage(int), ReactionsCreateForCommitCommentOwner(string), ReactionsCreateForCommitCommentRepo(string), - ReactionsCreateForCommitCommentCommentId(int), + ReactionsCreateForCommitCommentCommentId(long), ReactionsDeleteForCommitCommentOwner(string), ReactionsDeleteForCommitCommentRepo(string), - ReactionsDeleteForCommitCommentCommentId(int), + ReactionsDeleteForCommitCommentCommentId(long), ReactionsDeleteForCommitCommentReactionId(int), ReposListCommitsOwner(string), ReposListCommitsRepo(string), @@ -37899,25 +38317,25 @@ IssuesListCommentsForRepoPage(int), IssuesGetCommentOwner(string), IssuesGetCommentRepo(string), - IssuesGetCommentCommentId(int), + IssuesGetCommentCommentId(long), IssuesUpdateCommentOwner(string), IssuesUpdateCommentRepo(string), - IssuesUpdateCommentCommentId(int), + IssuesUpdateCommentCommentId(long), IssuesDeleteCommentOwner(string), IssuesDeleteCommentRepo(string), - IssuesDeleteCommentCommentId(int), + IssuesDeleteCommentCommentId(long), ReactionsListForIssueCommentOwner(string), ReactionsListForIssueCommentRepo(string), - ReactionsListForIssueCommentCommentId(int), + ReactionsListForIssueCommentCommentId(long), ReactionsListForIssueCommentContent(enum), ReactionsListForIssueCommentPerPage(int), ReactionsListForIssueCommentPage(int), ReactionsCreateForIssueCommentOwner(string), ReactionsCreateForIssueCommentRepo(string), - ReactionsCreateForIssueCommentCommentId(int), + ReactionsCreateForIssueCommentCommentId(long), ReactionsDeleteForIssueCommentOwner(string), ReactionsDeleteForIssueCommentRepo(string), - ReactionsDeleteForIssueCommentCommentId(int), + ReactionsDeleteForIssueCommentCommentId(long), ReactionsDeleteForIssueCommentReactionId(int), IssuesListEventsForRepoOwner(string), IssuesListEventsForRepoRepo(string), @@ -38137,25 +38555,25 @@ PullsListReviewCommentsForRepoPage(int), PullsGetReviewCommentOwner(string), PullsGetReviewCommentRepo(string), - PullsGetReviewCommentCommentId(int), + PullsGetReviewCommentCommentId(long), PullsUpdateReviewCommentOwner(string), PullsUpdateReviewCommentRepo(string), - PullsUpdateReviewCommentCommentId(int), + PullsUpdateReviewCommentCommentId(long), PullsDeleteReviewCommentOwner(string), PullsDeleteReviewCommentRepo(string), - PullsDeleteReviewCommentCommentId(int), + PullsDeleteReviewCommentCommentId(long), ReactionsListForPullRequestReviewCommentOwner(string), ReactionsListForPullRequestReviewCommentRepo(string), - ReactionsListForPullRequestReviewCommentCommentId(int), + ReactionsListForPullRequestReviewCommentCommentId(long), ReactionsListForPullRequestReviewCommentContent(enum), ReactionsListForPullRequestReviewCommentPerPage(int), ReactionsListForPullRequestReviewCommentPage(int), ReactionsCreateForPullRequestReviewCommentOwner(string), ReactionsCreateForPullRequestReviewCommentRepo(string), - ReactionsCreateForPullRequestReviewCommentCommentId(int), + ReactionsCreateForPullRequestReviewCommentCommentId(long), ReactionsDeleteForPullRequestCommentOwner(string), ReactionsDeleteForPullRequestCommentRepo(string), - ReactionsDeleteForPullRequestCommentCommentId(int), + ReactionsDeleteForPullRequestCommentCommentId(long), ReactionsDeleteForPullRequestCommentReactionId(int), PullsGetOwner(string), PullsGetRepo(string), @@ -38180,7 +38598,7 @@ PullsCreateReplyForReviewCommentOwner(string), PullsCreateReplyForReviewCommentRepo(string), PullsCreateReplyForReviewCommentPullNumber(int), - PullsCreateReplyForReviewCommentCommentId(int), + PullsCreateReplyForReviewCommentCommentId(long), PullsListCommitsOwner(string), PullsListCommitsRepo(string), PullsListCommitsPullNumber(int), @@ -38314,6 +38732,7 @@ ReposGetRepoRulesetsPerPage(int), ReposGetRepoRulesetsPage(int), ReposGetRepoRulesetsIncludesParents(bool), + ReposGetRepoRulesetsTargets(string), ReposCreateRepoRulesetOwner(string), ReposCreateRepoRulesetRepo(string), ReposGetRepoRuleSuitesOwner(string), @@ -38360,6 +38779,8 @@ AlertNumber(ref), SecretScanningListLocationsForAlertPage(int), SecretScanningListLocationsForAlertPerPage(int), + SecretScanningCreatePushProtectionBypassOwner(string), + SecretScanningCreatePushProtectionBypassRepo(string), SecurityAdvisoriesListRepositoryAdvisoriesOwner(string), SecurityAdvisoriesListRepositoryAdvisoriesRepo(string), SecurityAdvisoriesListRepositoryAdvisoriesDirection(enum), @@ -38728,9 +39149,15 @@ ActivityListWatchedReposForAuthenticatedUserPage(int), TeamsListForAuthenticatedUserPerPage(int), TeamsListForAuthenticatedUserPage(int), + UsersGetByIdAccountId(int), UsersListSince(int), UsersListPerPage(int), UsersGetByUsernameUsername(string), + UsersListAttestationsPerPage(int), + UsersListAttestationsBefore(string), + UsersListAttestationsAfter(string), + UsersListAttestationsUsername(string), + UsersListAttestationsSubjectDigest(string), PackagesListDockerMigrationConflictingPackagesForUserUsername(string), ActivityListEventsForAuthenticatedUserUsername(string), ActivityListEventsForAuthenticatedUserPerPage(int), @@ -38894,7 +39321,7 @@ BasicError(ref), ClassroomAssignment(ref), BasicError(ref), - ClassroomListAcceptedAssigmentsForAnAssignmentResponse(array), + ClassroomListAcceptedAssignmentsForAnAssignmentResponse(array), ClassroomAcceptedAssignment(ref), ClassroomGetAssignmentGradesResponse(array), ClassroomAssignmentGrade(ref), @@ -38911,6 +39338,14 @@ BasicError(ref), EmojisGetResponse(class), EmojisGetResponse(string), + CopilotListCopilotSeatsForEnterpriseResponse(class), + TotalSeats(int), + Seats(array), + CopilotSeatDetails(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), CopilotUsageMetricsForEnterpriseResponse(array), CopilotUsageMetrics(ref), BasicError(ref), @@ -38929,6 +39364,12 @@ Code(string), Message(string), DocumentationUrl(string), + CopilotUsageMetricsForEnterpriseTeamResponse(array), + CopilotUsageMetrics(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), ActivityListPublicEventsResponse(array), Event(ref), BasicError(ref), @@ -39105,6 +39546,21 @@ Repository(ref), SelectedActions(ref), ActionsGetDefaultWorkflowPermissions(ref), + ActionsListSelfHostedRunnerGroupsForOrgResponse(class), + TotalCount(double), + RunnerGroups(array), + RunnerGroupsOrg(ref), + RunnerGroupsOrg(ref), + RunnerGroupsOrg(ref), + RunnerGroupsOrg(ref), + ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse(class), + TotalCount(double), + Repositories(array), + MinimalRepository(ref), + ActionsListSelfHostedRunnersInGroupForOrgResponse(class), + TotalCount(double), + Runners(array), + Runner(ref), ActionsListSelfHostedRunnersForOrgResponse(class), TotalCount(int), Runners(array), @@ -39168,6 +39624,14 @@ TotalCount(int), Repositories(array), MinimalRepository(ref), + OrgsListAttestationsResponse(class), + Attestations(array), + OrgsListAttestationsResponseAttestation(class), + OrgsListAttestationsResponseAttestationBundle(class), + MediaType(string), + OrgsListAttestationsResponseAttestationBundleVerificationMaterial(class), + OrgsListAttestationsResponseAttestationBundleDsseEnvelope(class), + RepositoryId(int), OrgsListBlockedUsersResponse(array), SimpleUser(ref), BasicError(ref), @@ -39179,6 +39643,38 @@ Code(string), Message(string), DocumentationUrl(string), + CodeSecurityGetConfigurationsForOrgResponse(array), + CodeSecurityConfiguration(ref), + BasicError(ref), + BasicError(ref), + CodeSecurityConfiguration(ref), + CodeSecurityDefaultConfigurations(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + ScimError(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + CodeSecurityConfiguration(ref), + BasicError(ref), + BasicError(ref), + CodeSecurityConfiguration(ref), + BasicError(ref), + ScimError(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + CodeSecurityAttachConfigurationResponse(class), + CodeSecuritySetConfigurationAsDefaultResponse(class), + CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos(enum), + CodeSecurityConfiguration(ref), + BasicError(ref), + BasicError(ref), + CodeSecurityGetRepositoriesForConfigurationResponse(array), + CodeSecurityConfigurationRepositories(ref), + BasicError(ref), + BasicError(ref), CodespacesListInOrganizationResponse(class), TotalCount(int), Codespaces(array), @@ -39386,10 +39882,6 @@ MigrationsListReposForOrgResponse(array), MinimalRepository(ref), BasicError(ref), - OrgsListOrganizationFineGrainedPermissionsResponse(array), - OrganizationFineGrainedPermission(ref), - BasicError(ref), - ValidationError(ref), OrgsListOrgRolesResponse(class), TotalCount(int), Roles(array), @@ -39397,20 +39889,12 @@ BasicError(ref), ValidationError(ref), OrganizationRole(ref), - ValidationError(ref), - BasicError(ref), - BasicError(ref), - OrganizationRole(ref), BasicError(ref), ValidationError(ref), - OrganizationRole(ref), - ValidationError(ref), - BasicError(ref), - BasicError(ref), OrgsListOrgRoleTeamsResponse(array), - Team(ref), + TeamRoleAssignment(ref), OrgsListOrgRoleUsersResponse(array), - SimpleUser(ref), + UserRoleAssignment(ref), OrgsListOutsideCollaboratorsResponse(array), SimpleUser(ref), OrgsConvertMemberToOutsideCollaboratorResponse(class), @@ -39491,17 +39975,17 @@ BasicError(ref), ValidationErrorSimple(ref), OrgsGetAllCustomPropertiesResponse(array), - OrgCustomProperty(ref), + CustomProperty(ref), BasicError(ref), BasicError(ref), OrgsCreateOrUpdateCustomPropertiesResponse(array), - OrgCustomProperty(ref), + CustomProperty(ref), BasicError(ref), BasicError(ref), - OrgCustomProperty(ref), + CustomProperty(ref), BasicError(ref), BasicError(ref), - OrgCustomProperty(ref), + CustomProperty(ref), BasicError(ref), BasicError(ref), BasicError(ref), @@ -39559,6 +40043,12 @@ ActionsBillingUsage(ref), PackagesBillingUsage(ref), CombinedBillingUsage(ref), + CopilotUsageMetricsForTeamResponse(array), + CopilotUsageMetrics(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), + BasicError(ref), TeamsListResponse(array), Team(ref), BasicError(ref), @@ -39879,6 +40369,18 @@ SimpleUser(ref), BasicError(ref), BasicError(ref), + ReposCreateAttestationResponse(class), + Id(int), + BasicError(ref), + ValidationError(ref), + ReposListAttestationsResponse(class), + Attestations(array), + ReposListAttestationsResponseAttestation(class), + ReposListAttestationsResponseAttestationBundle(class), + MediaType(string), + ReposListAttestationsResponseAttestationBundleVerificationMaterial(class), + ReposListAttestationsResponseAttestationBundleDsseEnvelope(class), + RepositoryId(int), ReposListAutolinksResponse(array), Autolink(ref), Autolink(ref), @@ -40111,6 +40613,9 @@ Code(string), Message(string), DocumentationUrl(string), + CodeSecurityConfigurationForRepository(ref), + BasicError(ref), + BasicError(ref), CodeownersErrors(ref), CodespacesListInRepositoryForAuthenticatedUserResponse(class), TotalCount(int), @@ -40254,13 +40759,17 @@ ContentFile(ref), ContentSymlink(ref), ContentSubmodule(ref), + ReposGetContentResponseDiscriminator(class), + ReposGetContentResponseDiscriminatorType(enum), BasicError(ref), BasicError(ref), FileCommit(ref), FileCommit(ref), BasicError(ref), ValidationError(ref), - BasicError(ref), + ReposCreateOrUpdateFileContentsResponse(oneOf), + BasicError(ref), + RepositoryRuleViolationError(ref), FileCommit(ref), ValidationError(ref), BasicError(ref), @@ -40380,7 +40889,9 @@ BasicError(ref), BasicError(ref), BasicError(ref), - ValidationError(ref), + GitCreateBlobResponse(oneOf), + ValidationError(ref), + RepositoryRuleViolationError(ref), Blob(ref), BasicError(ref), ValidationError(ref), @@ -40863,6 +41374,11 @@ Code(string), Message(string), DocumentationUrl(string), + SecretScanningPushProtectionBypass(ref), + SecretScanningCreatePushProtectionBypassResponse(class), + Code(string), + Message(string), + DocumentationUrl(string), SecurityAdvisoriesListRepositoryAdvisoriesResponse(array), RepositoryAdvisory(ref), BasicError(ref), @@ -41445,12 +41961,23 @@ TeamFull(ref), BasicError(ref), BasicError(ref), + UsersGetByIdResponse(oneOf), + PrivateUser(ref), + PublicUser(ref), + BasicError(ref), UsersListResponse(array), SimpleUser(ref), UsersGetByUsernameResponse(oneOf), PrivateUser(ref), PublicUser(ref), BasicError(ref), + UsersListAttestationsResponse(class), + Attestations(array), + UsersListAttestationsResponseAttestation(class), + SigstoreBundle0(ref), + RepositoryId(int), + EmptyObject(ref), + BasicError(ref), PackagesListDockerMigrationConflictingPackagesForUserResponse(array), Package(ref), BasicError(ref), diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_NewWarnings.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_NewWarnings.verified.txt index 8b148de0d2..42a963125b 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_NewWarnings.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_NewWarnings.verified.txt @@ -29,6 +29,21 @@ Message: Data and type mismatch found., Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/epss + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -69,6 +84,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -139,6 +164,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -174,6 +204,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -209,6 +244,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -704,6 +744,71 @@ Message: Data and type mismatch found., Pointer: #/paths/~1classrooms~1{classroom_id}~1assignments/get/responses/200/content/application~1json/examples/default/value }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/total_seats + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/pending_cancellation_date + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/last_activity_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/site_admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/pending_cancellation_date + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/last_activity_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -954,6 +1059,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -1034,6 +1149,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -1214,6 +1339,246 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1secret-scanning~1alerts/get/responses/200/content/application~1json/examples/default/value/1/push_protection_bypassed_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/active_users + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -2944,11 +3309,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}/get/responses/200/content/application~1json/examples/default-response/value/disk_usage }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1orgs~1{org}/get/responses/200/content/application~1json/examples/default-response/value/collaborators - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3124,11 +3484,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}/patch/responses/200/content/application~1json/examples/default/value/disk_usage }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1orgs~1{org}/patch/responses/200/content/application~1json/examples/default/value/collaborators - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3469,6 +3824,406 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1actions~1permissions~1workflow/put/requestBody/content/application~1json/examples/default/value/can_approve_pull_request_reviews }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/owner/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/owner/site_admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/private + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/fork + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/forks_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/stargazers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/watchers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/size + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/open_issues_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/is_template + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_issues + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_projects + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_wiki + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_pages + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_downloads + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/archived + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/disabled + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/pushed_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/push + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/pull + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/delete_branch_on_merge + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/subscribers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/network_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/forks + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/open_issues + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/watchers + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/busy + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/busy + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/3/id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3719,6 +4474,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1actions~1variables~1{name}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/fork }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/0/repository_id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/1/repository_id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3859,6 +4624,146 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1code-scanning~1alerts/get/responses/200/content/application~1json/examples/default/value/1/repository/fork }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/updated_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4314,6 +5219,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4334,6 +5249,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4584,6 +5509,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4664,6 +5599,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5034,6 +5979,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5069,6 +6019,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5104,6 +6059,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5989,6 +6949,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8489,6 +9459,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8549,6 +9529,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8639,6 +9629,246 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1settings~1billing~1shared-storage/get/responses/200/content/application~1json/examples/default/value/estimated_storage_for_month }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/active_users + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -13794,6 +15024,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1assignees/get/responses/200/content/application~1json/examples/default/value/0/site_admin }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/0/repository_id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/1/repository_id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -13839,26 +15079,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -14394,26 +15614,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/commit/comment_count }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -16089,6 +17289,26 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-scanning~1default-setup/patch/responses/202/content/application~1json/examples/default/value/run_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/updated_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -16939,26 +18159,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17539,26 +18739,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17954,26 +19134,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17984,26 +19144,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18029,26 +19169,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18134,6 +19254,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18189,6 +19319,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18234,6 +19374,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18279,6 +19429,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19844,6 +21004,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19879,6 +21044,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19914,6 +21084,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -21734,26 +22909,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -25254,26 +26409,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27429,6 +28564,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1secret-scanning~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/push_protection_bypassed_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1secret-scanning~1push-protection-bypasses/post/responses/200/content/application~1json/examples/default/value/expire_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27459,6 +28599,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27519,6 +28669,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27574,6 +28734,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27684,6 +28854,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27744,6 +28924,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27799,6 +28989,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -39359,6 +40559,16 @@ Message: Data and type mismatch found., Pointer: #/components/schemas/api-overview/properties/domains/properties/actions/items/example }, + { + RuleName: SchemaMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/components/schemas/api-overview/properties/domains/properties/artifact_attestations/properties/trust_domain/example + }, + { + RuleName: SchemaMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/components/schemas/api-overview/properties/domains/properties/artifact_attestations/properties/services/items/example + }, { RuleName: SchemaMismatchedDataType, Message: Data and type mismatch found., diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_OriginalWarnings.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_OriginalWarnings.verified.txt index 8b148de0d2..42a963125b 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_OriginalWarnings.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/ValidationTests.Validation_OriginalWarnings.verified.txt @@ -29,6 +29,21 @@ Message: Data and type mismatch found., Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories/get/responses/200/content/application~1json/examples/default/value/0/epss + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -69,6 +84,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -139,6 +164,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -174,6 +204,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -209,6 +244,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1app~1hook~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1app~1hook~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -704,6 +744,71 @@ Message: Data and type mismatch found., Pointer: #/paths/~1classrooms~1{classroom_id}~1assignments/get/responses/200/content/application~1json/examples/default/value }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/total_seats + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/pending_cancellation_date + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/last_activity_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/site_admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/pending_cancellation_date + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/last_activity_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -954,6 +1059,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -1034,6 +1149,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -1214,6 +1339,246 @@ Message: Data and type mismatch found., Pointer: #/paths/~1enterprises~1{enterprise}~1secret-scanning~1alerts/get/responses/200/content/application~1json/examples/default/value/1/push_protection_bypassed_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1enterprises~1{enterprise}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/active_users + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -2944,11 +3309,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}/get/responses/200/content/application~1json/examples/default-response/value/disk_usage }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1orgs~1{org}/get/responses/200/content/application~1json/examples/default-response/value/collaborators - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3124,11 +3484,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}/patch/responses/200/content/application~1json/examples/default/value/disk_usage }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1orgs~1{org}/patch/responses/200/content/application~1json/examples/default/value/collaborators - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3469,6 +3824,406 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1actions~1permissions~1workflow/put/requestBody/content/application~1json/examples/default/value/can_approve_pull_request_reviews }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/0/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/1/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/get/responses/200/content/application~1json/examples/default/value/runner_groups/2/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups/post/responses/201/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/get/responses/200/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/default + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/inherited + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/allows_public_repositories + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/restricted_to_workflows + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}/patch/responses/200/content/application~1json/examples/default/value/workflow_restrictions_read_only + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/owner/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/owner/site_admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/private + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/fork + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/forks_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/stargazers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/watchers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/size + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/open_issues_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/is_template + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_issues + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_projects + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_wiki + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_pages + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/has_downloads + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/archived + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/disabled + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/pushed_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/admin + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/push + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/permissions/pull + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/delete_branch_on_merge + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/subscribers_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/network_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/forks + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/open_issues + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/watchers + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/total_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/busy + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/0/labels/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/busy + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/2/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1actions~1runner-groups~1{runner_group_id}~1runners/get/responses/200/content/application~1json/examples/default/value/runners/1/labels/3/id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3719,6 +4474,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1actions~1variables~1{name}~1repositories/get/responses/200/content/application~1json/examples/default/value/repositories/0/fork }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/0/repository_id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/1/repository_id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -3859,6 +4624,146 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1code-scanning~1alerts/get/responses/200/content/application~1json/examples/default/value/1/repository/fork }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/0/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/get/responses/200/content/application~1json/examples/default/value/1/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations/post/responses/201/content/application~1json/examples/default/value/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/0/configuration/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get/responses/200/content/application~1json/examples/default/value/1/configuration/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/get/responses/200/content/application~1json/examples/default/value/updated_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1code-security~1configurations~1{configuration_id}/patch/responses/200/content/application~1json/examples/default/value/updated_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4314,6 +5219,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/0/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4334,6 +5249,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1copilot~1billing~1seats/get/responses/200/content/application~1json/examples/default/value/seats/1/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4584,6 +5509,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -4664,6 +5599,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5034,6 +5979,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5069,6 +6019,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5104,6 +6059,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -5989,6 +6949,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/last_activity_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/assignee/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1members~1{username}~1copilot/get/responses/200/content/application~1json/examples/default/value/assignee/site_admin + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8489,6 +9459,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8549,6 +9529,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -8639,6 +9629,246 @@ Message: Data and type mismatch found., Pointer: #/paths/~1orgs~1{org}~1settings~1billing~1shared-storage/get/responses/200/content/application~1json/examples/default/value/estimated_storage_for_month }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/0/breakdown/2/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/day + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_acceptances + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_chat_turns + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/total_active_chat_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/0/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/1/active_users + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/suggestions_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/acceptances_count + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_suggested + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/lines_accepted + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1orgs~1{org}~1team~1{team_slug}~1copilot~1usage/get/responses/200/content/application~1json/examples/default/value/1/breakdown/2/active_users + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -13794,6 +15024,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1assignees/get/responses/200/content/application~1json/examples/default/value/0/site_admin }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/0/repository_id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1attestations~1{subject_digest}/get/responses/200/content/application~1json/examples/default/value/attestations/1/repository_id + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -13839,26 +15079,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}/get/responses/200/content/application~1json/examples/default/value/commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -14394,26 +15614,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/commit/comment_count }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1branches~1{branch}~1rename/post/responses/201/content/application~1json/examples/default/value/commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -16089,6 +17289,26 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-scanning~1default-setup/patch/responses/202/content/application~1json/examples/default/value/run_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/id + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/dependency_graph_autosubmit_action_options/labeled_runners + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/created_at + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1code-security-configuration/get/responses/200/content/application~1json/examples/default/value/configuration/updated_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -16939,26 +18159,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17539,26 +18739,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1commits~1{ref}/get/responses/200/content/application~1json/examples/default/value/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17954,26 +19134,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/base_commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -17984,26 +19144,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/merge_base_commit/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18029,26 +19169,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1compare~1{basehead}/get/responses/200/content/application~1json/examples/default/value/commits/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18134,6 +19254,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/0/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18189,6 +19319,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts/get/responses/200/content/application~1json/examples/default/value/1/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18234,6 +19374,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/get/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -18279,6 +19429,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1dependabot~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/security_advisory/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19844,6 +21004,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/0/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19879,6 +21044,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries/get/responses/200/content/application~1json/examples/default/value/1/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -19914,6 +21084,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/repository_id }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1hooks~1{hook_id}~1deliveries~1{delivery_id}/get/responses/200/content/application~1json/examples/default/value/throttled_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -21734,26 +22909,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1merges/post/responses/201/content/application~1json/examples/default/value/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -25254,26 +26409,6 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/commit/verification/verified }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/author/site_admin - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/id - }, - { - RuleName: MediaTypeMismatchedDataType, - Message: Data and type mismatch found., - Pointer: #/paths/~1repos~1{owner}~1{repo}~1pulls~1{pull_number}~1commits/get/responses/200/content/application~1json/examples/default/value/0/committer/site_admin - }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27429,6 +28564,11 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1secret-scanning~1alerts~1{alert_number}/patch/responses/200/content/application~1json/examples/default/value/push_protection_bypassed_at }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1secret-scanning~1push-protection-bypasses/post/responses/200/content/application~1json/examples/default/value/expire_at + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27459,6 +28599,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/0/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27519,6 +28669,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/get/responses/200/content/application~1json/examples/default/value/1/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27574,6 +28734,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories/post/responses/201/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27684,6 +28854,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/get/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27744,6 +28924,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/default/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -27799,6 +28989,16 @@ Message: Data and type mismatch found., Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss/score }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss_severities/cvss_v3/score + }, + { + RuleName: MediaTypeMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/paths/~1repos~1{owner}~1{repo}~1security-advisories~1{ghsa_id}/patch/responses/200/content/application~1json/examples/add_credit/value/cvss_severities/cvss_v4/score + }, { RuleName: MediaTypeMismatchedDataType, Message: Data and type mismatch found., @@ -39359,6 +40559,16 @@ Message: Data and type mismatch found., Pointer: #/components/schemas/api-overview/properties/domains/properties/actions/items/example }, + { + RuleName: SchemaMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/components/schemas/api-overview/properties/domains/properties/artifact_attestations/properties/trust_domain/example + }, + { + RuleName: SchemaMismatchedDataType, + Message: Data and type mismatch found., + Pointer: #/components/schemas/api-overview/properties/domains/properties/artifact_attestations/properties/services/items/example + }, { RuleName: SchemaMismatchedDataType, Message: Data and type mismatch found., diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/_.verified.txt index e77323d44a..4415593ea4 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/github.yaml/_.verified.txt @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: code-security + description: Endpoints to manage Code security using the REST API. servers: - url: https://api.github.com externalDocs: @@ -229,6 +231,20 @@ paths: in: query schema: type: string + - name: epss_percentage + in: query + description: |- + If specified, only return advisories that have an EPSS percentage score that matches the provided value. + The EPSS percentage represents the likelihood of a CVE being exploited. + schema: + type: string + - name: epss_percentile + in: query + description: |- + If specified, only return advisories that have an EPSS percentile score that matches the provided value. + The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. + schema: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/direction" @@ -250,6 +266,8 @@ paths: enum: - updated - published + - epss_percentage + - epss_percentile default: published responses: '200': @@ -834,7 +852,7 @@ paths: delete: summary: Delete an app authorization description: |- - OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. + OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). operationId: apps/delete-authorization tags: @@ -877,9 +895,7 @@ paths: description: OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently - with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - to use this endpoint, where the username is the application `client_id` and - the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. tags: - apps operationId: apps/check-token @@ -928,9 +944,7 @@ paths: description: OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes - take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the application's `client_id` and `client_secret` - as the username and password. Invalid tokens will return `404 NOT FOUND`. + take effect immediately. Invalid tokens will return `404 NOT FOUND`. tags: - apps operationId: apps/reset-token @@ -976,9 +990,6 @@ paths: summary: Delete an app token description: OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. - You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the application's `client_id` and `client_secret` - as the username and password. tags: - apps operationId: apps/delete-token @@ -1023,10 +1034,6 @@ paths: token. Invalid tokens will return `404 NOT FOUND`. - - You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App - as the username and password. tags: - apps operationId: apps/scope-token @@ -1113,9 +1120,9 @@ paths: "/apps/{app_slug}": get: summary: Get an app - description: "**Note**: The `:app_slug` is just the URL-friendly name of your - GitHub App. You can find this on the settings page for your GitHub App (e.g., - `https://github.com/settings/apps/:app_slug`)." + description: |- + > [!NOTE] + > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). tags: - apps operationId: apps/get-by-slug @@ -1181,7 +1188,7 @@ paths: the assignment. tags: - classroom - operationId: classroom/list-accepted-assigments-for-an-assignment + operationId: classroom/list-accepted-assignments-for-an-assignment externalDocs: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment @@ -1425,24 +1432,92 @@ paths: enabledForGitHubApps: true category: emojis subcategory: emojis + "/enterprises/{enterprise}/copilot/billing/seats": + get: + summary: List all Copilot seat assignments for an enterprise + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. + + Users with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once. + + For each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array. + + Only enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams. + + Personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-seats-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/page" + - name: per_page + description: 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)." + in: query + schema: + type: integer + default: 50 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_seats: + type: integer + description: The total number of Copilot seats the enterprise + is being billed for. Users with access through multiple organizations + or enterprise teams are only counted once. + seats: + type: array + items: + "$ref": "#/components/schemas/copilot-seat-details" + examples: + default: + "$ref": "#/components/examples/copilot-seats-list" + headers: + Link: + "$ref": "#/components/headers/link" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/usage": get: summary: Get a summary of Copilot usage for enterprise members description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, they must have telemetry enabled in their IDE. - Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage - metrics for the enterprise. + Only owners and billing managers can view Copilot usage metrics for the enterprise. - OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. tags: - copilot operationId: copilot/usage-metrics-for-enterprise @@ -1609,12 +1684,91 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": + get: + summary: Get a summary of Copilot usage for an enterprise team + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE + for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. + See the response schema tab for detailed metrics definitions. + + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, + and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + they must have telemetry enabled in their IDE. + + > [!NOTE] + > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. + + Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/usage-metrics-for-enterprise-team + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + - name: since + description: Show usage metrics since this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). + Maximum value is 28 days ago. + in: query + required: false + schema: + type: string + - name: until + description: Show usage metrics until this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) + and should not preceed the `since` date if it is passed. + in: query + required: false + schema: + type: string + - "$ref": "#/components/parameters/page" + - name: per_page + description: The number of days of metrics to display per page (max 28). 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)." + in: query + schema: + type: integer + default: 28 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/copilot-usage-metrics" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-org" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/events": get: summary: List public events - description: 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. + description: |- + > [!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. tags: - activity operationId: activity/list-public-events @@ -1663,7 +1817,8 @@ paths: 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. + > [!NOTE] + > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. tags: - activity operationId: activity/get-feeds @@ -1730,7 +1885,8 @@ paths: description: |- Allows you to add a new gist with one or more files. - **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + > [!NOTE] + > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. operationId: gists/create tags: - gists @@ -2692,10 +2848,8 @@ paths: repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -3006,7 +3160,7 @@ paths: description: |- Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/get-subscription-plan-for-account @@ -3044,7 +3198,7 @@ paths: description: |- Lists all plans that are part of your GitHub Marketplace listing. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-plans @@ -3084,7 +3238,7 @@ paths: description: |- Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-accounts-for-plan @@ -3138,7 +3292,7 @@ paths: description: |- Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/get-subscription-plan-for-account-stubbed @@ -3172,7 +3326,7 @@ paths: description: |- Lists all plans that are part of your GitHub Marketplace listing. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-plans-stubbed @@ -3210,7 +3364,7 @@ paths: description: |- Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. tags: - apps operationId: apps/list-accounts-for-plan-stubbed @@ -3264,7 +3418,8 @@ paths: The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. - **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + > [!NOTE] + > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. tags: - meta operationId: meta/get @@ -3292,7 +3447,9 @@ paths: "/networks/{owner}/{repo}/events": get: summary: List public events for a network of repositories - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-events-for-repo-network @@ -3677,7 +3834,8 @@ paths: description: |- Lists all organizations, in the order that they were created. - **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + > [!NOTE] + > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. tags: - orgs operationId: orgs/list @@ -3721,17 +3879,6 @@ paths: To see the full details about an organization, the authenticated user must be an organization owner. - The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration: - - - advanced_security_enabled_for_new_repositories - - dependabot_alerts_enabled_for_new_repositories - - dependabot_security_updates_enabled_for_new_repositories - - dependency_graph_enabled_for_new_repositories - - secret_scanning_enabled_for_new_repositories - - secret_scanning_push_protection_enabled_for_new_repositories - - For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization. To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. @@ -3763,20 +3910,13 @@ paths: patch: summary: Update an organization description: |- - **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - - Updates the organization's profile and member privileges. + > [!WARNING] + > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration: + > [!WARNING] + > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). - - advanced_security_enabled_for_new_repositories - - dependabot_alerts_enabled_for_new_repositories - - dependabot_security_updates_enabled_for_new_repositories - - dependency_graph_enabled_for_new_repositories - - secret_scanning_enabled_for_new_repositories - - secret_scanning_push_protection_enabled_for_new_repositories - - For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." + Updates the organization's profile and member privileges. The authenticated user must be an organization owner to use this endpoint. @@ -3910,51 +4050,69 @@ paths: advanced_security_enabled_for_new_repositories: type: boolean description: |- - Whether GitHub Advanced Security is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependabot_alerts_enabled_for_new_repositories: type: boolean description: |- - Whether Dependabot alerts is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependabot_security_updates_enabled_for_new_repositories: type: boolean description: |- - Whether Dependabot security updates is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true dependency_graph_enabled_for_new_repositories: type: boolean description: |- - Whether dependency graph is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_enabled_for_new_repositories: type: boolean description: |- - Whether secret scanning is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: |- - Whether secret scanning push protection is automatically enabled for new repositories. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + deprecated: true secret_scanning_push_protection_custom_link_enabled: type: boolean description: Whether a custom link is shown to contributors who @@ -4512,6 +4670,544 @@ paths: enabledForGitHubApps: true category: actions subcategory: permissions + "/orgs/{org}/actions/runner-groups": + get: + summary: List self-hosted runner groups for an organization + description: |- + Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runner-groups-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/visible-to-repository" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runner_groups + properties: + total_count: + type: number + runner_groups: + type: array + items: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-groups-org" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + post: + summary: Create a self-hosted runner group for an organization + description: |- + Creates a new self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/create-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or limit access to private repositories. + type: string + enum: + - selected + - all + - private + default: all + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + selected_repository_ids: + - 32 + - 91 + runners: + - 9 + - 2 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}": + get: + summary: Get a self-hosted runner group for an organization + description: |- + Gets a specific self-hosted runner group for an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/get-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group-item" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + patch: + summary: Update a self-hosted runner group for an organization + description: |- + Updates the `name` and `visibility` of a self-hosted runner group in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/update-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or all private repositories. + type: string + enum: + - selected + - all + - private + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Delete a self-hosted runner group from an organization + description: |- + Deletes a self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/delete-self-hosted-runner-group-from-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": + get: + summary: List repository access to a self-hosted runner group in an organization + description: |- + Lists the repositories with access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: number + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set repository access for a self-hosted runner group in an organization + description: |- + Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": + put: + summary: Add repository access to a self-hosted runner group in an organization + description: |- + Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove repository access to a self-hosted runner group in an organization + description: |- + Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": + get: + summary: List self-hosted runners in a group for an organization + description: |- + Lists self-hosted runners that are in a specific organization group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runners + properties: + total_count: + type: number + runners: + type: array + items: + "$ref": "#/components/schemas/runner" + examples: + default: + "$ref": "#/components/examples/runner-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set self-hosted runners in a group for an organization + description: |- + Replaces the list of self-hosted runners that are part of an organization runner group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + required: + - runners + examples: + default: + value: + runners: + - 9 + - 2 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": + put: + summary: Add a self-hosted runner to a group for an organization + description: |- + Adds a self-hosted runner to a runner group configured in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-self-hosted-runner-to-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove a self-hosted runner from a group for an organization + description: |- + Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-self-hosted-runner-from-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups "/orgs/{org}/actions/runners": get: summary: List self-hosted runners for an organization @@ -5797,6 +6493,73 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization. + + The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - orgs + operationId: orgs/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestations + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + repository_id: + type: integer + examples: + default: + "$ref": "#/components/examples/list-attestations" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -5972,6 +6735,746 @@ paths: enabledForGitHubApps: true category: code-scanning subcategory: code-scanning + "/orgs/{org}/code-security/configurations": + get: + summary: Get code security configurations for an organization + description: |- + Lists all code security configurations available in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: target_type + in: query + description: The target type of the code security configuration + required: false + schema: + type: string + enum: + - global + - all + default: all + - name: per_page + in: query + description: 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)." + required: false + schema: + type: integer + default: 30 + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-list" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + post: + summary: Create a code security configuration + description: |- + Creates a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/create-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + type: string + description: The name of the code security configuration. Must be + unique within the organization. + description: + type: string + description: A description of the code security configuration + maxLength: 255 + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + default: disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + default: enabled + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + default: disabled + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + default: false + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + default: disabled + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + default: disabled + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non provider + patterns + enum: + - enabled + - disabled + - not_set + default: disabled + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + default: disabled + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + default: enforced + required: + - name + - description + examples: + default: + summary: Example for a code security configuration + value: + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependabot_alerts: enabled + dependabot_security_updates: not_set + secret_scanning: enabled + responses: + '201': + description: Successfully created code security configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/defaults": + get: + summary: Get default code security configurations + description: |- + Lists the default code security configurations for an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-default-configurations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-default-configurations" + examples: + default: + "$ref": "#/components/examples/code-security-default-configurations" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/detach": + delete: + summary: Detach configurations from repositories + description: |- + Detach code security configuration(s) from a set of repositories. + Repositories will retain their settings but will no longer be associated with the configuration. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/detach-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + selected_repository_ids: + type: array + description: An array of repository IDs to detach from configurations. + items: + type: integer + description: Unique identifier of the repository. + examples: + default: + summary: Example for detaching repositories from configurations. + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}": + get: + summary: Get a code security configuration + description: |- + Gets a code security configuration available in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + patch: + summary: Update a code security configuration + description: |- + Updates a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/update-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + type: string + description: The name of the code security configuration. Must be + unique within the organization. + description: + type: string + description: A description of the code security configuration + maxLength: 255 + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non-provider + patterns + enum: + - enabled + - disabled + - not_set + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + examples: + default: + summary: Example for updating a code security configuration + value: + name: octo-org recommended settings v2 + secret_scanning: disabled + code_scanning_default_setup: enabled + responses: + '200': + description: Response when a configuration is updated + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-updated" + '204': + description: Response when no new updates are made + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + delete: + summary: Delete a code security configuration + description: |- + Deletes the desired code security configuration from an organization. + Repositories attached to the configuration will retain their settings but will no longer be associated with + the configuration. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/delete-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/attach": + post: + summary: Attach a configuration to repositories + description: |- + Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + + If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/attach-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + scope: + type: string + description: The type of repositories to attach the configuration + to. `selected` means the configuration will be attached to only + the repositories specified by `selected_repository_ids` + enum: + - all + - public + - private_or_internal + - selected + selected_repository_ids: + type: array + description: An array of repository IDs to attach the configuration + to. You can only provide a list of repository ids when the `scope` + is set to `selected`. + items: + type: integer + description: Unique identifier of the repository. + required: + - scope + examples: + default: + summary: Example for attaching a configuration to some repositories + value: + scope: selected + selected_repository_ids: + - 32 + - 91 + responses: + '202': + "$ref": "#/components/responses/accepted" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/defaults": + put: + summary: Set a code security configuration as a default for an organization + description: |- + Sets a code security configuration as a default to be applied to new repositories in your organization. + + This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/set-configuration-as-default + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_for_new_repos: + type: string + description: Specify which types of repository this security configuration + should be applied to by default. + enum: + - all + - none + - private_and_internal + - public + examples: + default: + summary: Set this configuration to be enabled by default on all new + repositories. + value: + default_for_new_repos: all + responses: + '200': + description: Default successfully changed. + content: + application/json: + schema: + type: object + properties: + default_for_new_repos: + type: string + description: Specifies which types of repository this security + configuration is applied to by default. + enum: + - all + - none + - private_and_internal + - public + configuration: + "$ref": "#/components/schemas/code-security-configuration" + examples: + default: + value: + default_for_new_repos: all + configuration: + "$ref": "#/components/examples/code-security-configuration" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations + "/orgs/{org}/code-security/configurations/{configuration_id}/repositories": + get: + summary: Get repositories associated with a code security configuration + description: |- + Lists the repositories associated with a code security configuration in an organization. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-repositories-for-configuration + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/configuration-id" + - name: per_page + description: 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)." + in: query + required: false + schema: + type: integer + default: 30 + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: status + description: |- + A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. + + Can be: `all`, `attached`, `attaching`, `detached`, `removed`, `enforced`, `failed`, `updating`, `removed_by_enterprise` + in: query + required: false + schema: + type: string + default: all + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-security-configuration-repositories" + examples: + default: + summary: Example of code security configuration repositories + value: + - status: attached + repository: + "$ref": "#/components/examples/simple-repository" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations "/orgs/{org}/codespaces": get: summary: List codespaces for the organization @@ -6602,15 +8105,16 @@ paths: get: summary: Get Copilot seat information and settings for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Gets information about an organization's Copilot subscription, including seat breakdown - and code matching policies. To configure these settings, go to your organization's settings on GitHub.com. + and feature policies. To configure these settings, go to your organization's settings on GitHub.com. For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)". - Only organization owners can configure and view details about the organization's Copilot Business subscription. + Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/get-copilot-organization-details @@ -6648,13 +8152,13 @@ paths: get: summary: List all Copilot seat assignments for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. - - Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle). + > [!NOTE] + > This endpoint is in beta and is subject to change. - Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription. + Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. + Only organization owners can view assigned seats. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/list-copilot-seats @@ -6710,18 +8214,21 @@ paths: post: summary: Add teams to the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can add Copilot seats for their organization members. In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + The response will contain the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/add-copilot-seats-for-teams @@ -6791,7 +8298,8 @@ paths: delete: summary: Remove teams from the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Cancels the Copilot seat assignment for all members of each team specified. This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -6800,9 +8308,9 @@ paths: For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can cancel Copilot seats for their organization members. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/cancel-copilot-seat-assignment-for-teams @@ -6873,18 +8381,21 @@ paths: post: summary: Add users to the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Purchases a GitHub Copilot seat for each user specified. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can add Copilot seats for their organization members. In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + The response will contain the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/add-copilot-seats-for-users @@ -6954,7 +8465,8 @@ paths: delete: summary: Remove users from the Copilot subscription for an organization description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Cancels the Copilot seat assignment for each user specified. This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -6963,9 +8475,9 @@ paths: For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". - Only organization owners can configure GitHub Copilot in their organization. + Only organization owners can cancel Copilot seats for their organization members. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: - copilot operationId: copilot/cancel-copilot-seat-assignment-for-users @@ -7037,20 +8549,20 @@ paths: get: summary: Get a summary of Copilot usage for organization members description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, they must have telemetry enabled in their IDE. - Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view - Copilot usage metrics. + Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. tags: - copilot operationId: copilot/usage-metrics-for-org @@ -7575,7 +9087,9 @@ paths: "/orgs/{org}/events": get: summary: List public organization events - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-org-events @@ -8342,10 +9856,11 @@ paths: "/orgs/{org}/invitations": get: summary: List pending organization invitations - description: 'The return hash contains a `role` field which refers to the Organization - Invitation role and will be one of the following values: `direct_member`, - `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub - member, the `login` field in the return hash will be `null`.' + description: |- + The return hash contains a `role` field which refers to the Organization + Invitation role and will be one of the following values: `direct_member`, `admin`, + `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub + member, the `login` field in the return hash will be `null`. tags: - orgs operationId: orgs/list-pending-invitations @@ -8407,7 +9922,7 @@ paths: description: |- Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - orgs @@ -8558,10 +10073,8 @@ paths: description: |- List issues in an organization assigned to the authenticated user. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -8895,13 +10408,14 @@ paths: get: summary: Get Copilot seat assignment details for a user description: |- - **Note**: This endpoint is in beta and is subject to change. + > [!NOTE] + > This endpoint is in beta and is subject to change. Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. - Organization owners can view GitHub Copilot seat assignment details for members in their organization. + Only organization owners can view Copilot seat assignment details for members of their organization. - OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. tags: - copilot operationId: copilot/get-copilot-seat-details-for-user @@ -8982,10 +10496,10 @@ paths: the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user - is limited to 50 organization invitations per 24 hour period. If the organization - is more than one month old or on a paid plan, the limit is 500 invitations - per 24 hour period." + will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners + are limited to creating 50 organization invitations for an organization within + a 24 hour period. If the organization is more than one month old or on a paid + plan, the limit is 500 invitations per 24 hour period." tags: - orgs operationId: orgs/set-membership-for-user @@ -9373,54 +10887,11 @@ paths: enabledForGitHubApps: false category: migrations subcategory: orgs - "/orgs/{org}/organization-fine-grained-permissions": - get: - summary: List organization fine-grained permissions for an organization - description: |- - Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/list-organization-fine-grained-permissions - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-fine-grained-permission" - examples: - default: - "$ref": "#/components/examples/organization-fine-grained-permission-example" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles": get: summary: Get all organization roles for an organization description: |- - Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, the authenticated user must be one of: @@ -9465,106 +10936,11 @@ paths: enabledForGitHubApps: true category: orgs subcategory: organization-roles - post: - summary: Create a custom organization role - description: |- - Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/create-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the custom role. - description: - type: string - description: A short description about the intended usage of this - role or what permissions it grants. - permissions: - type: array - description: A list of additional permissions included in this role. - items: - type: string - required: - - name - - permissions - examples: - default: - value: - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/organization-role" - examples: - default: - value: - id: 8030 - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - organization: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - created_at: '2022-07-04T22:19:11Z' - updated_at: '2022-07-04T22:19:11Z' - '422': - "$ref": "#/components/responses/validation_failed" - '404': - "$ref": "#/components/responses/not_found" - '409': - "$ref": "#/components/responses/conflict" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles/teams/{team_slug}": delete: summary: Remove all organization roles for a team description: |- - Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9590,7 +10966,7 @@ paths: put: summary: Assign an organization role to a team description: |- - Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9621,7 +10997,7 @@ paths: delete: summary: Remove an organization role from a team description: |- - Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9648,7 +11024,7 @@ paths: delete: summary: Remove all organization roles for a user description: |- - Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9674,7 +11050,7 @@ paths: put: summary: Assign an organization role to a user description: |- - Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9706,7 +11082,7 @@ paths: delete: summary: Remove an organization role from a user description: |- - Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." The authenticated user must be an administrator for the organization to use this endpoint. @@ -9733,7 +11109,7 @@ paths: get: summary: Get an organization role description: |- - Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, the authenticated user must be one of: @@ -9769,127 +11145,11 @@ paths: enabledForGitHubApps: true category: orgs subcategory: organization-roles - patch: - summary: Update a custom organization role - description: |- - Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/patch-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/role-id" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the custom role. - description: - type: string - description: A short description about the intended usage of this - role or what permissions it grants. - permissions: - type: array - description: A list of additional permissions included in this role. - items: - type: string - examples: - default: - value: - description: Permissions to manage custom roles within an org. - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/organization-role" - examples: - default: - value: - id: 8030 - name: Custom Role Manager - description: Permissions to manage custom roles within an org - permissions: - - write_organization_custom_repo_role - - write_organization_custom_org_role - - read_organization_custom_repo_role - - read_organization_custom_org_role - organization: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - created_at: '2022-07-04T22:19:11Z' - updated_at: '2022-07-04T22:19:11Z' - '422': - "$ref": "#/components/responses/validation_failed" - '409': - "$ref": "#/components/responses/conflict" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles - delete: - summary: Delete a custom organization role. - description: |- - Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - - To use this endpoint, the authenticated user must be one of: - - - An administrator for the organization. - - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - orgs - operationId: orgs/delete-custom-organization-role - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/role-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: orgs - subcategory: organization-roles "/orgs/{org}/organization-roles/{role_id}/teams": get: summary: List teams that are assigned to an organization role description: |- - Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, you must be an administrator for the organization. @@ -9914,7 +11174,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -9935,7 +11195,7 @@ paths: get: summary: List users that are assigned to an organization role description: |- - Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." To use this endpoint, you must be an administrator for the organization. @@ -9960,7 +11220,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -11049,10 +12309,10 @@ paths: schema: type: array items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-properties" + "$ref": "#/components/examples/custom-properties" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11089,7 +12349,7 @@ paths: type: array description: The array of custom properties to create or update. items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" minItems: 1 maxItems: 100 required: @@ -11120,10 +12380,10 @@ paths: schema: type: array items: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-properties" + "$ref": "#/components/examples/custom-properties" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11154,10 +12414,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-property" + "$ref": "#/components/examples/custom-property" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11197,6 +12457,8 @@ paths: enum: - string - single_select + - multi_select + - true_false description: The type of the value for the property required: type: boolean @@ -11241,10 +12503,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" examples: default: - "$ref": "#/components/examples/org-custom-property" + "$ref": "#/components/examples/custom-property" '403': "$ref": "#/components/responses/forbidden" '404': @@ -11508,7 +12770,8 @@ paths: description: |- Lists repositories for the specified organization. - **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > [!NOTE] + > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." tags: - repos operationId: repos/list-for-org @@ -11704,6 +12967,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -11726,6 +12991,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -11803,6 +13070,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -11848,14 +13116,12 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag - push + default: branch enforcement: "$ref": "#/components/schemas/repository-rule-enforcement" bypass_actors: @@ -11930,6 +13196,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/ref-in-query" - "$ref": "#/components/parameters/repository-name-in-query" - "$ref": "#/components/parameters/time-period" - "$ref": "#/components/parameters/actor-name-in-query" @@ -11992,7 +13259,11 @@ paths: "/orgs/{org}/rulesets/{ruleset_id}": get: summary: Get an organization repository ruleset - description: Get a repository ruleset for an organization. + description: |- + Get a repository ruleset for an organization. + + **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + making the API request has write access to the ruleset. tags: - repos operationId: repos/get-org-ruleset @@ -12061,10 +13332,7 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -12336,9 +13604,6 @@ paths: responses: '204': description: Response - '409': - description: The organization has reached the maximum number of security - manager teams. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12467,6 +13732,85 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/team/{team_slug}/copilot/usage": + get: + summary: Get a summary of Copilot usage for a team + description: |- + > [!NOTE] + > This endpoint is in beta and is subject to change. + + You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE + for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. + See the response schema tab for detailed metrics definitions. + + The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, + and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + they must have telemetry enabled in their IDE. + + > [!NOTE] + > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. + + Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/usage-metrics-for-team + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/team-slug" + - name: since + description: Show usage metrics since this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). + Maximum value is 28 days ago. + in: query + required: false + schema: + type: string + - name: until + description: Show usage metrics until this date. This is a timestamp in [ISO + 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) + and should not preceed the `since` date if it is passed. + in: query + required: false + schema: + type: string + - "$ref": "#/components/parameters/page" + - name: per_page + description: The number of days of metrics to display per page (max 28). 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)." + in: query + schema: + type: integer + default: 28 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/copilot-usage-metrics" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-org" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -12609,7 +13953,8 @@ paths: description: |- Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/get-by-name @@ -12641,7 +13986,8 @@ paths: description: |- To edit a team, the authenticated user must either be an organization owner or a team maintainer. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/update-in-org @@ -12744,7 +14090,8 @@ paths: If you are an organization owner, deleting a parent team will delete all of its child teams as well. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. tags: - teams operationId: teams/delete-in-org @@ -12768,7 +14115,8 @@ paths: description: |- List all discussions on a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -12814,9 +14162,10 @@ paths: description: |- Creates a new discussion post on a team's page. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12878,7 +14227,8 @@ paths: description: |- Get a specific discussion on a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -12911,7 +14261,8 @@ paths: description: |- Edits the title and body text of a discussion post. Only the parameters you provide are updated. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12961,7 +14312,8 @@ paths: description: |- Delete a discussion from a team's page. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -12988,7 +14340,8 @@ paths: description: |- List all comments on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13029,9 +14382,10 @@ paths: description: |- Creates a new comment on a team discussion. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13082,7 +14436,8 @@ paths: description: |- Get a specific comment on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13116,7 +14471,8 @@ paths: description: |- Edits the body text of a discussion comment. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13166,7 +14522,8 @@ paths: description: |- Deletes a comment on a team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13194,7 +14551,8 @@ paths: description: |- List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13253,7 +14611,8 @@ paths: A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13322,7 +14681,8 @@ paths: delete: summary: Delete team discussion comment reaction description: |- - **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -13353,7 +14713,8 @@ paths: description: |- List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: @@ -13411,7 +14772,8 @@ paths: A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -13478,7 +14840,8 @@ paths: delete: summary: Delete team discussion reaction description: |- - **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -13508,7 +14871,8 @@ paths: description: |- The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. tags: - teams operationId: teams/list-pending-invitations-in-org @@ -13597,10 +14961,11 @@ paths: To get a user's membership with a team, the team must be visible to the authenticated user. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. - **Note:** - The response contains the `state` of the membership and the member's `role`. + > [!NOTE] + > The response contains the `state` of the membership and the member's `role`. The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). tags: @@ -13637,13 +15002,15 @@ paths: Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - teams operationId: teams/add-or-update-membership-for-user-in-org @@ -13700,9 +15067,11 @@ paths: Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - teams operationId: teams/remove-membership-for-user-in-org @@ -13729,7 +15098,8 @@ paths: description: |- Lists the organization projects for a team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. tags: - teams operationId: teams/list-projects-in-org @@ -13767,7 +15137,8 @@ paths: description: |- Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/check-permissions-for-project-in-org @@ -13800,7 +15171,8 @@ paths: description: |- Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/add-or-update-project-permissions-in-org @@ -13865,7 +15237,8 @@ paths: description: |- Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - teams operationId: teams/remove-project-in-org @@ -13890,7 +15263,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: - teams operationId: teams/list-repos-in-org @@ -13928,13 +15302,14 @@ paths: description: |- Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. + You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header. If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - teams operationId: teams/check-permissions-for-repo-in-org @@ -13972,7 +15347,8 @@ paths: description: |- To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." - **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". tags: @@ -14002,7 +15378,6 @@ paths: If no permission is specified, the team''s `permission` attribute will be used to determine what permission to grant the team on this repository.' - default: push examples: default: summary: Adding a team to an organization repository with the write @@ -14022,7 +15397,8 @@ paths: description: |- If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - teams operationId: teams/remove-repo-in-org @@ -14048,7 +15424,8 @@ paths: description: |- Lists the child teams of the team specified by `{team_slug}`. - **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. tags: - teams operationId: teams/list-child-in-org @@ -14084,11 +15461,14 @@ paths: post: summary: Enable or disable a security feature for an organization description: |- + > [!WARNING] + > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. tags: - orgs operationId: orgs/enable-or-disable-security-product-on-all-org-repos @@ -14128,6 +15508,9 @@ paths: previews: [] category: orgs subcategory: orgs + deprecationDate: '2024-07-22' + removalDate: '2025-07-22' + deprecated: true "/projects/columns/cards/{card_id}": get: summary: Get a project card @@ -15148,7 +16531,8 @@ paths: get: summary: Get rate limit status for the authenticated user description: |- - **Note:** Accessing this endpoint does not count against your REST API rate limit. + > [!NOTE] + > Accessing this endpoint does not count against your REST API rate limit. Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories: * The `core` object provides your rate limit status for all non-search-related resources in the REST API. @@ -15159,9 +16543,10 @@ paths: * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." - * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)." + * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." - **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + > [!NOTE] + > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. tags: - rate-limit operationId: rate-limit/get @@ -15201,7 +16586,8 @@ paths: description: |- The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > [!NOTE] + > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." tags: - repos operationId: repos/get @@ -15317,6 +16703,25 @@ paths: status: type: string description: Can be `enabled` or `disabled`. + secret_scanning_ai_detection: + type: object + description: Use the `status` property to enable or disable + secret scanning AI detection for this repository. For more + information, see "[Responsible detection of generic secrets + with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. + secret_scanning_non_provider_patterns: + type: object + description: Use the `status` property to enable or disable + secret scanning non-provider patterns for this repository. + For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. has_issues: type: boolean description: Either `true` to enable issues for this repository @@ -15389,6 +16794,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -15411,6 +16818,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -17283,8 +18692,8 @@ paths: description: |- Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." - **Note:** GitHub Apps can only review their own custom deployment protection rules. - To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). + > [!NOTE] + > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. tags: @@ -18569,6 +19978,146 @@ paths: enabledForGitHubApps: true category: issues subcategory: assignees + "/repos/{owner}/{repo}/attestations": + post: + summary: Create an attestation + description: |- + Store an artifact attestation and associate it with a repository. + + The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required. + + Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - repos + operationId: repos/create-attestation + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#create-an-attestation + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + required: + - bundle + examples: + default: + summary: Example of a request body + value: + "$ref": "#/components/examples/attestation" + responses: + '201': + description: response + content: + application/json: + schema: + type: object + properties: + id: + type: integer + description: The ID of the attestation. + examples: + default: + value: + id: 2 + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + "/repos/{owner}/{repo}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with a repository. + + The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - repos + operationId: repos/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#list-attestations + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: {} + additionalProperties: true + dsseEnvelope: + type: object + properties: {} + additionalProperties: true + description: |- + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + repository_id: + type: integer + examples: + default: + "$ref": "#/components/examples/list-attestations" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/autolinks": get: summary: Get all autolinks of a repository @@ -18747,7 +20296,7 @@ paths: - "$ref": "#/components/parameters/repo" responses: '200': - description: Response if dependabot is enabled + description: Response if Dependabot is enabled content: application/json: schema: @@ -18758,7 +20307,7 @@ paths: enabled: true paused: false '404': - description: Not Found if dependabot is not enabled for the repository + description: Not Found if Dependabot is not enabled for the repository x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18928,9 +20477,11 @@ paths: Protecting a branch requires admin or owner permissions to the repository. - **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + > [!NOTE] + > Passing new arrays of `users` and `teams` replaces their previous values. - **Note**: The list of users, apps, and teams in total is limited to 100 items. + > [!NOTE] + > The list of users, apps, and teams in total is limited to 100 items. tags: - repos operationId: repos/update-branch-protection @@ -18965,7 +20516,7 @@ paths: have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained - control.\n" + control." items: type: string checks: @@ -19360,7 +20911,8 @@ paths: Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + > [!NOTE] + > Passing new arrays of `users` and `teams` replaces their previous values. tags: - repos operationId: repos/update-pull-request-review-protection @@ -19515,7 +21067,8 @@ paths: When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help. - **Note**: You must enable branch protection to require signed commits. + > [!NOTE] + > You must enable branch protection to require signed commits. tags: - repos operationId: repos/get-commit-signature-protection @@ -19670,7 +21223,7 @@ paths: in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` - instead of `contexts` for more fine-grained control.\n" + instead of `contexts` for more fine-grained control." items: type: string checks: @@ -19995,7 +21548,8 @@ paths: Lists who has access to this protected branch. - **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + > [!NOTE] + > Users, apps, and teams `restrictions` are only available for organization-owned repositories. tags: - repos operationId: repos/get-access-restrictions @@ -20100,28 +21654,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20164,28 +21714,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20228,27 +21774,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -20558,26 +22101,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example adding a user in a branch protection rule @@ -20625,26 +22164,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example replacing a user in a branch protection rule @@ -20692,25 +22227,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example removing a user in a branch protection rule @@ -20743,7 +22275,8 @@ paths: description: |- Renames a branch in a repository. - **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". + > [!NOTE] + > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions. @@ -20805,7 +22338,8 @@ paths: In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. tags: - checks operationId: checks/create @@ -21021,6 +22555,8 @@ paths: required: - name - head_sha + discriminator: + propertyName: status oneOf: - properties: status: @@ -21109,7 +22645,8 @@ paths: description: |- Gets a single check run using its `id`. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21142,7 +22679,8 @@ paths: description: |- Updates a check run for a specific commit in a repository. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth apps and personal access tokens (classic) cannot use this endpoint. tags: @@ -21498,7 +23036,8 @@ paths: description: |- Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)". - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth apps and personal access tokens (classic) cannot use this endpoint. tags: @@ -21618,7 +23157,8 @@ paths: description: |- Gets a single check suite using its `id`. - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21652,7 +23192,8 @@ paths: description: |- Lists check runs for a check suite using its `id`. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -21765,7 +23306,10 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" - name: sort description: The property by which to sort the results. in: query @@ -21933,6 +23477,7 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" responses: '200': description: Response @@ -21971,8 +23516,8 @@ paths: For very old analyses this data is not available, and `0` is returned in this field. - **Deprecation notice**: - The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + > [!WARNING] + > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. operationId: code-scanning/list-recent-analyses @@ -21988,6 +23533,7 @@ paths: - "$ref": "#/components/parameters/tool-guid" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pr-alias" - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` @@ -22265,7 +23811,7 @@ paths: By default this endpoint returns JSON metadata about the CodeQL database. To download the CodeQL database binary content, set the `Accept` header of the request - to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure + to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure your HTTP client is configured to follow redirects or use the `Location` header to make a second request to get the redirect URL. @@ -22801,6 +24347,47 @@ paths: githubCloudOnly: false category: code-scanning subcategory: code-scanning + "/repos/{owner}/{repo}/code-security-configuration": + get: + summary: Get the code security configuration associated with a repository + description: |- + Get the code security configuration that manages a repository's code security settings. + + The authenticated user must be an administrator or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - code-security + operationId: code-security/get-configuration-for-repository + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-security-configuration-for-repository" + examples: + default: + "$ref": "#/components/examples/code-security-configuration-for-repository" + '204': + "$ref": "#/components/responses/no_content" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-security + subcategory: configurations "/repos/{owner}/{repo}/codeowners/errors": get: summary: List CODEOWNERS errors @@ -23318,8 +24905,6 @@ paths: Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. - Anyone with read access to the repository can use this endpoint. - If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - codespaces @@ -23564,7 +25149,7 @@ paths: put: summary: Add a repository collaborator description: |- - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." @@ -23660,7 +25245,8 @@ paths: - If the user had their own fork of the repository, the fork will be deleted. - If the user still has read access to the repository, open pull requests by this user from a fork will be denied. - **Note**: A user can still have access to the repository through organization permissions like base repository permissions. + > [!NOTE] + > A user can still have access to the repository through organization permissions like base repository permissions. Although the API responds immediately, the additional permission updates might take some extra time to complete in the background. @@ -24009,7 +25595,8 @@ paths: delete: summary: Delete a commit comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). tags: @@ -24097,10 +25684,22 @@ paths: required: false schema: type: string - - "$ref": "#/components/parameters/since" + - name: since + description: 'Only show results that were last updated after the given time. + This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) + format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must + be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may + be returned.' + in: query + required: false + schema: + type: string + format: date-time - name: until description: 'Only commits before this date will be returned. This is a timestamp - in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' + in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 + (inclusive) or unexpected results may be returned.' in: query required: false schema: @@ -24223,7 +25822,7 @@ paths: description: |- Create a comment for a commit using its `:commit_sha`. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -24342,7 +25941,8 @@ paths: description: |- Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. + > [!NOTE] + > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types. @@ -24421,7 +26021,8 @@ paths: description: |- Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint. @@ -24490,7 +26091,8 @@ paths: description: |- Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. - **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. tags: @@ -24683,7 +26285,7 @@ paths: To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination: - - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison. + - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison. - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results. For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)." @@ -24829,6 +26431,13 @@ paths: - "$ref": "#/components/schemas/content-file" - "$ref": "#/components/schemas/content-symlink" - "$ref": "#/components/schemas/content-submodule" + discriminator: + propertyName: type + mapping: + array: "#/components/schemas/content-directory" + file: "#/components/schemas/content-file" + symlink: "#/components/schemas/content-symlink" + submodule: "#/components/schemas/content-submodule" examples: response-if-content-is-a-file: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" @@ -24844,6 +26453,8 @@ paths: "$ref": "#/components/responses/forbidden" '302': "$ref": "#/components/responses/found" + '304': + "$ref": "#/components/responses/not_modified" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24854,7 +26465,8 @@ paths: description: |- Creates a new file or replaces an existing file in a repository. - **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + > [!NOTE] + > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. tags: @@ -24977,7 +26589,13 @@ paths: '422': "$ref": "#/components/responses/validation_failed" '409': - "$ref": "#/components/responses/conflict" + description: Conflict + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/basic-error" + - "$ref": "#/components/schemas/repository-rule-violation-error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24994,7 +26612,8 @@ paths: You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + > [!NOTE] + > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. tags: - repos operationId: repos/delete-file @@ -26036,11 +27655,11 @@ paths: - success target_url: type: string - description: The target URL to associate with this status. This - URL should contain output to keep the user updated while the task - is running or serve as historical information for what happened - in the deployment. **Note:** It's recommended to use the `log_url` - parameter, which replaces `target_url`. + description: |- + The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. + + > [!NOTE] + > It's recommended to use the `log_url` parameter, which replaces `target_url`. default: '' log_url: type: string @@ -26250,7 +27869,8 @@ paths: get: summary: Get an environment description: |- - **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." + > [!NOTE] + > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." Anyone with read access to the repository can use this endpoint. @@ -26285,9 +27905,11 @@ paths: description: |- Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." + > [!NOTE] + > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." - **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." + > [!NOTE] + > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: @@ -26721,7 +28343,9 @@ paths: get: summary: List custom deployment rule integrations available for an environment description: |- - Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint. + Gets all custom deployment protection rule integrations that are available for an environment. + + The authenticated user must have admin or owner permissions to the repository to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." @@ -27250,8 +28874,9 @@ paths: "/repos/{owner}/{repo}/events": get: summary: List repository events - description: "**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.\n" + description: |- + > [!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. tags: - activity operationId: activity/list-repo-events @@ -27334,9 +28959,11 @@ paths: description: |- Create a fork for the authenticated user. - **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). + > [!NOTE] + > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). - **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + > [!NOTE] + > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. tags: - repos operationId: repos/create-fork @@ -27452,7 +29079,13 @@ paths: '403': "$ref": "#/components/responses/forbidden" '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/validation-error" + - "$ref": "#/components/schemas/repository-rule-violation-error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27565,10 +29198,11 @@ paths: description: The SHA of the tree object this commit points to parents: type: array - description: The SHAs of the commits that were the parents of this - commit. If omitted or empty, the commit will be written as a root - commit. For a single parent, an array of one SHA should be provided; - for a merge commit, an array of more than one should be provided. + description: The full SHAs of the commits that were the parents + of this commit. If omitted or empty, the commit will be written + as a root commit. For a single parent, an array of one SHA should + be provided; for a merge commit, an array of more than one should + be provided. items: type: string author: @@ -27751,7 +29385,8 @@ paths: When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + > [!NOTE] + > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. tags: @@ -27792,7 +29427,8 @@ paths: description: |- Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + > [!NOTE] + > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". tags: - git operationId: git/get-ref @@ -28231,7 +29867,7 @@ paths: Using both `tree.sha` and `content` will return an error." base_tree: type: string - description: | + description: |- The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on. If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. required: @@ -28281,8 +29917,8 @@ paths: If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - - **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + > [!NOTE] + > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. tags: - git operationId: git/get-tree @@ -28810,7 +30446,8 @@ paths: description: |- This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + > [!NOTE] + > Previously `/repos/:owner/:repo/hooks/:hook_id/test` tags: - repos operationId: repos/test-push-webhook @@ -28837,7 +30474,8 @@ paths: description: |- View the progress of an import. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). **Import status** @@ -28904,12 +30542,13 @@ paths: deprecated: true put: summary: Start an import - description: | + description: |- Start a source import to a GitHub repository using GitHub Importer. Importing into a GitHub repository with GitHub Actions enabled is not supported and will return a status `422 Unprocessable Entity` response. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/start-import @@ -29000,7 +30639,8 @@ paths: have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/update-import @@ -29079,10 +30719,11 @@ paths: deprecated: true delete: summary: Cancel an import - description: | + description: |- Stop an import for a repository. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/cancel-import @@ -29113,7 +30754,8 @@ paths: This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-commit-authors @@ -29151,11 +30793,12 @@ paths: "/repos/{owner}/{repo}/import/authors/{author_id}": patch: summary: Map a commit author - description: | + description: |- Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/map-commit-author @@ -29216,10 +30859,11 @@ paths: "/repos/{owner}/{repo}/import/large_files": get: summary: Get large files - description: | + description: |- List files larger than 100MB found during the import - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-large-files @@ -29254,14 +30898,15 @@ paths: "/repos/{owner}/{repo}/import/lfs": patch: summary: Update Git LFS preference - description: | + description: |- You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/repositories/working-with-files/managing-large-files). - **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > [!WARNING] + > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/set-lfs-preference @@ -29570,10 +31215,8 @@ paths: description: |- List issues in a repository. Only open issues will be listed. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -29676,7 +31319,7 @@ paths: description: |- Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30096,7 +31739,8 @@ paths: delete: summary: Delete an issue comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). tags: @@ -30205,10 +31849,8 @@ paths: access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30252,7 +31894,7 @@ paths: patch: summary: Update an issue description: |- - Issue owners and users with push access can edit an issue. + Issue owners and users with push access or Triage role can edit an issue. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -30578,7 +32220,7 @@ paths: This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. - For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -31181,7 +32823,8 @@ paths: delete: summary: Delete an issue reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). tags: @@ -33168,7 +34811,7 @@ paths: To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -33571,7 +35214,8 @@ paths: delete: summary: Delete a pull request comment reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). tags: @@ -33611,7 +35255,7 @@ paths: * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. + Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -33632,7 +35276,7 @@ paths: - "$ref": "#/components/parameters/pull-number" responses: '200': - description: Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) + description: Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. content: application/json: @@ -33903,7 +35547,7 @@ paths: The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34052,7 +35696,7 @@ paths: description: |- Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34163,8 +35807,8 @@ paths: description: |- Lists the files in a specified pull request. - **Note:** Responses include a maximum of 3000 files. The paginated response - returns 30 files per page by default. + > [!NOTE] + > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34240,7 +35884,7 @@ paths: summary: Merge a pull request description: |- Merges a pull request into the base branch. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - pulls operationId: pulls/merge @@ -34373,7 +36017,7 @@ paths: summary: Request reviewers for a pull request description: |- Requests reviews for a pull request from a given set of users and/or teams. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - pulls operationId: pulls/request-reviewers @@ -34543,11 +36187,12 @@ paths: description: |- Creates a review on a specified pull request. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)." - **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. + > [!NOTE] + > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. @@ -34857,9 +36502,8 @@ paths: description: |- Dismisses a specified review on a pull request. - **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), - you must be a repository administrator or be included in the list of people or teams - who can dismiss pull request reviews. + > [!NOTE] + > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -34995,8 +36639,9 @@ paths: "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": put: summary: Update a pull request branch - description: Updates the pull request branch with the latest upstream changes - by merging HEAD from the base branch into the pull request branch. + description: |- + Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. tags: - pulls operationId: pulls/update-branch @@ -35090,6 +36735,8 @@ paths: examples: default: "$ref": "#/components/examples/content-file" + '304': + "$ref": "#/components/responses/not_modified" '404': "$ref": "#/components/responses/not_found" '422': @@ -35196,7 +36843,7 @@ paths: description: |- Users with push access to the repository can create a release. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." tags: - repos operationId: repos/create-release @@ -35309,7 +36956,7 @@ paths: get: summary: Get a release asset description: To download the asset's binary content, set the `Accept` header - of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). + of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. tags: @@ -35558,9 +37205,8 @@ paths: description: |- Gets a public release with the specified release ID. - **Note:** This returns an `upload_url` key corresponding to the endpoint - for uploading release assets. This key is a hypermedia resource. For more information, see - "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + > [!NOTE] + > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." tags: - repos operationId: repos/get-release @@ -35939,7 +37585,8 @@ paths: delete: summary: Delete a release reaction description: |- - **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. + > [!NOTE] + > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). tags: @@ -36026,6 +37673,7 @@ paths: schema: type: boolean default: true + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -36072,14 +37720,12 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag - push + default: branch enforcement: "$ref": "#/components/schemas/repository-rule-enforcement" bypass_actors: @@ -36211,7 +37857,11 @@ paths: "/repos/{owner}/{repo}/rulesets/{ruleset_id}": get: summary: Get a repository ruleset - description: Get a ruleset for a repository. + description: |- + Get a ruleset for a repository. + + **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + making the API request has write access to the ruleset. tags: - repos operationId: repos/get-repo-ruleset @@ -36290,10 +37940,7 @@ paths: description: The name of the ruleset. target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -36579,6 +38226,67 @@ paths: enabledForGitHubApps: true category: secret-scanning subcategory: secret-scanning + "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": + post: + summary: Create a push protection bypass + description: |- + Creates a bypass for a previously push protected secret. + + The authenticated user must be the original author of the committed secret. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + operationId: secret-scanning/create-push-protection-bypass + tags: + - secret-scanning + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + reason: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-reason" + placeholder_id: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id" + required: + - reason + - placeholder_id + examples: + default: + value: + reason: will_fix_later + placeholder_id: 2k4dM4tseyC5lPIsjl5emX9sPNk + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass" + examples: + default: + "$ref": "#/components/examples/secret-scanning-push-protection-bypass" + '403': + description: User does not have enough permissions to perform this action. + '404': + description: Placeholder ID not found, or push protection is disabled on + this repository. + '422': + description: Bad request, input data missing or incorrect. + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: secret-scanning + subcategory: secret-scanning "/repos/{owner}/{repo}/security-advisories": get: summary: List repository security advisories @@ -36990,7 +38698,8 @@ paths: description: |- Create a temporary private fork to collaborate on fixing a security vulnerability in your repository. - **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + > [!NOTE] + > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. tags: - security-advisories operationId: security-advisories/create-fork @@ -37075,12 +38784,11 @@ paths: "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity - description: |2 - + description: |- Returns a weekly aggregate of the number of additions and deletions pushed to a repository. - **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains - 10,000 or more commits, a 422 status code will be returned. + > [!NOTE] + > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. tags: - repos operationId: repos/get-code-frequency-stats @@ -37161,7 +38869,8 @@ paths: * `d` - Number of deletions * `c` - Number of commits - **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + > [!NOTE] + > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. tags: - repos operationId: repos/get-contributors-stats @@ -37530,8 +39239,11 @@ paths: subcategory: repos "/repos/{owner}/{repo}/tags/protection": get: - summary: List tag protection states for a repository + summary: Deprecated - List tag protection states for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + This returns the tag protection states of a repository. This information is only available to repository administrators. @@ -37540,7 +39252,7 @@ paths: operationId: repos/list-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37565,9 +39277,15 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true post: - summary: Create a tag protection state for a repository + summary: Deprecated - Create a tag protection state for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + This creates a tag protection state for a repository. This endpoint is only available to repository administrators. tags: @@ -37575,7 +39293,7 @@ paths: operationId: repos/create-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37615,10 +39333,16 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": delete: - summary: Delete a tag protection state for a repository + summary: Deprecated - Delete a tag protection state for a repository description: |- + > [!WARNING] + > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + This deletes a tag protection state for a repository. This endpoint is only available to repository administrators. tags: @@ -37626,7 +39350,7 @@ paths: operationId: repos/delete-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -37643,6 +39367,9 @@ paths: enabledForGitHubApps: true category: repos subcategory: tags + deprecationDate: '2024-05-29' + removalDate: '2024-08-30' + deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -37650,7 +39377,9 @@ paths: Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - **Note**: For private repositories, these links are temporary and expire after five minutes. + + > [!NOTE] + > For private repositories, these links are temporary and expire after five minutes. tags: - repos externalDocs: @@ -38079,7 +39808,8 @@ paths: `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + > [!NOTE] + > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. tags: - repos externalDocs: @@ -38192,7 +39922,7 @@ paths: type: string x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: repos subcategory: repos "/repositories": @@ -38430,7 +40160,8 @@ paths: This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. - **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -38819,10 +40550,9 @@ paths: "/teams/{team_id}": get: summary: Get a team (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. tags: - teams operationId: teams/get-legacy @@ -38854,11 +40584,13 @@ paths: patch: summary: Update a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. To edit a team, the authenticated user must either be an organization owner or a team maintainer. - **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + > [!NOTE] + > With nested teams, the `privacy` for parent teams cannot be `secret`. tags: - teams operationId: teams/update-legacy @@ -38960,7 +40692,8 @@ paths: delete: summary: Delete a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. To delete a team, the authenticated user must be an organization owner or team maintainer. @@ -38992,7 +40725,8 @@ paths: get: summary: List discussions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. List all discussions on a team's page. @@ -39034,11 +40768,12 @@ paths: post: summary: Create a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. Creates a new discussion post on a team's page. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -39100,7 +40835,8 @@ paths: get: summary: Get a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. Get a specific discussion on a team's page. @@ -39135,7 +40871,8 @@ paths: patch: summary: Update a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. Edits the title and body text of a discussion post. Only the parameters you provide are updated. @@ -39187,7 +40924,8 @@ paths: delete: summary: Delete a discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. Delete a discussion from a team's page. @@ -39216,7 +40954,8 @@ paths: get: summary: List discussion comments (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. List all comments on a team discussion. @@ -39259,11 +40998,12 @@ paths: post: summary: Create a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. Creates a new comment on a team discussion. - This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: @@ -39314,7 +41054,8 @@ paths: get: summary: Get a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. Get a specific comment on a team discussion. @@ -39350,7 +41091,8 @@ paths: patch: summary: Update a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. Edits the body text of a discussion comment. @@ -39402,7 +41144,8 @@ paths: delete: summary: Delete a discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. Deletes a comment on a team discussion. @@ -39432,7 +41175,8 @@ paths: get: summary: List reactions for a team discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -39491,7 +41235,8 @@ paths: post: summary: Create reaction for a team discussion comment (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -39556,7 +41301,8 @@ paths: get: summary: List reactions for a team discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -39614,7 +41360,8 @@ paths: post: summary: Create reaction for a team discussion (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -39678,7 +41425,8 @@ paths: get: summary: List pending team invitations (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. tags: @@ -39718,7 +41466,8 @@ paths: get: summary: List team members (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. Team members will include the members of child teams. tags: @@ -39809,7 +41558,8 @@ paths: To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." tags: @@ -39851,7 +41601,8 @@ paths: To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." tags: - teams operationId: teams/remove-member-legacy @@ -39878,7 +41629,8 @@ paths: get: summary: Get team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. Team members will include the members of child teams. @@ -39920,13 +41672,15 @@ paths: put: summary: Add or update team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. @@ -39987,13 +41741,15 @@ paths: delete: summary: Remove team membership for a user (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + > [!NOTE] + > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." tags: - teams operationId: teams/remove-membership-for-user-legacy @@ -40020,7 +41776,8 @@ paths: get: summary: List team projects (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. Lists the organization projects for a team. tags: @@ -40062,7 +41819,8 @@ paths: get: summary: Check team permissions for a project (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. tags: @@ -40097,7 +41855,8 @@ paths: put: summary: Add or update team project permissions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. tags: @@ -40167,7 +41926,8 @@ paths: delete: summary: Remove a project from a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. tags: @@ -40197,10 +41957,9 @@ paths: "/teams/{team_id}/repos": get: summary: List team repositories (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. tags: - teams operationId: teams/list-repos-legacy @@ -40240,11 +41999,13 @@ paths: get: summary: Check team permissions for a repository (Legacy) description: |- - **Note**: Repositories inherited through a parent team will also be checked. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + > [!NOTE] + > Repositories inherited through a parent team will also be checked. - You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: tags: - teams operationId: teams/check-permissions-for-repo-legacy @@ -40280,7 +42041,8 @@ paths: put: summary: Add or update team repository permissions (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. @@ -40335,7 +42097,8 @@ paths: delete: summary: Remove a repository from a team (Legacy) description: |- - **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. tags: @@ -40362,10 +42125,9 @@ paths: "/teams/{team_id}/teams": get: summary: List child teams (Legacy) - description: "**Deprecation Notice:** This endpoint route is deprecated and - will be removed from the Teams API. We recommend migrating your existing code - to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) - endpoint." + description: |- + > [!WARNING] + > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. tags: - teams operationId: teams/list-child-legacy @@ -41821,7 +43583,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 example: [] required: - emails @@ -41833,7 +43595,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 - type: string examples: default: @@ -41899,7 +43661,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 example: emails: - octocat@github.com @@ -41910,7 +43672,7 @@ paths: items: type: string example: username@example.com - minItems: 1 + minItems: 1 - type: string examples: default: @@ -42394,8 +44156,9 @@ paths: "/user/installations/{installation_id}/repositories/{repository_id}": put: summary: Add a repository to an app installation - description: Add a single repository to an installation. The authenticated user - must have admin access to the repository. + description: "Add a single repository to an installation. The authenticated + user must have admin access to the repository. \n\nThis endpoint only works + for PATs (classic) with the `repo` scope." tags: - apps operationId: apps/add-repo-to-installation-for-authenticated-user @@ -42421,9 +44184,10 @@ paths: subcategory: installations delete: summary: Remove a repository from an app installation - description: Remove a single repository from an installation. The authenticated + description: "Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have - the `repository_selection` of `selected`. + the `repository_selection` of `selected`. \n\nThis endpoint only works for + PATs (classic) with the `repo` scope." tags: - apps operationId: apps/remove-repo-from-installation-for-authenticated-user @@ -42546,10 +44310,8 @@ paths: description: |- List issues across owned and member repositories assigned to the authenticated user. - **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + > [!NOTE] + > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -44023,6 +45785,8 @@ paths: - PR_TITLE - COMMIT_OR_PR_TITLE description: |- + Required when using `squash_merge_commit_message`. + The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. @@ -44045,6 +45809,8 @@ paths: - PR_TITLE - MERGE_MESSAGE description: |- + Required when using `merge_commit_message`. + The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. @@ -44782,6 +46548,44 @@ paths: enabledForGitHubApps: false category: teams subcategory: teams + "/user/{account_id}": + get: + summary: Get a user using their ID + description: |- + 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 [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. For more information, see [Authentication](https://docs.github.com/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/rest/users/emails)". + tags: + - users + operationId: users/get-by-id + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/users/users#get-a-user-using-their-id + parameters: + - "$ref": "#/components/parameters/account-id" + responses: + '200': + description: Response + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/private-user" + - "$ref": "#/components/schemas/public-user" + examples: + default-response: + "$ref": "#/components/examples/public-user-default-response" + response-with-git-hub-plan-information: + "$ref": "#/components/examples/public-user-response-with-git-hub-plan-information" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: users + subcategory: users "/users": get: summary: List users @@ -44860,6 +46664,71 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{username}/attestations/{subject_digest}": + get: + summary: List attestations + description: |- + List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user. + + The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + + **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + tags: + - users + operationId: users/list-attestations + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/users/attestations#list-attestations + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/username" + - name: subject_digest + description: Subject Digest + in: path + required: true + schema: + type: string + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + attestations: + type: array + items: + type: object + properties: + bundle: + "$ref": "#/components/schemas/sigstore-bundle-0" + repository_id: + type: integer + examples: + default: + value: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: users + subcategory: attestations "/users/{username}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for user @@ -44899,8 +46768,11 @@ paths: "/users/{username}/events": get: summary: List events for the authenticated user - description: If you are authenticated as the given user, you will see your private - events. Otherwise, you'll only see public events. + description: |- + 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. tags: - activity operationId: activity/list-events-for-authenticated-user @@ -44931,8 +46803,11 @@ paths: "/users/{username}/events/orgs/{org}": get: summary: List organization events for the authenticated user - description: This is the user's organization dashboard. You must be authenticated - as the user to view this. + description: |- + 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. tags: - activity operationId: activity/list-org-events-for-authenticated-user @@ -44964,7 +46839,9 @@ paths: "/users/{username}/events/public": get: summary: List public events for a user - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-public-events-for-user @@ -45676,9 +47553,12 @@ paths: "/users/{username}/received_events": get: summary: List events received by the authenticated user - description: These are events that you've received by watching repositories - and following users. If you are authenticated as the given user, you will - see private events. Otherwise, you'll only see public events. + description: |- + These are events that you've received by watching repositories and following users. If you are authenticated as the + given user, you will see 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. tags: - activity operationId: activity/list-received-events-for-user @@ -45709,7 +47589,9 @@ paths: "/users/{username}/received_events/public": get: summary: List public events received by a user - description: '' + description: |- + > [!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. tags: - activity operationId: activity/list-received-public-events-for-user @@ -46445,7 +48327,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A check run was completed, and a conclusion is available. operationId: check-run/completed externalDocs: @@ -46525,7 +48408,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A new check run was created. operationId: check-run/created externalDocs: @@ -46605,7 +48489,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, @@ -46688,7 +48573,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. operationId: check-run/rerequested @@ -46769,7 +48655,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: All check runs in a check suite have completed, and a conclusion is available. operationId: check-suite/completed @@ -46840,7 +48727,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) @@ -46914,7 +48802,8 @@ x-webhooks: Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + > [!NOTE] + > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. description: Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) @@ -47765,7 +49654,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - **Note**: This event will not occur when more than three tags are deleted at once. + > [!NOTE] + > This event will not occur when more than three tags are deleted at once. operationId: delete externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#delete @@ -47832,7 +49722,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was automatically closed by a Dependabot auto-triage rule. operationId: dependabot-alert/auto-dismissed @@ -47901,7 +49792,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. @@ -47971,7 +49863,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. @@ -48041,7 +49934,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was manually closed. operationId: dependabot-alert/dismissed externalDocs: @@ -48109,7 +50003,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change removed a vulnerability. operationId: dependabot-alert/fixed externalDocs: @@ -48177,7 +50072,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A manifest file change introduced a vulnerable dependency that had previously been fixed. operationId: dependabot-alert/reintroduced @@ -48246,7 +50142,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + > [!NOTE] + > Webhook events for Dependabot alerts are currently in beta and subject to change. description: A Dependabot alert was manually reopened. operationId: dependabot-alert/reopened externalDocs: @@ -48761,6 +50658,9 @@ x-webhooks: For activity relating to deployment creation, use the `deployment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + + > [!NOTE] + > A webhook event is not fired for deployment statuses with an `inactive` state. description: A new deployment status was created. operationId: deployment-status/created externalDocs: @@ -48828,7 +50728,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on the discussion was marked as the answer. operationId: discussion/answered externalDocs: @@ -48896,7 +50797,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: The category of a discussion was changed. operationId: discussion/category-changed externalDocs: @@ -48964,7 +50866,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was closed. operationId: discussion/closed externalDocs: @@ -49032,7 +50935,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was created. operationId: discussion-comment/created externalDocs: @@ -49100,7 +51004,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was deleted. operationId: discussion-comment/deleted externalDocs: @@ -49168,7 +51073,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on a discussion was edited. operationId: discussion-comment/edited externalDocs: @@ -49236,7 +51142,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was created. operationId: discussion/created externalDocs: @@ -49304,7 +51211,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was deleted. operationId: discussion/deleted externalDocs: @@ -49372,7 +51280,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: The title or body on a discussion was edited, or the category of the discussion was changed. operationId: discussion/edited @@ -49441,7 +51350,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A label was added to a discussion. operationId: discussion/labeled externalDocs: @@ -49509,7 +51419,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was locked. operationId: discussion/locked externalDocs: @@ -49577,7 +51488,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was pinned. operationId: discussion/pinned externalDocs: @@ -49645,7 +51557,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was reopened. operationId: discussion/reopened externalDocs: @@ -49713,7 +51626,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was transferred to another repository. operationId: discussion/transferred externalDocs: @@ -49781,7 +51695,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A comment on the discussion was unmarked as the answer. operationId: discussion/unanswered externalDocs: @@ -49849,7 +51764,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A label was removed from a discussion. operationId: discussion/unlabeled externalDocs: @@ -49917,7 +51833,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was unlocked. operationId: discussion/unlocked externalDocs: @@ -49985,7 +51902,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + > [!NOTE] + > Webhook events for GitHub Discussions are currently in beta and subject to change. description: A discussion was unpinned. operationId: discussion/unpinned externalDocs: @@ -54037,7 +55955,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -54101,7 +56020,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -54166,7 +56086,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -54230,7 +56151,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > [!NOTE] + > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -54892,7 +56814,75 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-deleted" + "$ref": "#/components/schemas/webhook-project-column-deleted" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: project_column + supported-webhook-types: + - repository + - organization + - app + project-column-edited: + post: + summary: |- + This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + + For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + + This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + description: The name of a column on a project (classic) was changed. + operationId: project-column/edited + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-project-column-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -54905,7 +56895,7 @@ x-webhooks: - repository - organization - app - project-column-edited: + project-column-moved: post: summary: |- This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -54915,8 +56905,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: The name of a column on a project (classic) was changed. - operationId: project-column/edited + description: A column was moved to a new position on a project (classic). + operationId: project-column/moved externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column parameters: @@ -54960,7 +56950,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-edited" + "$ref": "#/components/schemas/webhook-project-column-moved" responses: '200': description: Return a 200 status to indicate that the data was received @@ -54973,20 +56963,20 @@ x-webhooks: - repository - organization - app - project-column-moved: + project-created: post: summary: |- - This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A column was moved to a new position on a project (classic). - operationId: project-column/moved + description: A project (classic) was created. + operationId: project/created externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#project_column + url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: - name: User-Agent in: header @@ -55028,7 +57018,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-column-moved" + "$ref": "#/components/schemas/webhook-project-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55036,12 +57026,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: project_column + subcategory: project supported-webhook-types: - repository - organization - app - project-created: + project-deleted: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55051,8 +57041,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was created. - operationId: project/created + description: A project (classic) was deleted. + operationId: project/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55096,7 +57086,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-created" + "$ref": "#/components/schemas/webhook-project-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55109,7 +57099,7 @@ x-webhooks: - repository - organization - app - project-deleted: + project-edited: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55119,8 +57109,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was deleted. - operationId: project/deleted + description: The name or description of a project (classic) was changed. + operationId: project/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55164,7 +57154,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-deleted" + "$ref": "#/components/schemas/webhook-project-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55177,7 +57167,7 @@ x-webhooks: - repository - organization - app - project-edited: + project-reopened: post: summary: |- This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. @@ -55187,8 +57177,8 @@ x-webhooks: This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: The name or description of a project (classic) was changed. - operationId: project/edited + description: A project (classic) was closed. + operationId: project/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#project parameters: @@ -55232,7 +57222,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-edited" + "$ref": "#/components/schemas/webhook-project-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55245,20 +57235,21 @@ x-webhooks: - repository - organization - app - project-reopened: + projects-v2-closed: post: summary: |- - This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. + This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - description: A project (classic) was closed. - operationId: project/reopened + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was closed. + operationId: projects-v2/closed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#project + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: - name: User-Agent in: header @@ -55272,7 +57263,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: project-v2 schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55300,20 +57291,19 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-project-closed" responses: '200': description: Return a 200 status to indicate that the data was received successfully x-github: githubCloudOnly: false + enabledForGitHubApps: true category: webhooks - subcategory: project + subcategory: projects_v2 supported-webhook-types: - - repository - organization - - app - projects-v2-closed: + projects-v2-created: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55322,9 +57312,10 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was closed. - operationId: projects-v2/closed + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was created. + operationId: projects-v2/created externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55368,7 +57359,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" + "$ref": "#/components/schemas/webhook-projects-v2-project-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55380,7 +57371,7 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-created: + projects-v2-deleted: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55389,9 +57380,10 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was created. - operationId: projects-v2/created + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was deleted. + operationId: projects-v2/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55435,7 +57427,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-created" + "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55447,7 +57439,7 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-deleted: + projects-v2-edited: post: summary: |- This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). @@ -55456,9 +57448,11 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was deleted. - operationId: projects-v2/deleted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The title, description, or README of a project in the organization + was changed. + operationId: projects-v2/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: @@ -55502,7 +57496,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-project-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55514,21 +57508,22 @@ x-webhooks: subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-edited: + projects-v2-item-archived: post: summary: |- - This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The title, description, or README of a project in the organization - was changed. - operationId: projects-v2/edited + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item on an organization project was archived. For more information, + see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." + operationId: projects-v2-item/archived externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: - name: User-Agent in: header @@ -55542,7 +57537,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2 + example: project-v2-item schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55570,7 +57565,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" + "$ref": "#/components/schemas/webhook-projects-v2-item-archived" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55579,10 +57574,10 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2 + subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-archived: + projects-v2-item-converted: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55591,10 +57586,146 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item on an organization project was archived. For more information, - see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - operationId: projects-v2-item/archived + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A draft issue in an organization project was converted to an issue. + operationId: projects-v2-item/converted + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-item + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_item + supported-webhook-types: + - organization + projects-v2-item-created: + post: + summary: |- + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item was added to a project in the organization. + operationId: projects-v2-item/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-item + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-item-created" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_item + supported-webhook-types: + - organization + projects-v2-item-deleted: + post: + summary: |- + This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + + For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An item was deleted from a project in the organization. + operationId: projects-v2-item/deleted externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55638,7 +57769,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" + "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55650,7 +57781,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-converted: + projects-v2-item-edited: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55659,9 +57790,12 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A draft issue in an organization project was converted to an issue. - operationId: projects-v2-item/converted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The values or state of an item in an organization project were + changed. For example, the value of a field was updated, the body of a draft + issue was changed, or a draft issue was converted to an issue. + operationId: projects-v2-item/edited externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55705,7 +57839,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + "$ref": "#/components/schemas/webhook-projects-v2-item-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55717,7 +57851,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-created: + projects-v2-item-reordered: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55726,9 +57860,12 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item was added to a project in the organization. - operationId: projects-v2-item/created + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: The position of an item in an organization project was changed. + For example, an item was moved above or below another item in the table or + board layout. + operationId: projects-v2-item/reordered externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55772,7 +57909,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-created" + "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55784,7 +57921,7 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-deleted: + projects-v2-item-restored: post: summary: |- This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). @@ -55793,9 +57930,11 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An item was deleted from a project in the organization. - operationId: projects-v2-item/deleted + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: An archived item on an organization project was restored from the + archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." + operationId: projects-v2-item/restored externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item parameters: @@ -55839,7 +57978,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-item-restored" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55851,22 +57990,21 @@ x-webhooks: subcategory: projects_v2_item supported-webhook-types: - organization - projects-v2-item-edited: + projects-v2-reopened: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The values or state of an item in an organization project were - changed. For example, the value of a field was updated, the body of a draft - issue was changed, or a draft issue was converted to an issue. - operationId: projects-v2-item/edited + > [!NOTE] + > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A project in the organization was reopened. + operationId: projects-v2/reopened externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 parameters: - name: User-Agent in: header @@ -55880,7 +58018,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2 schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55908,7 +58046,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" + "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55917,25 +58055,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2 supported-webhook-types: - organization - projects-v2-item-reordered: + projects-v2-status-update-created: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: The position of an item in an organization project was changed. - For example, an item was moved above or below another item in the table or - board layout. - operationId: projects-v2-item/reordered + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was added to a project in the organization. + operationId: projects-v2-status-update/created externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -55949,7 +58086,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -55977,7 +58114,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -55986,24 +58123,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2_status_update supported-webhook-types: - organization - projects-v2-item-restored: + projects-v2-status-update-deleted: post: summary: |- - This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: An archived item on an organization project was restored from the - archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - operationId: projects-v2-item/restored + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was removed from a project in the organization. + operationId: projects-v2-status-update/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -56017,7 +58154,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2-item + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56045,7 +58182,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -56054,23 +58191,24 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2_item + subcategory: projects_v2_status_update supported-webhook-types: - organization - projects-v2-reopened: + projects-v2-status-update-edited: post: summary: |- - This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." - For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + For activity relating to a project, use the `projects_v2` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - description: A project in the organization was reopened. - operationId: projects-v2/reopened + > [!NOTE] + > To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was edited on a project in the organization. + operationId: projects-v2-status-update/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2 + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update parameters: - name: User-Agent in: header @@ -56084,7 +58222,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: project-v2 + example: project-v2-status-update schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56112,7 +58250,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -56121,7 +58259,7 @@ x-webhooks: githubCloudOnly: false enabledForGitHubApps: true category: webhooks - subcategory: projects_v2 + subcategory: projects_v2_status_update supported-webhook-types: - organization public: @@ -58124,7 +60262,8 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - **Note**: Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. + > [!NOTE] + > Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. operationId: push externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#push @@ -58189,7 +60328,8 @@ x-webhooks: To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - **Note**: GitHub recommends that you use the newer `package` event instead. + > [!NOTE] + > GitHub recommends that you use the newer `package` event instead. description: A package was published to a registry. operationId: registry-package/published externalDocs: @@ -58255,7 +60395,8 @@ x-webhooks: To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - **Note**: GitHub recommends that you use the newer `package` event instead. + > [!NOTE] + > GitHub recommends that you use the newer `package` event instead. description: A package that was previously published to a registry was updated. operationId: registry-package/updated externalDocs: @@ -59809,7 +61950,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was created. operationId: repository-vulnerability-alert/create externalDocs: @@ -59872,7 +62014,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was dismissed. operationId: repository-vulnerability-alert/dismiss externalDocs: @@ -59935,7 +62078,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A previously dismissed or resolved repository vulnerability alert was reopened. operationId: repository-vulnerability-alert/reopen @@ -59999,7 +62143,8 @@ x-webhooks: summary: |- This event occurs when there is activity relating to a security vulnerability alert in a repository. - **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + > [!WARNING] + > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was marked as resolved. operationId: repository-vulnerability-alert/resolve externalDocs: @@ -60334,7 +62479,7 @@ x-webhooks: - repository - organization - app - secret-scanning-alert-revoked: + secret-scanning-alert-validated: post: summary: |- This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. @@ -60342,8 +62487,8 @@ x-webhooks: For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was marked as revoked. - operationId: secret-scanning-alert/revoked + description: A secret scanning alert was validated. + operationId: secret-scanning-alert/validated externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: @@ -60387,7 +62532,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-revoked" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60400,18 +62545,16 @@ x-webhooks: - repository - organization - app - secret-scanning-alert-validated: + security-advisory-published: post: summary: |- - This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - - For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was validated. - operationId: secret-scanning-alert/validated + GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + description: A security advisory was published to the GitHub community. + operationId: security-advisory/published externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: - name: User-Agent in: header @@ -60453,7 +62596,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" + "$ref": "#/components/schemas/webhook-security-advisory-published" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60461,19 +62604,17 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: secret_scanning_alert + subcategory: security_advisory supported-webhook-types: - - repository - - organization - app - security-advisory-published: + security-advisory-updated: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A security advisory was published to the GitHub community. - operationId: security-advisory/published + description: The metadata or description of a security advisory was changed. + operationId: security-advisory/updated externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -60517,7 +62658,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-published" + "$ref": "#/components/schemas/webhook-security-advisory-updated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60528,14 +62669,14 @@ x-webhooks: subcategory: security_advisory supported-webhook-types: - app - security-advisory-updated: + security-advisory-withdrawn: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: The metadata or description of a security advisory was changed. - operationId: security-advisory/updated + description: A previously published security advisory was withdrawn. + operationId: security-advisory/withdrawn externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -60579,7 +62720,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-updated" + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60590,16 +62731,145 @@ x-webhooks: subcategory: security_advisory supported-webhook-types: - app - security-advisory-withdrawn: + security-and-analysis: post: summary: |- - This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). + This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." - GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A previously published security advisory was withdrawn. - operationId: security-advisory/withdrawn + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + operationId: security-and-analysis externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-security-and-analysis" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: security_and_analysis + supported-webhook-types: + - repository + - organization + - app + sponsorship-cancelled: + post: + summary: |- + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: |- + A sponsorship was cancelled and the last billing cycle has ended. + + This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + operationId: sponsorship/cancelled + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: sponsorship + supported-webhook-types: + - sponsors_listing + sponsorship-created: + post: + summary: |- + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: A sponsor created a sponsorship for a sponsored account. This event + occurs once the payment is successfully processed. + operationId: sponsorship/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: - name: User-Agent in: header @@ -60641,7 +62911,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + "$ref": "#/components/schemas/webhook-sponsorship-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60649,18 +62919,21 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: security_advisory + subcategory: sponsorship supported-webhook-types: - - app - security-and-analysis: + - sponsors_listing + sponsorship-edited: post: summary: |- - This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." + This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - operationId: security-and-analysis + You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + description: A monthly sponsor changed who can see their sponsorship. If you + recognize your sponsors publicly, you may want to update your sponsor recognition + to reflect the change when this event occurs. + operationId: sponsorship/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: - name: User-Agent in: header @@ -60702,7 +62975,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-and-analysis" + "$ref": "#/components/schemas/webhook-sponsorship-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60710,22 +62983,20 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: security_and_analysis + subcategory: sponsorship supported-webhook-types: - - repository - - organization - - app - sponsorship-cancelled: + - sponsors_listing + sponsorship-pending-cancellation: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." description: |- - A sponsorship was cancelled and the last billing cycle has ended. + A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - operationId: sponsorship/cancelled + operationId: sponsorship/pending-cancellation externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60769,7 +63040,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60780,15 +63051,15 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-created: + sponsorship-pending-tier-change: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor created a sponsorship for a sponsored account. This event - occurs once the payment is successfully processed. - operationId: sponsorship/created + description: A sponsor scheduled a downgrade to a lower sponsorship tier. The + new tier will become effective on their next billing date. + operationId: sponsorship/pending-tier-change externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60832,7 +63103,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-created" + "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60843,16 +63114,17 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-edited: + sponsorship-tier-changed: post: summary: |- This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A monthly sponsor changed who can see their sponsorship. If you - recognize your sponsors publicly, you may want to update your sponsor recognition - to reflect the change when this event occurs. - operationId: sponsorship/edited + description: A sponsor changed the tier of their sponsorship and the change + has taken effect. If a sponsor upgraded their tier, the change took effect + immediately. If a sponsor downgraded their tier, the change took effect at + the beginning of the sponsor's next billing cycle. + operationId: sponsorship/tier-changed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship parameters: @@ -60896,7 +63168,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-edited" + "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60907,19 +63179,80 @@ x-webhooks: subcategory: sponsorship supported-webhook-types: - sponsors_listing - sponsorship-pending-cancellation: + star-created: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: |- - A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: Someone starred a repository. + operationId: star/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-star-created" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: star + supported-webhook-types: + - repository + - organization + - app + star-deleted: + post: + summary: |- + This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - operationId: sponsorship/pending-cancellation + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: Someone unstarred the repository. + operationId: star/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#star parameters: - name: User-Agent in: header @@ -60961,7 +63294,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" + "$ref": "#/components/schemas/webhook-star-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -60969,20 +63302,20 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: star supported-webhook-types: - - sponsors_listing - sponsorship-pending-tier-change: + - repository + - organization + - app + status: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor scheduled a downgrade to a lower sponsorship tier. The - new tier will become effective on their next billing date. - operationId: sponsorship/pending-tier-change + To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. + operationId: status externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#status parameters: - name: User-Agent in: header @@ -61024,7 +63357,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" + "$ref": "#/components/schemas/webhook-status" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61032,22 +63365,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: status supported-webhook-types: - - sponsors_listing - sponsorship-tier-changed: + - repository + - organization + - app + sub-issues-parent-issue-added: post: summary: |- - This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). + This event occurs when there is activity relating to sub-issues. - You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - description: A sponsor changed the tier of their sponsorship and the change - has taken effect. If a sponsor upgraded their tier, the change took effect - immediately. If a sponsor downgraded their tier, the change took effect at - the beginning of the sponsor's next billing cycle. - operationId: sponsorship/tier-changed + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A parent issue was added to an issue. + operationId: sub-issues/parent-issue-added externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61089,7 +63423,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61097,19 +63431,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: sponsorship + subcategory: sub-issues supported-webhook-types: - - sponsors_listing - star-created: + - repository + - organization + - app + sub-issues-parent-issue-removed: post: summary: |- - This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - description: Someone starred a repository. - operationId: star/created + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A parent issue was removed from an issue. + operationId: sub-issues/parent-issue-removed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61151,7 +63489,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-star-created" + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61159,21 +63497,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: star + subcategory: sub-issues supported-webhook-types: - repository - organization - app - star-deleted: + sub-issues-sub-issue-added: post: summary: |- - This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - description: Someone unstarred the repository. - operationId: star/deleted + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A sub-issue was added to an issue. + operationId: sub-issues/sub-issue-added externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#star + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61215,7 +63555,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-star-deleted" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61223,20 +63563,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: star + subcategory: sub-issues supported-webhook-types: - repository - organization - app - status: + sub-issues-sub-issue-removed: post: summary: |- - This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. + This event occurs when there is activity relating to sub-issues. - To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - operationId: status + For activity relating to issues more generally, use the `issues` event instead. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + description: A sub-issue was removed from an issue. + operationId: sub-issues/sub-issue-removed externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#status + url: https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues parameters: - name: User-Agent in: header @@ -61278,7 +63621,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-status" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -61286,7 +63629,7 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: status + subcategory: sub-issues supported-webhook-types: - repository - organization @@ -62474,6 +64817,46 @@ components: - vulnerable_version_range - first_patched_version - vulnerable_functions + cvss-severities: + type: object + nullable: true + properties: + cvss_v3: + type: object + nullable: true + properties: + vector_string: + type: string + description: The CVSS 3 vector string. + nullable: true + score: + type: number + description: The CVSS 3 score. + minimum: 0 + maximum: 10 + nullable: true + readOnly: true + required: + - vector_string + - score + cvss_v4: + type: object + nullable: true + properties: + vector_string: + type: string + description: The CVSS 4 vector string. + nullable: true + score: + type: number + description: The CVSS 4 score. + minimum: 0 + maximum: 10 + nullable: true + readOnly: true + required: + - vector_string + - score simple-user: title: Simple User description: A GitHub user. @@ -62490,6 +64873,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -62726,6 +65110,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array nullable: true @@ -62742,6 +65128,14 @@ components: required: - cwe_id - name + epss: + type: object + nullable: true + properties: + percentage: + type: number + percentile: + type: number credits: type: array description: The users who contributed to the advisory. @@ -62825,6 +65219,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -62925,6 +65320,9 @@ components: node_id: type: string example: MDExOkludGVncmF0aW9uMQ== + client_id: + type: string + example: '"Iv1.25b5d1e65ffc4022"' owner: "$ref": "#/components/schemas/nullable-simple-user" name: @@ -62982,9 +65380,6 @@ components: description: The number of installations associated with the GitHub app example: 5 type: integer - client_id: - type: string - example: '"Iv1.25b5d1e65ffc4022"' client_secret: type: string example: '"1d4b2097ac622ba702d19de498f005747a8b21d3"' @@ -63101,6 +65496,12 @@ components: type: integer example: 123 nullable: true + throttled_at: + description: Time when the webhook delivery was throttled. + type: string + format: date-time + example: '2021-05-12T20:33:44Z' + nullable: true required: - id - guid @@ -63230,6 +65631,12 @@ components: type: integer example: 123 nullable: true + throttled_at: + description: Time when the webhook delivery was throttled. + type: string + format: date-time + example: '2021-05-12T20:33:44Z' + nullable: true url: description: The URL target of the delivery. type: string @@ -63850,6 +66257,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64395,6 +66803,7 @@ components: properties: id: type: integer + format: int64 url: type: string format: uri @@ -64983,6 +67392,304 @@ components: - html_url - key - name + nullable-organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + nullable: true + nullable-team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + team: + title: Team + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + enterprise-team: + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + example: disabled | all + group_id: + nullable: true + type: integer + example: 1 + html_url: + type: string + format: uri + example: https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - sync_to_organizations + - name + - html_url + - slug + - created_at + - updated_at + copilot-seat-details: + title: Copilot Business Seat Detail + description: Information about a Copilot Business seat assignment for a user, + team, or organization. + type: object + properties: + assignee: + "$ref": "#/components/schemas/simple-user" + organization: + "$ref": "#/components/schemas/nullable-organization-simple" + assigning_team: + description: The team through which the assignee is granted access to GitHub + Copilot, if applicable. + oneOf: + - "$ref": "#/components/schemas/team" + - "$ref": "#/components/schemas/enterprise-team" + nullable: true + pending_cancellation_date: + type: string + format: date + nullable: true + description: The pending cancellation date for the seat, in `YYYY-MM-DD` + format. This will be null unless the assignee's Copilot access has been + canceled during the current billing cycle. If the seat has been cancelled, + this corresponds to the start of the organization's next billing cycle. + last_activity_at: + type: string + format: date-time + nullable: true + description: Timestamp of user's last GitHub Copilot activity, in ISO 8601 + format. + last_activity_editor: + type: string + nullable: true + description: Last editor that was used by the user for a GitHub Copilot + completion. + created_at: + type: string + format: date-time + description: Timestamp of when the assignee was last granted access to GitHub + Copilot, in ISO 8601 format. + updated_at: + type: string + format: date-time + description: Timestamp of when the assignee's GitHub Copilot access was + last updated, in ISO 8601 format. + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown + required: + - assignee + - created_at + additionalProperties: false copilot-usage-metrics: title: Copilot Usage Metrics description: Summary of Copilot usage. @@ -65187,6 +67894,8 @@ components: - score - vector_string additionalProperties: false + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array description: Details for the advisory pertaining to Common Weakness Enumeration. @@ -65331,6 +68040,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 description: A unique identifier of the repository. node_id: @@ -65742,7 +68452,7 @@ components: type: string description: |- User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." secret: type: string description: The secret that was detected. @@ -65904,6 +68614,9 @@ components: node_id: type: string example: MDExOkludGVncmF0aW9uMQ== + client_id: + type: string + example: '"Iv1.25b5d1e65ffc4022"' owner: "$ref": "#/components/schemas/nullable-simple-user" name: @@ -65961,9 +68674,6 @@ components: description: The number of installations associated with the GitHub app example: 5 type: integer - client_id: - type: string - example: '"Iv1.25b5d1e65ffc4022"' client_secret: type: string example: '"1d4b2097ac622ba702d19de498f005747a8b21d3"' @@ -66531,6 +69241,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -67335,12 +70046,24 @@ components: type: string example: - 192.0.2.1 + codespaces: + type: array + items: + type: string + example: + - 192.0.2.1 dependabot: type: array items: type: string example: - 192.0.2.1 + copilot: + type: array + items: + type: string + example: + - 192.0.2.1 domains: type: object properties: @@ -67374,6 +70097,19 @@ components: type: string example: - example.com + artifact_attestations: + type: object + properties: + trust_domain: + type: string + example: + - example + services: + type: array + items: + type: string + example: + - example.com required: - verifiable_password_authentication security-and-analysis: @@ -67415,6 +70151,22 @@ components: enum: - enabled - disabled + secret_scanning_non_provider_patterns: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled minimal-repository: title: Minimal Repository description: Minimal Repository @@ -67422,6 +70174,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -67995,10 +70748,6 @@ components: type: integer example: 10000 nullable: true - collaborators: - type: integer - example: 8 - nullable: true billing_email: type: string format: email @@ -68064,49 +70813,62 @@ components: type: boolean example: false description: |- + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependabot_alerts_enabled_for_new_repositories: type: boolean example: false description: |- - Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to - this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependabot_security_updates_enabled_for_new_repositories: type: boolean example: false description: |- - Whether dependabot security updates are automatically enabled for new repositories and repositories transferred - to this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true dependency_graph_enabled_for_new_repositories: type: boolean example: false description: |- - Whether dependency graph is automatically enabled for new repositories and repositories transferred to this - organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_enabled_for_new_repositories: type: boolean example: false description: |- - Whether secret scanning is automatically enabled for new repositories and repositories transferred to this - organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_push_protection_enabled_for_new_repositories: type: boolean example: false description: |- - Whether secret scanning push protection is automatically enabled for new repositories and repositories - transferred to this organization. + **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + + Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. + deprecated: true secret_scanning_push_protection_custom_link_enabled: type: boolean example: false @@ -68261,7 +71023,8 @@ components: description: |- Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`. - **Note**: The `patterns_allowed` setting only applies to public repositories. + > [!NOTE] + > The `patterns_allowed` setting only applies to public repositories. items: type: string actions-default-workflow-permissions: @@ -68292,6 +71055,59 @@ components: "$ref": "#/components/schemas/actions-default-workflow-permissions" can_approve_pull_request_reviews: "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + runner-groups-org: + type: object + properties: + id: + type: number + name: + type: string + visibility: + type: string + default: + type: boolean + selected_repositories_url: + description: Link to the selected repositories resource for this runner + group. Not present unless visibility was set to `selected` + type: string + runners_url: + type: string + hosted_runners_url: + type: string + inherited: + type: boolean + inherited_allows_public_repositories: + type: boolean + allows_public_repositories: + type: boolean + workflow_restrictions_read_only: + description: If `true`, the `restricted_to_workflows` and `selected_workflows` + fields cannot be modified. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running only + the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed to run. + This setting will be ignored unless `restricted_to_workflows` is set to + `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed to run. + Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - id + - name + - visibility + - default + - runners_url + - inherited + - allows_public_repositories runner-label: title: Self hosted runner label description: A label for a self hosted runner @@ -68558,7 +71374,6 @@ components: or closing the alert." nullable: true enum: - - - false positive - won't fix - used in tests @@ -68577,12 +71392,6 @@ components: name: type: string description: The name of the rule used to detect the alert. - tags: - nullable: true - type: array - description: A set of tags applicable for the rule. - items: - type: string severity: nullable: true type: string @@ -68604,6 +71413,24 @@ components: description: type: string description: A short description of the rule used to detect the alert. + full_description: + type: string + description: A description of the rule used to detect the alert. + tags: + nullable: true + type: array + description: A set of tags applicable for the rule. + items: + type: string + help: + nullable: true + type: string + description: Detailed documentation for the rule as GitHub Flavored Markdown. + help_uri: + nullable: true + type: string + description: A link to the documentation for the rule used to detect the + alert. code-scanning-analysis-tool-version: nullable: true type: string @@ -68740,6 +71567,165 @@ components: - tool - most_recent_instance - repository + code-security-configuration: + type: object + description: A code security configuration + properties: + id: + type: integer + description: The ID of the code security configuration + name: + type: string + description: The name of the code security configuration. Must be unique + within the organization. + target_type: + type: string + description: The type of the code security configuration. + enum: + - global + - organization + description: + type: string + description: A description of the code security configuration + advanced_security: + type: string + description: The enablement status of GitHub Advanced Security + enum: + - enabled + - disabled + dependency_graph: + type: string + description: The enablement status of Dependency Graph + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action: + type: string + description: The enablement status of Automatic dependency submission + enum: + - enabled + - disabled + - not_set + dependency_graph_autosubmit_action_options: + type: object + description: Feature options for Automatic dependency submission + properties: + labeled_runners: + type: boolean + description: Whether to use runners labeled with 'dependency-submission' + or standard GitHub runners. + dependabot_alerts: + type: string + description: The enablement status of Dependabot alerts + enum: + - enabled + - disabled + - not_set + dependabot_security_updates: + type: string + description: The enablement status of Dependabot security updates + enum: + - enabled + - disabled + - not_set + code_scanning_default_setup: + type: string + description: The enablement status of code scanning default setup + enum: + - enabled + - disabled + - not_set + secret_scanning: + type: string + description: The enablement status of secret scanning + enum: + - enabled + - disabled + - not_set + secret_scanning_push_protection: + type: string + description: The enablement status of secret scanning push protection + enum: + - enabled + - disabled + - not_set + secret_scanning_validity_checks: + type: string + description: The enablement status of secret scanning validity checks + enum: + - enabled + - disabled + - not_set + secret_scanning_non_provider_patterns: + type: string + description: The enablement status of secret scanning non-provider patterns + enum: + - enabled + - disabled + - not_set + private_vulnerability_reporting: + type: string + description: The enablement status of private vulnerability reporting + enum: + - enabled + - disabled + - not_set + enforcement: + type: string + description: The enforcement status for a security configuration + enum: + - enforced + - unenforced + url: + type: string + format: uri + description: The URL of the configuration + html_url: + type: string + format: uri + description: The URL of the configuration + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + code-security-default-configurations: + type: array + description: A list of default code security configurations + items: + type: object + properties: + default_for_new_repos: + enum: + - public + - private_and_internal + - all + description: The visibility of newly created repositories for which the + code security configuration will be applied to by default + configuration: + "$ref": "#/components/schemas/code-security-configuration" + code-security-configuration-repositories: + type: object + description: Repositories associated with a code security configuration and + attachment status + properties: + status: + type: string + description: The attachment status of the code security configuration on + the repository. + enum: + - attached + - attaching + - detached + - removed + - enforced + - failed + - updating + - removed_by_enterprise + repository: + "$ref": "#/components/schemas/simple-repository" nullable-codespace-machine: type: object title: Codespace machine @@ -68800,6 +71786,7 @@ components: properties: id: type: integer + format: int64 example: 1 name: description: Automatically generated name of this codespace. @@ -69106,9 +72093,9 @@ components: description: The number of seats that have not used Copilot during the current billing cycle. copilot-organization-details: - title: Copilot Business Organization Details + title: Copilot Organization Details description: Information about the seat breakdown and policies set for an organization - with a Copilot Business subscription. + with a Copilot Business or Copilot Enterprise subscription. type: object properties: seat_breakdown: @@ -69154,324 +72141,19 @@ components: - assign_selected - disabled - unconfigured + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - seat_breakdown - public_code_suggestions - seat_management_setting additionalProperties: true - nullable-team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - team: - title: Team - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - "$ref": "#/components/schemas/nullable-team-simple" - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at - copilot-seat-details: - title: Copilot Business Seat Detail - description: Information about a Copilot Business seat assignment for a user, - team, or organization. - type: object - properties: - assignee: - type: object - description: The assignee that has been granted access to GitHub Copilot. - additionalProperties: true - oneOf: - - "$ref": "#/components/schemas/simple-user" - - "$ref": "#/components/schemas/team" - - "$ref": "#/components/schemas/organization" - assigning_team: - description: The team that granted access to GitHub Copilot to the assignee. - This will be null if the user was assigned a seat individually. - oneOf: - - "$ref": "#/components/schemas/team" - nullable: true - pending_cancellation_date: - type: string - format: date - nullable: true - description: The pending cancellation date for the seat, in `YYYY-MM-DD` - format. This will be null unless the assignee's Copilot access has been - canceled during the current billing cycle. If the seat has been cancelled, - this corresponds to the start of the organization's next billing cycle. - last_activity_at: - type: string - format: date-time - nullable: true - description: Timestamp of user's last GitHub Copilot activity, in ISO 8601 - format. - last_activity_editor: - type: string - nullable: true - description: Last editor that was used by the user for a GitHub Copilot - completion. - created_at: - type: string - format: date-time - description: Timestamp of when the assignee was last granted access to GitHub - Copilot, in ISO 8601 format. - updated_at: - type: string - format: date-time - description: Timestamp of when the assignee's GitHub Copilot access was - last updated, in ISO 8601 format. - required: - - assignee - - created_at - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -69526,6 +72208,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -69915,6 +72598,7 @@ components: properties: id: type: integer + format: int64 login: type: string nullable: true @@ -70125,6 +72809,7 @@ components: properties: id: type: integer + format: int64 example: 79 owner: "$ref": "#/components/schemas/nullable-simple-user" @@ -70198,18 +72883,6 @@ components: - url - created_at - updated_at - organization-fine-grained-permission: - title: Organization Fine-Grained Permission - description: A fine-grained permission that protects organization resources. - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description organization-role: title: Organization Role description: Organization roles @@ -70218,6 +72891,7 @@ components: id: description: The unique identifier of the role. type: integer + format: int64 name: description: The name of the role. type: string @@ -70248,6 +72922,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"2020-07-09T00:17:55Z"' + required: + - avatar_url + - events_url + - followers_url + - following_url + - gists_url + - gravatar_id + - html_url + - id + - node_id + - login + - organizations_url + - received_events_url + - repos_url + - site_admin + - starred_url + - subscriptions_url + - type + - url package-version: title: Package Version description: A version of a software package @@ -70550,7 +73454,7 @@ components: - columns_url - created_at - updated_at - org-custom-property: + custom-property: title: Organization Custom Property description: Custom property defined on an organization type: object @@ -70558,12 +73462,19 @@ components: property_name: type: string description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete info about + this property via the API. value_type: type: string example: single_select enum: - string - single_select + - multi_select + - true_false description: The type of the value for the property required: type: boolean @@ -70653,6 +73564,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -71147,6 +74059,7 @@ components: properties: id: type: integer + format: int64 example: 1296269 node_id: type: string @@ -71616,17 +74529,14 @@ components: description: An actor that can bypass rules in a ruleset required: - actor_type - - bypass_mode properties: actor_id: type: integer nullable: true - description: 'The ID of the actor that can bypass a ruleset. If `actor_type` + description: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. - - ' actor_type: type: string enum: @@ -71635,19 +74545,17 @@ components: - RepositoryRole - Team - DeployKey - description: 'The type of actor that can bypass a ruleset. - - ' + description: The type of actor that can bypass a ruleset. bypass_mode: type: string - description: 'When the specified actor can bypass the ruleset. `pull_request` + description: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` - is not applicable for the `DeployKey` actor type. - - ' + is not applicable for the `DeployKey` actor type. Also, `pull_request` + is only applicable to branch rulesets. enum: - always - pull_request + default: always repository-ruleset-conditions: title: Repository ruleset conditions for ref names type: object @@ -71724,6 +74632,13 @@ components: description: The values to match for the repository property items: type: string + source: + type: string + description: The source of the repository property. Defaults to 'custom' + if not specified. + enum: + - custom + - system required: - name - property_values @@ -71752,11 +74667,10 @@ components: org-ruleset-conditions: title: Organization ruleset conditions type: object - description: 'Conditions for an organization ruleset. The conditions object - should contain both `repository_name` and `ref_name` properties or both `repository_id` - and `ref_name` properties. - - ' + description: |- + Conditions for an organization ruleset. + The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + The push rulesets conditions object does not require the `ref_name` property. oneOf: - type: object title: repository_name_and_ref_name @@ -71828,6 +74742,78 @@ components: type: string enum: - required_linear_history + repository-rule-merge-queue: + title: merge_queue + description: Merges must be performed via a merge queue. + type: object + required: + - type + properties: + type: + type: string + enum: + - merge_queue + parameters: + type: object + properties: + check_response_timeout_minutes: + type: integer + description: Maximum time for a required status check to report a conclusion. + After this much time has elapsed, checks that have not reported a + conclusion will be assumed to have failed + minimum: 1 + maximum: 360 + grouping_strategy: + type: string + description: When set to ALLGREEN, the merge commit created by merge + queue for each PR in the group must pass all required checks to merge. + When set to HEADGREEN, only the commit at the head of the merge group, + i.e. the commit containing changes from all of the PRs in the group, + must pass its required checks to merge. + enum: + - ALLGREEN + - HEADGREEN + max_entries_to_build: + type: integer + description: Limit the number of queued pull requests requesting checks + and workflow runs at the same time. + minimum: 0 + maximum: 100 + max_entries_to_merge: + type: integer + description: The maximum number of PRs that will be merged together + in a group. + minimum: 0 + maximum: 100 + merge_method: + type: string + description: Method to use when merging changes from queued pull requests. + enum: + - MERGE + - SQUASH + - REBASE + min_entries_to_merge: + type: integer + description: The minimum number of PRs that will be merged together + in a group. + minimum: 0 + maximum: 100 + min_entries_to_merge_wait_minutes: + type: integer + description: The time merge queue should wait after the first PR is + added to the queue for the minimum group size to be met. After this + time has elapsed, the minimum group size will be ignored and a smaller + group will be merged. + minimum: 0 + maximum: 360 + required: + - check_response_timeout_minutes + - grouping_strategy + - max_entries_to_build + - max_entries_to_merge + - merge_method + - min_entries_to_merge + - min_entries_to_merge_wait_minutes repository-rule-required-deployments: title: required_deployments description: Choose which environments must be successfully deployed to before @@ -71935,6 +74921,10 @@ components: parameters: type: object properties: + do_not_enforce_on_create: + type: boolean + description: Allow repositories and branches to be created if a check + would otherwise prohibit it. required_status_checks: type: array description: Status checks that are required. @@ -72177,6 +75167,10 @@ components: parameters: type: object properties: + do_not_enforce_on_create: + type: boolean + description: Allow repositories and branches to be created if a check + would otherwise prohibit it. workflows: type: array description: Workflows that must pass for this rule to pass. @@ -72251,6 +75245,7 @@ components: - "$ref": "#/components/schemas/repository-rule-update" - "$ref": "#/components/schemas/repository-rule-deletion" - "$ref": "#/components/schemas/repository-rule-required-linear-history" + - "$ref": "#/components/schemas/repository-rule-merge-queue" - "$ref": "#/components/schemas/repository-rule-required-deployments" - "$ref": "#/components/schemas/repository-rule-required-signatures" - "$ref": "#/components/schemas/repository-rule-pull-request" @@ -72262,10 +75257,8 @@ components: - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - title: file_path_restriction - description: |- - Note: file_path_restriction is in beta and subject to change. - - Prevent commits that include changes in specified file paths from being pushed to the commit graph. + description: Prevent commits that include changes in specified file paths + from being pushed to the commit graph. type: object required: - type @@ -72286,10 +75279,8 @@ components: required: - restricted_file_paths - title: max_file_path_length - description: |- - Note: max_file_path_length is in beta and subject to change. - - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + description: Prevent commits that include file paths that exceed a specified + character limit from being pushed to the commit graph. type: object required: - type @@ -72309,10 +75300,8 @@ components: required: - max_file_path_length - title: file_extension_restriction - description: |- - Note: file_extension_restriction is in beta and subject to change. - - Prevent commits that include files with specified file extensions from being pushed to the commit graph. + description: Prevent commits that include files with specified file extensions + from being pushed to the commit graph. type: object required: - type @@ -72333,10 +75322,8 @@ components: required: - restricted_file_extensions - title: max_file_size - description: |- - Note: max_file_size is in beta and subject to change. - - Prevent commits that exceed a specified file size limit from being pushed to the commit. + description: Prevent commits that exceed a specified file size limit from + being pushed to the commit. type: object required: - type @@ -72376,10 +75363,7 @@ components: description: The name of the ruleset target: type: string - description: |- - The target of the ruleset - - **Note**: The `push` target is in beta and is subject to change. + description: The target of the ruleset enum: - branch - tag @@ -72422,6 +75406,7 @@ components: description: The URL of the ruleset html: type: object + nullable: true properties: href: type: string @@ -72489,6 +75474,7 @@ components: enum: - pass - fail + - bypass description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. @@ -72537,12 +75523,15 @@ components: enforcement status. evaluation_result: type: string + nullable: true enum: - pass - fail + - bypass description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would - pass or fail if all rules in the rule suite were `active`. + pass or fail if all rules in the rule suite were `active`. Null if no + rules with `evaluate` enforcement status were run. rule_evaluations: type: array description: Details on the evaluated rules. @@ -72581,7 +75570,9 @@ components: description: The type of rule. details: type: string - description: Any associated details with the rule evaluation. + nullable: true + description: The detailed failure message for the rule. Null if the + rule passed. repository-advisory-vulnerability: description: A product affected by the vulnerability detailed in a repository security advisory. @@ -72790,6 +75781,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array nullable: true @@ -72877,74 +75870,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug actions-billing-usage: type: object properties: @@ -74057,6 +76982,7 @@ components: description: The project card's ID example: 42 type: integer + format: int64 node_id: type: string example: MDExOlByb2plY3RDYXJkMTQ3OA== @@ -74632,6 +77558,7 @@ components: properties: id: type: integer + format: int64 number: type: integer url: @@ -74648,6 +77575,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -74672,6 +77600,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -75033,8 +77962,9 @@ components: properties: id: description: The id of the environment. - example: 56780428 type: integer + format: int64 + example: 56780428 node_id: type: string example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= @@ -75094,8 +78024,9 @@ components: example: https://api.github.com/repos/octocat/example/deployments/1 id: description: Unique identifier of the deployment - example: 42 type: integer + format: int64 + example: 42 node_id: type: string example: MDEwOkRlcGxveW1lbnQx @@ -75575,6 +78506,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -75713,6 +78645,8 @@ components: example: false name: type: string + client_id: + type: string description: type: string external_url: @@ -76009,9 +78943,15 @@ components: - tree - url author: - "$ref": "#/components/schemas/nullable-simple-user" + nullable: true + oneOf: + - "$ref": "#/components/schemas/simple-user" + - "$ref": "#/components/schemas/empty-object" committer: - "$ref": "#/components/schemas/nullable-simple-user" + nullable: true + oneOf: + - "$ref": "#/components/schemas/simple-user" + - "$ref": "#/components/schemas/empty-object" parents: type: array items: @@ -76379,6 +79319,7 @@ components: description: The id of the check. example: 21 type: integer + format: int64 head_sha: description: The SHA of the commit that is being checked. example: '009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d' @@ -76658,7 +79599,7 @@ components: - action_required - startup_failure - stale - - + - null nullable: true url: type: string @@ -76821,7 +79762,7 @@ components: description: A short description of the rule used to detect the alert. full_description: type: string - description: description of the rule used to detect the alert. + description: A description of the rule used to detect the alert. tags: nullable: true type: array @@ -77405,6 +80346,26 @@ components: description: Any errors that ocurred during processing of the delivery. readOnly: true nullable: true + code-security-configuration-for-repository: + type: object + description: Code security configuration associated with a repository and attachment + status + properties: + status: + type: string + description: The attachment status of the code security configuration on + the repository. + enum: + - attached + - attaching + - detached + - removed + - enforced + - failed + - updating + - removed_by_enterprise + configuration: + "$ref": "#/components/schemas/code-security-configuration" codeowners-errors: title: CODEOWNERS errors description: A list of errors found in a repo's CODEOWNERS file @@ -77553,6 +80514,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 email: nullable: true @@ -77665,6 +80627,7 @@ components: description: Unique identifier of the repository invitation. example: 42 type: integer + format: int64 repository: "$ref": "#/components/schemas/minimal-repository" invitee: @@ -77717,6 +80680,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 email: nullable: true @@ -77960,6 +80924,7 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 example: 1 node_id: type: string @@ -78492,6 +81457,8 @@ components: type: string sha: type: string + content: + type: string url: type: string format: uri @@ -78520,8 +81487,6 @@ components: type: string path: type: string - content: - type: string sha: type: string url: @@ -78597,8 +81562,6 @@ components: - size - type - url - - content - - encoding content-directory: title: Content Directory description: A list of directory items @@ -78970,6 +81933,35 @@ components: payload: type: string nullable: true + secret-scanning-push-protection-bypass-placeholder-id: + description: The ID of the push protection bypass placeholder. This value is + returned on any push protected routes. + type: string + repository-rule-violation-error: + description: Repository rule violation was detected + type: object + properties: + message: + type: string + documentation_url: + type: string + status: + type: string + metadata: + type: object + properties: + secret_scanning: + type: object + properties: + bypass_placeholders: + type: array + items: + type: object + properties: + placeholder_id: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id" + token_type: + type: string contributor: title: Contributor description: Contributor @@ -79311,6 +82303,11 @@ components: example: NOASSERTION description: The distribution source of this package, or NOASSERTION if this was not determined. + copyrightText: + type: string + example: Copyright (c) 1985 GitHub.com + description: The copyright holders of the package, and any dates + present with those notices, if available. externalRefs: type: array items: @@ -79528,6 +82525,7 @@ components: example: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: type: integer + format: int64 example: 1 node_id: type: string @@ -79640,6 +82638,7 @@ components: description: The id of the environment. example: 56780428 type: integer + format: int64 node_id: type: string example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= @@ -81497,6 +84496,7 @@ components: type: object properties: id: + description: Unique identifier for the label. type: integer format: int64 example: 208045946 @@ -81513,6 +84513,7 @@ components: example: bug type: string description: + description: Optional description of the label, such as its purpose. type: string example: Something isn't working nullable: true @@ -81522,6 +84523,7 @@ components: example: FFFFFF type: string default: + description: Whether this label comes by default in a new repository. type: boolean example: true required: @@ -81836,13 +84838,15 @@ components: type: string pull_request_review_id: description: The ID of the pull request review to which the comment belongs. - example: 42 type: integer + format: int64 + example: 42 nullable: true id: description: The ID of the pull request review comment. - example: 1 type: integer + format: int64 + example: 1 node_id: description: The node ID of the pull request review comment. type: string @@ -82785,6 +85789,7 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 example: 1 node_id: type: string @@ -83332,6 +86337,7 @@ components: format: uri id: type: integer + format: int64 node_id: type: string login: @@ -83770,6 +86776,7 @@ components: format: uri id: type: integer + format: int64 node_id: type: string login: @@ -83976,6 +86983,7 @@ components: description: Unique identifier of the review example: 42 type: integer + format: int64 node_id: type: string example: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84054,10 +87062,12 @@ components: example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: type: integer + format: int64 example: 42 nullable: true id: type: integer + format: int64 example: 10 node_id: type: string @@ -84381,6 +87391,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-required-linear-history" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-merge-queue" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" - allOf: - "$ref": "#/components/schemas/repository-rule-required-deployments" - "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -84456,7 +87469,7 @@ components: type: string description: |- User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." secret: type: string description: The secret that was detected. @@ -84760,6 +87773,26 @@ components: - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + secret-scanning-push-protection-bypass-reason: + description: The reason for bypassing push protection. + type: string + enum: + - false_positive + - used_in_tests + - will_fix_later + secret-scanning-push-protection-bypass: + type: object + properties: + reason: + "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-reason" + expire_at: + type: string + format: date-time + description: 'The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + token_type: + type: string + description: The token type this bypass is for. repository-advisory-create: type: object properties: @@ -86104,6 +89137,7 @@ components: type: string id: type: integer + format: int64 node_id: type: string avatar_url: @@ -86219,6 +89253,7 @@ components: example: octocat id: type: integer + format: int64 example: 1 node_id: type: string @@ -86515,6 +89550,7 @@ components: properties: id: type: integer + format: int64 example: 1 name: description: Automatically generated name of this codespace. @@ -86751,6 +89787,7 @@ components: properties: id: type: integer + format: int64 example: 3 name: type: string @@ -86797,6 +89834,7 @@ components: properties: id: type: integer + format: int64 primary_key_id: type: integer key_id: @@ -86881,6 +89919,7 @@ components: type: string id: type: integer + format: int64 url: type: string title: @@ -87016,6 +90055,76 @@ components: required: - starred_at - repo + sigstore-bundle-0: + title: Sigstore Bundle v0.1 + description: Sigstore Bundle v0.1 + type: object + properties: + mediaType: + type: string + verificationMaterial: + type: object + properties: + x509CertificateChain: + type: object + properties: + certificates: + type: array + items: + type: object + properties: + rawBytes: + type: string + tlogEntries: + type: array + items: + type: object + properties: + logIndex: + type: string + logId: + type: object + properties: + keyId: + type: string + kindVersion: + type: object + properties: + kind: + type: string + version: + type: string + integratedTime: + type: string + inclusionPromise: + type: object + properties: + signedEntryTimestamp: + type: string + inclusionProof: + type: string + nullable: true + canonicalizedBody: + type: string + timestampVerificationData: + type: string + nullable: true + dsseEnvelope: + type: object + properties: + payload: + type: string + payloadType: + type: string + signatures: + type: array + items: + type: object + properties: + sig: + type: string + keyid: + type: string hovercard: title: Hovercard description: Hovercard @@ -87049,7 +90158,7 @@ components: - id enterprise-webhooks: title: Enterprise - description: | + description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured on an enterprise account or an organization that's part of an enterprise account. For more information, see "[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts)." @@ -87195,6 +90304,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -87931,102 +91041,6 @@ components: - watchers_count - created_at - updated_at - simple-user-webhooks: - title: Simple User - description: The GitHub user that triggered the event. This property is included - in every webhook payload. - type: object - properties: - name: - nullable: true - type: string - email: - nullable: true - type: string - login: - type: string - example: octocat - id: - type: integer - example: 1 - node_id: - type: string - example: MDQ6VXNlcjE= - avatar_url: - type: string - format: uri - example: https://github.com/images/error/octocat_happy.gif - gravatar_id: - type: string - example: 41d064eb2195891e12d0413f63227ea7 - nullable: true - url: - type: string - format: uri - example: https://api.github.com/users/octocat - html_url: - type: string - format: uri - example: https://github.com/octocat - followers_url: - type: string - format: uri - example: https://api.github.com/users/octocat/followers - following_url: - type: string - example: https://api.github.com/users/octocat/following{/other_user} - gists_url: - type: string - example: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: - type: string - example: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: - type: string - format: uri - example: https://api.github.com/users/octocat/subscriptions - organizations_url: - type: string - format: uri - example: https://api.github.com/users/octocat/orgs - repos_url: - type: string - format: uri - example: https://api.github.com/users/octocat/repos - events_url: - type: string - example: https://api.github.com/users/octocat/events{/privacy} - received_events_url: - type: string - format: uri - example: https://api.github.com/users/octocat/received_events - type: - type: string - example: User - site_admin: - type: boolean - starred_at: - type: string - example: '"2020-07-09T00:17:55Z"' - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url webhooks_rule: title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch @@ -88075,6 +91089,20 @@ components: - 'off' - non_admins - everyone + lock_branch_enforcement_level: + description: The enforcement level of the branch lock setting. `off` means + the branch is not locked, `non_admins` means the branch is read-only for + non_admins, and `everyone` means the branch is read-only for everyone. + type: string + enum: + - 'off' + - non_admins + - everyone + lock_allows_fork_sync: + description: Whether users can pull changes from upstream when the branch + is locked. Set to `true` to allow users to pull changes from upstream + when the branch is locked. This setting is only applicable for forks. + type: boolean merge_queue_enforcement_level: type: string enum: @@ -88149,6 +91177,7 @@ components: - strict_required_status_checks_policy - signature_requirement_enforcement_level - linear_history_requirement_enforcement_level + - lock_branch_enforcement_level - admin_enforced - allow_force_pushes_enforcement_level - allow_deletions_enforcement_level @@ -88607,6 +91636,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -88748,6 +91778,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89040,6 +92071,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89075,6 +92107,10 @@ components: required: - login - id + labels: + type: array + items: + "$ref": "#/components/schemas/label" required: - repository_url - category @@ -89201,6 +92237,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89453,6 +92490,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -89528,7 +92566,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -90348,6 +93386,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -90556,7 +93595,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -91370,6 +94409,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -91773,10 +94813,8 @@ components: merge-group: type: object title: Merge Group - description: 'A group of pull requests that the merge queue has grouped together + description: A group of pull requests that the merge queue has grouped together to be merged. - - ' properties: head_sha: description: The SHA of the merge group. @@ -91809,6 +94847,7 @@ components: description: Unique identifier of the repository example: 42 type: integer + format: int64 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -92729,6 +95768,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -93298,6 +96338,90 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + projects-v2-status-update: + title: Projects v2 Status Update + description: An status update belonging to a project + type: object + properties: + id: + type: number + node_id: + type: string + project_node_id: + type: string + creator: + "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + status: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + start_date: + type: string + format: date + example: '2022-04-28' + target_date: + type: string + format: date + example: '2022-04-28' + body: + description: Body of the status update + example: The project is off to a great start! + type: string + nullable: true + required: + - id + - node_id + - created_at + - updated_at webhooks_number: description: The pull request number. type: integer @@ -93459,7 +96583,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -93861,6 +96985,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -94252,6 +97377,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -94478,6 +97604,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -94869,6 +97996,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95515,6 +98643,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95754,7 +98883,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be a diff line @@ -95802,6 +98931,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -95960,6 +99090,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -96782,6 +99913,11 @@ components: secret_type: type: string description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." validity: type: string description: The token status as of the latest validity check. @@ -96817,6 +99953,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array items: @@ -97311,7 +100449,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -97333,7 +100471,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -97357,7 +100495,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97382,7 +100520,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97444,6 +100582,44 @@ components: - everyone required: - from + lock_branch_enforcement_level: + type: object + properties: + from: + type: string + enum: + - 'off' + - non_admins + - everyone + required: + - from + lock_allows_fork_sync: + type: object + properties: + from: + type: boolean + nullable: true + required: + - from + pull_request_reviews_enforcement_level: + type: object + properties: + from: + type: string + enum: + - 'off' + - non_admins + - everyone + required: + - from + require_last_push_approval: + type: object + properties: + from: + type: boolean + nullable: true + required: + - from required_status_checks: type: object properties: @@ -97475,7 +100651,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -97498,7 +100674,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97531,7 +100707,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97572,7 +100748,7 @@ components: user. type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_run @@ -97606,7 +100782,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -97721,6 +100897,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: The client ID of the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -98011,7 +101191,7 @@ components: - timed_out - action_required - stale - - + - null - skipped - startup_failure created_at: @@ -98179,7 +101359,7 @@ components: - in_progress - completed - queued - - + - null - pending updated_at: type: string @@ -98214,7 +101394,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -98320,6 +101500,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: Client ID of the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -98610,7 +101794,7 @@ components: - timed_out - action_required - stale - - + - null - skipped created_at: type: string @@ -98777,7 +101961,7 @@ components: - in_progress - completed - queued - - + - null updated_at: type: string format: date-time @@ -98811,7 +101995,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -98912,6 +102096,10 @@ components: description: Unique identifier of the GitHub app type: integer nullable: true + client_id: + description: The Client ID for the GitHub app + type: string + nullable: true name: description: The name of the GitHub app type: string @@ -99202,7 +102390,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -99368,7 +102556,7 @@ components: - in_progress - completed - queued - - + - null updated_at: type: string format: date-time @@ -99402,7 +102590,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -99506,7 +102694,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -99593,7 +102781,7 @@ components: - note - warning - error - - + - null required: - id - severity @@ -99646,7 +102834,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -99751,7 +102939,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -99850,7 +103038,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -99910,7 +103098,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100050,7 +103238,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100114,7 +103302,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100220,7 +103408,7 @@ components: - false positive - won't fix - used in tests - - + - null html_url: description: The GitHub URL of the alert resource. type: string @@ -100322,7 +103510,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100381,7 +103569,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100518,7 +103706,7 @@ components: - note - warning - error - - + - null tags: type: array nullable: true @@ -100587,7 +103775,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100708,7 +103896,7 @@ components: - note - warning - error - - + - null required: - id - severity @@ -100760,7 +103948,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -100778,7 +103966,7 @@ components: enum: - created comment: - description: The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) + description: The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. type: object properties: @@ -100898,6 +104086,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -100956,7 +104145,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -100992,7 +104181,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -101010,7 +104199,7 @@ components: enum: - created definition: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" enterprise: "$ref": "#/components/schemas/enterprise-webhooks" installation: @@ -101018,11 +104207,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-deleted: title: custom property deleted event type: object @@ -101046,11 +104234,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-updated: title: custom property updated event type: object @@ -101060,7 +104247,7 @@ components: enum: - updated definition: - "$ref": "#/components/schemas/org-custom-property" + "$ref": "#/components/schemas/custom-property" enterprise: "$ref": "#/components/schemas/enterprise-webhooks" installation: @@ -101068,11 +104255,10 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition - - organization webhook-custom-property-values-updated: title: Custom property values updated event type: object @@ -101090,7 +104276,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" new_property_values: type: array description: The new custom property values for the repository. @@ -101130,7 +104316,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -101156,7 +104342,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101181,7 +104367,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101206,7 +104392,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101231,7 +104417,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101256,7 +104442,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101281,7 +104467,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101306,7 +104492,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -101331,7 +104517,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -101356,7 +104542,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -101856,7 +105042,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -101952,7 +105138,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -102490,7 +105676,7 @@ components: installation: "$ref": "#/components/schemas/simple-installation" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" webhook-deployment-review-approved: type: object properties: @@ -102513,7 +105699,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -102633,7 +105819,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -103166,7 +106352,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -103287,7 +106473,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -103893,7 +107079,7 @@ components: - User - Team sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -104018,7 +107204,7 @@ components: - timed_out - action_required - stale - - + - null created_at: type: string format: date-time @@ -104563,7 +107749,7 @@ components: - action_required - stale - skipped - - + - null details_url: type: string format: uri @@ -105569,7 +108755,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -105665,7 +108851,7 @@ components: - timed_out - action_required - stale - - + - null - startup_failure created_at: type: string @@ -106193,7 +109379,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106263,7 +109449,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106289,7 +109475,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106316,7 +109502,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -106344,7 +109530,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -106384,7 +109570,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106411,7 +109597,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106436,7 +109622,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106478,7 +109664,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106505,7 +109691,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106531,7 +109717,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106556,7 +109742,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106581,7 +109767,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106616,7 +109802,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -106640,7 +109826,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106667,7 +109853,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106693,7 +109879,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106718,7 +109904,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -106802,12 +109988,6 @@ components: - type: integer - type: string format: date-time - custom_properties: - type: object - description: The custom properties that were defined for the repository. - The keys are the custom property names, and the values are the corresponding - custom property values. - additionalProperties: true default_branch: description: The default branch of the repository. type: string @@ -106884,6 +110064,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -107400,7 +110581,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - forkee - repository @@ -107414,7 +110595,7 @@ components: enum: - revoked sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sender @@ -107467,7 +110648,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - pages - repository @@ -107493,7 +110674,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107519,7 +110700,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107545,7 +110726,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107593,7 +110774,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107651,7 +110832,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107681,7 +110862,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107800,7 +110981,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" target_type: type: string required: @@ -107830,7 +111011,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -107957,6 +111138,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -108026,7 +111208,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -108848,6 +112030,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -109110,6 +112293,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -109140,7 +112324,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -109178,7 +112362,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -109996,6 +113180,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -110258,6 +113443,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -110288,7 +113474,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -110328,7 +113514,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -111149,6 +114335,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -111411,6 +114598,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -111441,7 +114629,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -111471,7 +114659,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -111507,7 +114695,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -112329,6 +115517,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -112496,6 +115685,7 @@ components: type: string id: type: integer + format: int64 login: type: string node_id: @@ -112524,7 +115714,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -112556,7 +115746,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -113371,6 +116561,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -113433,7 +116624,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -113487,7 +116678,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -114309,6 +117500,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -114349,7 +117541,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -114401,7 +117593,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -115222,6 +118414,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -115287,7 +118480,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -115320,7 +118513,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -116140,6 +119333,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -116205,7 +119399,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -116260,7 +119454,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -117082,6 +120276,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -117119,7 +120314,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -117173,7 +120368,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -117994,6 +121189,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -118033,7 +121229,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -118066,7 +121262,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -118881,6 +122077,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -119091,6 +122288,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -119418,7 +122616,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -120237,6 +123435,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -120299,7 +123498,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120324,7 +123523,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120379,7 +123578,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -121203,6 +124402,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -121241,7 +124441,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -121272,7 +124472,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -122087,6 +125287,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -122298,6 +125499,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -122620,7 +125822,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -122649,7 +125851,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122676,7 +125878,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122731,7 +125933,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -123551,6 +126753,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -123588,7 +126791,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123613,7 +126816,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123638,7 +126841,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123662,7 +126865,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123718,7 +126921,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -123747,7 +126950,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -123856,7 +127059,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -123964,7 +127167,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124072,7 +127275,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124101,7 +127304,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -124153,7 +127356,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -124200,7 +127403,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -124226,7 +127429,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -124447,7 +127650,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -124476,7 +127679,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -124604,7 +127807,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - hook_id @@ -124628,7 +127831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124653,7 +127856,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124678,7 +127881,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124734,7 +127937,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -124760,7 +127963,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -124785,7 +127988,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -124810,7 +128013,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -124835,7 +128038,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -124859,7 +128062,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -124994,7 +128197,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" user: "$ref": "#/components/schemas/webhooks_user" required: @@ -125021,7 +128224,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -125054,7 +128257,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -125665,7 +128868,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -126104,7 +129307,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -126228,7 +129431,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - id - build @@ -126244,10 +129447,12 @@ components: - approved personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126266,10 +129471,12 @@ components: - cancelled personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126288,10 +129495,12 @@ components: - created personal_access_token_request: "$ref": "#/components/schemas/personal-access-token-request" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126299,7 +129508,6 @@ components: - personal_access_token_request - organization - sender - - installation webhook-personal-access-token-request-denied: title: personal_access_token_request denied event type: object @@ -126312,8 +129520,10 @@ components: "$ref": "#/components/schemas/personal-access-token-request" organization: "$ref": "#/components/schemas/organization-simple-webhooks" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -126404,7 +129614,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" zen: description: Random string of GitHub zen. type: string @@ -126449,7 +129659,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126474,7 +129684,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126615,7 +129825,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126652,7 +129862,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126874,7 +130084,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -126898,7 +130108,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -126922,7 +130132,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -126945,7 +130155,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -126978,7 +130188,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -127002,7 +130212,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -127026,7 +130236,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127050,7 +130260,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127094,7 +130304,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127117,7 +130327,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -127137,7 +130347,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127158,7 +130368,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127179,7 +130389,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127235,7 +130445,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -127259,7 +130469,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127292,7 +130502,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127314,7 +130524,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127335,7 +130545,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127350,6 +130560,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -127360,6 +130573,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object @@ -127382,7 +130613,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127415,7 +130646,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127439,7 +130670,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -127461,12 +130692,130 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 - organization - sender + webhook-projects-v2-status-update-created: + title: Projects v2 Status Update Created Event + type: object + properties: + action: + type: string + enum: + - created + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-deleted: + title: Projects v2 Status Update Deleted Event + type: object + properties: + action: + type: string + enum: + - deleted + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-edited: + title: Projects v2 Status Update Edited Event + type: object + properties: + action: + type: string + enum: + - edited + changes: + type: object + properties: + body: + type: object + properties: + from: + type: string + nullable: true + to: + type: string + nullable: true + status: + type: object + properties: + from: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + to: + type: string + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + nullable: true + start_date: + type: object + properties: + from: + type: string + format: date + nullable: true + to: + type: string + format: date + nullable: true + target_date: + type: object + properties: + from: + type: string + format: date + nullable: true + to: + type: string + format: date + nullable: true + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - projects_v2_status_update + - organization + - sender webhook-public: title: public event type: object @@ -127480,7 +130829,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - repository - sender @@ -127598,7 +130947,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -128000,6 +131349,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -128392,6 +131742,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -128620,6 +131971,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -129012,6 +132364,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -129669,6 +133022,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -129745,7 +133099,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -129865,7 +133219,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -130265,6 +133619,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -130657,6 +134012,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -130883,6 +134239,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -131275,6 +134632,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -131931,6 +135289,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -132009,7 +135368,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -132129,7 +135488,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -132529,6 +135888,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -132921,6 +136281,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -133539,6 +136900,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -134196,6 +137558,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -134274,7 +137637,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134302,7 +137665,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134330,7 +137693,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134358,7 +137721,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134476,7 +137839,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -134876,6 +138239,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -135268,6 +138632,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -135494,6 +138859,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -135886,6 +139252,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -136533,6 +139900,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -136608,10 +139976,23 @@ components: - draft reason: type: string + enum: + - UNKNOWN_REMOVAL_REASON + - MANUAL + - MERGE + - MERGE_CONFLICT + - CI_FAILURE + - CI_TIMEOUT + - ALREADY_MERGED + - QUEUE_CLEARED + - ROLL_BACK + - BRANCH_PROTECTIONS + - GIT_TREE_INVALID + - INVALID_MERGE_COMMIT repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -136682,7 +140063,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -136801,7 +140182,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -137201,6 +140582,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -137593,6 +140975,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -137819,6 +141202,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -138211,6 +141595,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -138858,6 +142243,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -138934,7 +142320,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -139055,7 +142441,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -139457,6 +142843,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -139849,6 +143236,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -140077,6 +143465,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -140469,6 +143858,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -141127,6 +144517,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -141203,7 +144594,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -141322,7 +144713,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -141723,6 +145114,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -142115,6 +145507,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -142343,6 +145736,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -142735,6 +146129,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143392,6 +146787,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143468,7 +146864,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143496,7 +146892,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143523,7 +146919,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143551,7 +146947,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143579,7 +146975,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143765,7 +147161,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be a diff @@ -143813,6 +147209,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -143975,7 +147372,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -144375,6 +147772,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -144767,6 +148165,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -144983,6 +148382,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -145374,6 +148774,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -145942,6 +149343,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -146016,7 +149418,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -146134,7 +149536,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -146532,6 +149934,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -146924,6 +150327,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -147140,6 +150544,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -147532,6 +150937,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -148089,6 +151495,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -148163,7 +151570,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -148283,7 +151690,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -148681,6 +152088,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -149073,6 +152481,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -149289,6 +152698,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -149681,6 +153091,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -150239,6 +153650,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -150313,7 +153725,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -150431,7 +153843,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -150831,6 +154243,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -151223,6 +154636,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -151439,6 +154853,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -151831,6 +155246,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152398,6 +155814,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152573,6 +155990,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -152622,7 +156040,7 @@ components: - author_association - _links sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -152751,7 +156169,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -153147,6 +156565,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -153484,6 +156903,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -153696,6 +157116,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -154033,6 +157454,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -154601,6 +158023,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -154679,7 +158102,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -154801,7 +158224,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -155201,6 +158624,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -155584,6 +159008,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -155810,6 +159235,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -156202,6 +159628,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -156867,6 +160294,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -157009,7 +160437,7 @@ components: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -157128,7 +160556,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -157528,6 +160956,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -157920,6 +161349,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -158146,6 +161576,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -158538,6 +161969,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -159203,6 +162635,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -159386,7 +162819,7 @@ components: - repositories_url - permission sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -159508,7 +162941,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -159910,6 +163343,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -160302,6 +163736,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -160528,6 +163963,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -160920,6 +164356,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -161577,6 +165014,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -161721,7 +165159,7 @@ components: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -161840,7 +165278,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -162242,6 +165680,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -162634,6 +166073,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -162860,6 +166300,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -163252,6 +166693,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -163900,6 +167342,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -164075,7 +167518,7 @@ components: - name - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -164193,7 +167636,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -164593,6 +168036,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -164985,6 +168429,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -165202,6 +168647,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -165594,6 +169040,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -166162,6 +169609,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -166240,7 +169688,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -166357,7 +169805,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -166755,6 +170203,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -167097,6 +170546,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -167314,6 +170764,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -167656,6 +171107,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168223,6 +171675,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168299,7 +171752,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -168478,7 +171931,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be @@ -168526,6 +171979,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -168708,7 +172162,7 @@ components: - off-topic - too heated - spam - - + - null assignee: title: User type: object @@ -169105,6 +172559,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -169447,6 +172902,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -169662,6 +173118,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -170004,6 +173461,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -170561,6 +174019,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -170636,7 +174095,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -170814,7 +174273,7 @@ components: enum: - LEFT - RIGHT - - + - null default: RIGHT subject_type: description: The level at which the comment is targeted, can be @@ -170862,6 +174321,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -171049,7 +174509,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -171451,6 +174911,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -171843,6 +175304,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -172069,6 +175531,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -172452,6 +175915,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -173109,6 +176573,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -173185,7 +176650,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -173308,7 +176773,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -173711,6 +177176,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -174103,6 +177569,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -174331,6 +177798,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -174723,6 +178191,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -175381,6 +178850,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -175457,7 +178927,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -175577,7 +179047,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -175979,6 +179449,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -176371,6 +179842,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -176599,6 +180071,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -176982,6 +180455,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -177639,6 +181113,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -177715,7 +181190,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -177834,7 +181309,7 @@ components: - off-topic - too heated - spam - - + - null additions: type: integer assignee: @@ -178233,6 +181708,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -178625,6 +182101,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -178852,6 +182329,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -179244,6 +182722,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -179890,6 +183369,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -179965,7 +183445,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -180368,6 +183848,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -180677,7 +184158,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - before @@ -181201,7 +184682,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -181573,7 +185054,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -181597,7 +185078,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -181622,7 +185103,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -181677,7 +185158,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182006,7 +185487,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182030,7 +185511,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182054,7 +185535,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182078,7 +185559,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -182102,7 +185583,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182126,7 +185607,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182148,7 +185629,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182170,7 +185651,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182192,7 +185673,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182222,7 +185703,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - branch @@ -182281,7 +185762,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182300,7 +185781,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" status: type: string enum: @@ -182328,7 +185809,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182350,7 +185831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182389,7 +185870,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182414,7 +185895,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182438,7 +185919,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182556,7 +186037,7 @@ components: from: type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -182663,6 +186144,7 @@ components: format: uri id: type: integer + format: int64 login: type: string name: @@ -182711,7 +186193,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -182734,7 +186216,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -182758,7 +186240,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -182908,7 +186390,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -182933,7 +186415,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183078,7 +186560,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183103,7 +186585,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183127,7 +186609,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - location - alert @@ -183162,7 +186644,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183186,31 +186668,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" - required: - - action - - alert - - repository - webhook-secret-scanning-alert-revoked: - title: secret_scanning_alert revoked event - type: object - properties: - action: - type: string - enum: - - revoked - alert: - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - enterprise: - "$ref": "#/components/schemas/enterprise-webhooks" - installation: - "$ref": "#/components/schemas/simple-installation" - organization: - "$ref": "#/components/schemas/organization-simple-webhooks" - repository: - "$ref": "#/components/schemas/repository-webhooks" - sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183234,7 +186692,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -183258,7 +186716,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183281,7 +186739,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183317,6 +186775,8 @@ components: required: - vector_string - score + cvss_severities: + "$ref": "#/components/schemas/cvss-severities" cwes: type: array items: @@ -183411,7 +186871,7 @@ components: - withdrawn_at - vulnerabilities sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -183436,7 +186896,7 @@ components: repository: "$ref": "#/components/schemas/full-repository" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - changes - repository @@ -183457,7 +186917,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183481,7 +186941,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183517,7 +186977,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183544,7 +187004,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183572,7 +187032,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183599,7 +187059,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -183624,7 +187084,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: description: 'The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` @@ -183653,7 +187113,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: description: 'The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` @@ -184019,7 +187479,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sha: description: The Commit SHA. type: string @@ -184051,6 +187511,146 @@ components: - updated_at - repository - sender + webhook-sub-issues-parent-issue-added: + title: parent issue added event + type: object + properties: + action: + type: string + enum: + - parent_issue_added + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + parent_issue_repo: + "$ref": "#/components/schemas/repository" + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - parent_issue_id + - parent_issue + - parent_issue_repo + - sub_issue_id + - sub_issue + webhook-sub-issues-parent-issue-removed: + title: parent issue removed event + type: object + properties: + action: + type: string + enum: + - parent_issue_removed + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + parent_issue_repo: + "$ref": "#/components/schemas/repository" + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - parent_issue_id + - parent_issue + - parent_issue_repo + - sub_issue_id + - sub_issue + webhook-sub-issues-sub-issue-added: + title: sub-issue added event + type: object + properties: + action: + type: string + enum: + - sub_issue_added + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + sub_issue_repo: + "$ref": "#/components/schemas/repository" + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - sub_issue_id + - sub_issue + - sub_issue_repo + - parent_issue_id + - parent_issue + webhook-sub-issues-sub-issue-removed: + title: sub-issue removed event + type: object + properties: + action: + type: string + enum: + - sub_issue_removed + sub_issue_id: + description: The ID of the sub-issue. + type: number + sub_issue: + "$ref": "#/components/schemas/issue" + sub_issue_repo: + "$ref": "#/components/schemas/repository" + parent_issue_id: + description: The ID of the parent issue. + type: number + parent_issue: + "$ref": "#/components/schemas/issue" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - sub_issue_id + - sub_issue + - sub_issue_repo + - parent_issue_id + - parent_issue webhook-team-add: title: team_add event type: object @@ -184064,7 +187664,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -184235,6 +187835,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -184539,7 +188140,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -184710,6 +188311,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -185014,7 +188616,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -185186,6 +188788,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -185490,7 +189093,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -185726,6 +189329,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -186030,7 +189634,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -186203,6 +189807,7 @@ components: id: description: Unique identifier of the repository type: integer + format: int64 is_template: type: boolean issue_comment_url: @@ -186507,7 +190112,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -186532,7 +190137,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -186556,7 +190161,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: type: string required: @@ -186582,7 +190187,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -186603,7 +190208,7 @@ components: enum: - success - failure - - + - null - skipped - cancelled - action_required @@ -186693,7 +190298,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -186838,7 +190443,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -186859,7 +190464,7 @@ components: enum: - success - failure - - + - null - cancelled - neutral created_at: @@ -186944,7 +190549,7 @@ components: - failure - skipped - success - - + - null - cancelled name: type: string @@ -187117,7 +190722,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -187202,7 +190807,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -187275,7 +190880,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -187360,7 +190965,7 @@ components: - skipped - success - cancelled - - + - null name: type: string number: @@ -187434,7 +191039,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -187567,6 +191172,7 @@ components: - stale - success - timed_out + - startup_failure created_at: type: string format: date-time @@ -188369,7 +191975,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -189299,7 +192905,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -189397,7 +193003,7 @@ components: - timed_out - action_required - stale - - + - null - skipped - startup_failure created_at: @@ -190289,9 +193895,19 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H score: 7.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H + score: 7.6 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-400 name: Uncontrolled Resource Consumption + epss: + - percentage: 0.00045 + percentile: 0.16001e0 credits: - user: login: octocat @@ -190348,6 +193964,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H score: 7.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H + score: 7.6 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-400 name: Uncontrolled Resource Consumption @@ -190376,6 +193999,7 @@ components: value: id: 1 slug: octoapp + client_id: Iv1.ab1112223334445c node_id: MDExOkludGVncmF0aW9uMQ== owner: login: octocat @@ -190498,6 +194122,7 @@ components: action: opened installation_id: 123 repository_id: 456 + throttled_at: '2019-06-03T00:57:16Z' - id: 123456789 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 delivered_at: '2019-06-04T00:57:16Z' @@ -190509,6 +194134,7 @@ components: action: opened installation_id: 123 repository_id: 456 + throttled_at: hook-delivery: value: id: 12345678 @@ -190523,6 +194149,7 @@ components: installation_id: 123 repository_id: 456 url: https://www.example.com + throttled_at: '2019-06-03T00:57:16Z' request: headers: X-GitHub-Delivery: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -192988,6 +196615,73 @@ components: zombie_man: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2642.png?v8 zombie_woman: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8 zzz: https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8 + copilot-seats-list: + value: + total_seats: 2 + seats: + - created_at: '2021-08-03T18:00:00-06:00' + updated_at: '2021-09-23T15:00:00-06:00' + pending_cancellation_date: + last_activity_at: '2021-10-14T00:53:32-06:00' + last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business + assignee: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + assigning_team: + id: 1 + node_id: MDQ6VGVhbTE= + url: https://api.github.com/teams/1 + html_url: https://github.com/orgs/github/teams/justice-league + name: Justice League + slug: justice-league + description: A great team. + privacy: closed + notification_setting: notifications_enabled + permission: admin + members_url: https://api.github.com/teams/1/members{/member} + repositories_url: https://api.github.com/teams/1/repos + parent: + - created_at: '2021-09-23T18:00:00-06:00' + updated_at: '2021-09-23T15:00:00-06:00' + pending_cancellation_date: '2021-11-01' + last_activity_at: '2021-10-13T00:53:32-06:00' + last_activity_editor: vscode/1.77.3/copilot/1.86.82 + assignee: + login: octokitten + id: 1 + node_id: MDQ76VNlcjE= + avatar_url: https://github.com/images/error/octokitten_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octokitten + html_url: https://github.com/octokitten + followers_url: https://api.github.com/users/octokitten/followers + following_url: https://api.github.com/users/octokitten/following{/other_user} + gists_url: https://api.github.com/users/octokitten/gists{/gist_id} + starred_url: https://api.github.com/users/octokitten/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octokitten/subscriptions + organizations_url: https://api.github.com/users/octokitten/orgs + repos_url: https://api.github.com/users/octokitten/repos + events_url: https://api.github.com/users/octokitten/events{/privacy} + received_events_url: https://api.github.com/users/octokitten/received_events + type: User + site_admin: false copilot-usage-metrics-enterprise: value: - day: '2023-10-15' @@ -193092,6 +196786,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -193252,6 +196953,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -193551,6 +197259,70 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + copilot-usage-metrics-org: + value: + - day: '2023-10-15' + total_suggestions_count: 1000 + total_acceptances_count: 800 + total_lines_suggested: 1800 + total_lines_accepted: 1200 + total_active_users: 10 + total_chat_acceptances: 32 + total_chat_turns: 200 + total_active_chat_users: 4 + breakdown: + - language: python + editor: vscode + suggestions_count: 300 + acceptances_count: 250 + lines_suggested: 900 + lines_accepted: 700 + active_users: 5 + - language: python + editor: jetbrains + suggestions_count: 300 + acceptances_count: 200 + lines_suggested: 400 + lines_accepted: 300 + active_users: 2 + - language: ruby + editor: vscode + suggestions_count: 400 + acceptances_count: 350 + lines_suggested: 500 + lines_accepted: 200 + active_users: 3 + - day: '2023-10-16' + total_suggestions_count: 800 + total_acceptances_count: 600 + total_lines_suggested: 1100 + total_lines_accepted: 700 + total_active_users: 12 + total_chat_acceptances: 57 + total_chat_turns: 426 + total_active_chat_users: 8 + breakdown: + - language: python + editor: vscode + suggestions_count: 300 + acceptances_count: 200 + lines_suggested: 600 + lines_accepted: 300 + active_users: 2 + - language: python + editor: jetbrains + suggestions_count: 300 + acceptances_count: 150 + lines_suggested: 300 + lines_accepted: 250 + active_users: 6 + - language: ruby + editor: vscode + suggestions_count: 200 + acceptances_count: 150 + lines_suggested: 200 + lines_accepted: 150 + active_users: 3 public-events-items: value: - id: '22249084947' @@ -194685,6 +198457,8 @@ components: - 192.0.2.1 dependabot: - 192.0.2.1 + copilot: + - 192.0.2.1 domains: website: - "*.example.com" @@ -195174,6 +198948,309 @@ components: value: default_workflow_permissions: read can_approve_pull_request_reviews: true + runner-groups-org: + value: + total_count: 3 + runner_groups: + - id: 1 + name: Default + visibility: all + default: true + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: [] + workflow_restrictions_read_only: false + - id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + inherited: true + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: true + - id: 3 + name: expensive-hardware + visibility: private + default: false + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group-item: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + minimal-repository-paginated: + value: + total_count: 1 + repositories: + - id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + language: + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + size: 108 + default_branch: master + open_issues_count: 0 + is_template: true + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + template_repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + organization: + language: + forks: 9 + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + watchers: 80 + size: 108 + default_branch: master + open_issues: 0 + open_issues_count: 0 + is_template: true + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + html_url: https://api.github.com/licenses/mit + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + allow_rebase_merge: true + template_repository: + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_squash_merge: true + allow_auto_merge: false + delete_branch_on_merge: true + allow_merge_commit: true + subscribers_count: 42 + network_count: 0 + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + delete_branch_on_merge: true + subscribers_count: 42 + network_count: 0 + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + forks: 1 + open_issues: 1 + watchers: 1 runner-paginated: value: total_count: 2 @@ -195438,6 +199515,97 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + list-attestations: + value: + attestations: + - bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== + repository_id: 1 + - bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== + repository_id: 1 simple-user-items: value: - login: octocat @@ -195564,12 +199732,281 @@ components: teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - - number: 3 - created_at: '2020-02-13T12:29:18Z' - url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3 - html_url: https://github.com/octocat/hello-world/code-scanning/3 - state: dismissed - dismissed_by: + - number: 3 + created_at: '2020-02-13T12:29:18Z' + url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3 + html_url: https://github.com/octocat/hello-world/code-scanning/3 + state: dismissed + dismissed_by: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + dismissed_at: '2020-02-14T12:29:18Z' + dismissed_reason: false positive + dismissed_comment: This alert is not actually correct, because there's a sanitizer + included in the library. + rule: + id: js/zipslip + severity: error + tags: + - security + - external/cwe/cwe-022 + description: Arbitrary file write during zip extraction + name: js/zipslip + tool: + name: CodeQL + guid: + version: 2.4.0 + most_recent_instance: + ref: refs/heads/main + analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" + category: ".github/workflows/codeql-analysis.yml:CodeQL-Build" + environment: "{}" + state: open + commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 + message: + text: This path depends on a user-provided value. + location: + path: lib/ab12-gen.js + start_line: 917 + end_line: 917 + start_column: 7 + end_column: 18 + classifications: [] + instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + code-security-configuration-list: + value: + - id: 17 + target_type: global + name: GitHub recommended + description: Suggested settings for Dependabot, secret scanning, and code + scanning. + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: enabled + secret_scanning_non_provider_patterns: enabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/17 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view + created_at: '2023-12-04T15:58:07Z' + updated_at: '2023-12-04T15:58:07Z' + - id: 1326 + target_type: organization + name: High risk settings + description: This is a code security configuration for octo-org high risk + repositories + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: enabled + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 + created_at: '2024-05-10T00:00:00Z' + updated_at: '2024-05-10T00:00:00Z' + code-security-configuration: + value: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: disabled + secret_scanning: enabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + code-security-default-configurations: + value: + - default_for_new_repos: public + configuration: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: enabled + secret_scanning_non_provider_patterns: enabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + - default_for_new_repos: private_and_internal + configuration: + id: 17 + target_type: global + name: GitHub recommended + description: Suggested settings for Dependabot, secret scanning, and code + scanning. + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: not_set + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: enabled + secret_scanning_push_protection: enabled + secret_scanning_validity_checks: disabled + private_vulnerability_reporting: enabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/17 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view + created_at: '2023-12-04T15:58:07Z' + updated_at: '2023-12-04T15:58:07Z' + code-security-configuration-updated: + value: + id: 1325 + target_type: organization + name: octo-org recommended settings v2 + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: enabled + secret_scanning: disabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' + simple-repository: + value: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: login: octocat id: 1 node_id: MDQ6VXNlcjE= @@ -195588,104 +200025,49 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - dismissed_at: '2020-02-14T12:29:18Z' - dismissed_reason: false positive - dismissed_comment: This alert is not actually correct, because there's a sanitizer - included in the library. - rule: - id: js/zipslip - severity: error - tags: - - security - - external/cwe/cwe-022 - description: Arbitrary file write during zip extraction - name: js/zipslip - tool: - name: CodeQL - guid: - version: 2.4.0 - most_recent_instance: - ref: refs/heads/main - analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - category: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: "{}" - state: open - commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 - message: - text: This path depends on a user-provided value. - location: - path: lib/ab12-gen.js - start_line: 917 - end_line: 917 - start_column: 7 - end_column: 18 - classifications: [] - instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks codespaces-list: value: total_count: 3 @@ -196127,137 +200509,11 @@ components: active_this_cycle: 12 inactive_this_cycle: 11 seat_management_setting: assign_selected + ide_chat: enabled + platform_chat: enabled + cli: enabled public_code_suggestions: block - copilot-seats-list: - value: - total_seats: 2 - seats: - - created_at: '2021-08-03T18:00:00-06:00' - updated_at: '2021-09-23T15:00:00-06:00' - pending_cancellation_date: - last_activity_at: '2021-10-14T00:53:32-06:00' - last_activity_editor: vscode/1.77.3/copilot/1.86.82 - assignee: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - assigning_team: - id: 1 - node_id: MDQ6VGVhbTE= - url: https://api.github.com/teams/1 - html_url: https://github.com/orgs/github/teams/justice-league - name: Justice League - slug: justice-league - description: A great team. - privacy: closed - notification_setting: notifications_enabled - permission: admin - members_url: https://api.github.com/teams/1/members{/member} - repositories_url: https://api.github.com/teams/1/repos - parent: - - created_at: '2021-09-23T18:00:00-06:00' - updated_at: '2021-09-23T15:00:00-06:00' - pending_cancellation_date: '2021-11-01' - last_activity_at: '2021-10-13T00:53:32-06:00' - last_activity_editor: vscode/1.77.3/copilot/1.86.82 - assignee: - login: octokitten - id: 1 - node_id: MDQ76VNlcjE= - avatar_url: https://github.com/images/error/octokitten_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octokitten - html_url: https://github.com/octokitten - followers_url: https://api.github.com/users/octokitten/followers - following_url: https://api.github.com/users/octokitten/following{/other_user} - gists_url: https://api.github.com/users/octokitten/gists{/gist_id} - starred_url: https://api.github.com/users/octokitten/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octokitten/subscriptions - organizations_url: https://api.github.com/users/octokitten/orgs - repos_url: https://api.github.com/users/octokitten/repos - events_url: https://api.github.com/users/octokitten/events{/privacy} - received_events_url: https://api.github.com/users/octokitten/received_events - type: User - site_admin: false - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 + plan_type: business organization-dependabot-secret-paginated: value: total_count: 3 @@ -196502,6 +200758,7 @@ components: repositories_url: https://api.github.com/installation/repositories html_url: https://github.com/organizations/github/settings/installations/1 app_id: 1 + client_id: Iv1.ab1112223334445c target_id: 1 target_type: Organization permissions: @@ -196768,6 +201025,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -197398,12 +201656,8 @@ components: status: enabled secret_scanning_push_protection: status: disabled - organization-fine-grained-permission-example: - value: - - name: read_organization_custom_org_role - description: View organization roles - - name: write_organization_custom_org_role - description: Manage custom organization roles + secret_scanning_non_provider_patterns: + status: disabled organization-role-list: value: total_count: 2 @@ -197687,9 +201941,10 @@ components: site_admin: false created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' - org-custom-properties: + custom-properties: value: - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment value_type: single_select required: true default_value: production @@ -197699,13 +201954,16 @@ components: - development values_editable_by: org_actors - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service value_type: string - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team value_type: string description: Team owning the repository - org-custom-property: + custom-property: value: property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment value_type: single_select required: true default_value: production @@ -198298,7 +202556,7 @@ components: value: - id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -198308,7 +202566,7 @@ components: result: bypass - id: 25 actor_id: 11 - username: not-octocat + actor_name: not-octocat before_sha: 48994e4e01ccc943624c6231f172702b82b233cc after_sha: ecfd5a1025fa271a33ca5608d089476a2df3c9a1 ref: refs/heads/i-am-everything @@ -198321,7 +202579,7 @@ components: value: id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -198428,6 +202686,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H score: 9.8 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + score: 9.8 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-123 name: A CWE @@ -198568,6 +202833,13 @@ components: cvss: vector_string: AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N score: 1.6 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N + score: 1.6 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 7.1 cwes: - cwe_id: CWE-456 name: A CWE 2.0 @@ -200014,6 +204286,8 @@ components: status: enabled secret_scanning_push_protection: status: disabled + secret_scanning_non_provider_patterns: + status: disabled artifact-paginated: value: total_count: 2 @@ -200957,6 +205231,51 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + attestation: + value: + bundle: + mediaType: application/vnd.dev.sigstore.bundle.v0.3+json + verificationMaterial: + tlogEntries: + - logIndex: '97913980' + logId: + keyId: wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0= + kindVersion: + kind: dsse + version: 0.0.1 + integratedTime: '1716998992' + inclusionPromise: + signedEntryTimestamp: MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL + inclusionProof: + logIndex: '93750549' + rootHash: KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60= + treeSize: '93750551' + hashes: + - 8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg= + - nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck= + - hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A= + - MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM= + - XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc= + - Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY= + - wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU= + - uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s= + - jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs= + - xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ= + - cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc= + - sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ= + - 98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8= + checkpoint: + envelope: rekor.sigstore.dev - 2605736670972794746\n93750551\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\n\n— + rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\n + canonicalizedBody: eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0= + timestampVerificationData: {} + certificate: + rawBytes: MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw== + dsseEnvelope: + payload: eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19 + payloadType: application/vnd.in-toto+json + signatures: + - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== autolink-items: value: - id: 1 @@ -203119,6 +207438,32 @@ components: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 + code-security-configuration-for-repository: + value: + status: attached + configuration: + id: 1325 + target_type: organization + name: octo-org recommended settings + description: This is a code security configuration for octo-org + advanced_security: enabled + dependency_graph: enabled + dependency_graph_autosubmit_action: enabled + dependency_graph_autosubmit_action_options: + labeled_runners: false + dependabot_alerts: enabled + dependabot_security_updates: not_set + code_scanning_default_setup: disabled + secret_scanning: enabled + secret_scanning_push_protection: disabled + secret_scanning_validity_checks: disabled + secret_scanning_non_provider_patterns: disabled + private_vulnerability_reporting: disabled + enforcement: enforced + url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 + html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 + created_at: '2024-05-01T00:00:00Z' + updated_at: '2024-05-01T00:00:00Z' codeowners-errors: value: errors: @@ -205229,6 +209574,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -205324,6 +209676,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -205401,6 +209760,13 @@ components: cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N + score: 5.5 + cvss_v4: + vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 8.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File @@ -205473,6 +209839,13 @@ components: cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N + score: 7.5 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N + score: 8.7 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor @@ -205595,6 +209968,7 @@ components: filesAnalyzed: false licenseConcluded: MIT licenseDeclared: MIT + copyrightText: Copyright (c) 1985 GitHub.com dependency-graph-create-snapshot-request: value: version: 0 @@ -210437,6 +214811,11 @@ components: - type: pull_request_review_comment details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + secret-scanning-push-protection-bypass: + value: + reason: will_fix_later + expire_at: '2020-11-06T18:18:30Z' + token_type: mailchimp_api_key repository-advisory: value: ghsa_id: GHSA-abcd-1234-efgh @@ -210514,6 +214893,13 @@ components: cvss: vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H score: 9.8 + cvss_severities: + cvss_v3: + vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + score: 9.8 + cvss_v4: + vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N + score: 9.3 cwes: - cwe_id: CWE-123 name: A CWE @@ -210693,6 +215079,9 @@ components: vulnerable_functions: - important_function cvss: + cvss_severities: + cvss_v3: + cvss_v4: cwes: - cwe_id: CWE-123 name: A CWE @@ -212255,240 +216644,6 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/user/codespaces/secrets/CODESPACE_GH_SECRET/repositories - minimal-repository-paginated: - value: - total_count: 1 - repositories: - - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - language: - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - size: 108 - default_branch: master - open_issues_count: 0 - is_template: true - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - template_repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - organization: - language: - forks: 9 - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - watchers: 80 - size: 108 - default_branch: master - open_issues: 0 - open_issues_count: 0 - is_template: true - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://api.github.com/licenses/mit - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - allow_squash_merge: true - allow_auto_merge: false - delete_branch_on_merge: true - allow_merge_commit: true - subscribers_count: 42 - network_count: 0 - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true - subscribers_count: 42 - network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - forks: 1 - open_issues: 1 - watchers: 1 user-export-details: value: state: succeeded @@ -216566,7 +220721,7 @@ components: in: query description: |- A comma-separated list of secret types to return. By default all secret types are returned. - See "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)" + See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -216601,6 +220756,13 @@ components: required: false schema: type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string gist-id: name: gist_id description: The unique identifier of the gist. @@ -216615,6 +220777,7 @@ components: required: true schema: type: integer + format: int64 labels: name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' @@ -216720,6 +220883,20 @@ components: required: true schema: type: integer + visible-to-repository: + name: visible_to_repository + description: Only return runner groups that are allowed to be used by this repository. + in: query + required: false + schema: + type: string + runner-group-id: + name: runner_group_id + description: Unique identifier of the self-hosted runner group. + in: path + required: true + schema: + type: integer runner-id: name: runner_id description: Unique identifier of the self-hosted runner. @@ -216782,6 +220959,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" + configuration-id: + name: configuration_id + description: The unique identifier of the code security configuration. + in: path + required: true + schema: + type: integer hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the @@ -216818,13 +221002,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string role-id: name: role_id description: The unique identifier of the role. @@ -216945,11 +221122,32 @@ components: type: integer custom-property-name: name: custom_property_name - description: The custom property name. The name is case sensitive. + description: The custom property name in: path required: true schema: type: string + ruleset-targets: + name: targets + description: | + A comma-separated list of rule targets to filter by. + If provided, only rulesets that apply to the specified targets will be returned. + For example, `branch,tag,push`. + in: query + required: false + schema: + type: string + example: branch,tag,push + ref-in-query: + name: ref + description: The name of the ref. Cannot contain wildcard characters. Optionally + prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to + tags. Omit the prefix to search across all refs. When specified, only rule + evaluations triggered for this ref will be returned. + in: query + schema: + type: string + x-multi-segment: true repository-name-in-query: name: repository_name description: The name of the repository to filter on. When specified, only rule @@ -217321,6 +221519,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-ref" + pr-alias: + name: pr + description: The number of the pull request for the results you want to list. + in: query + required: false + schema: + type: integer alert-number: name: alert_number in: path @@ -217480,14 +221685,6 @@ components: required: true schema: type: integer - ref-in-query: - name: ref - description: The name of the ref. Cannot contain wildcard characters. When specified, - only rule evaluations triggered for this ref will be returned. - in: query - schema: - type: string - x-multi-segment: true tag-protection-id: name: tag_protection_id description: The unique identifier of the tag protection. @@ -217752,11 +221949,11 @@ components: examples: default: "$ref": "#/components/examples/runner-labels-readonly" + no_content: + description: A header with no content is returned. package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - no_content: - description: A header with no content is returned. gone: description: Gone content: