From 15faefa51cfaa589070192f41b128faa2693457a Mon Sep 17 00:00:00 2001 From: Birler Date: Thu, 10 Oct 2024 09:40:36 +0200 Subject: [PATCH 1/2] Only apply major version in GeneratedCode attribute --- .../SearchProviders/GitHub/GitHubClient/GitHubClient.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions.cs | 4 ++-- .../GitHub/GitHubClient/Models/AppPermissions_actions.cs | 2 +- .../GitHubClient/Models/AppPermissions_administration.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_checks.cs | 2 +- .../GitHubClient/Models/AppPermissions_codespaces.cs | 2 +- .../GitHubClient/Models/AppPermissions_contents.cs | 2 +- .../Models/AppPermissions_dependabot_secrets.cs | 2 +- .../GitHubClient/Models/AppPermissions_deployments.cs | 2 +- .../Models/AppPermissions_email_addresses.cs | 2 +- .../GitHubClient/Models/AppPermissions_environments.cs | 2 +- .../GitHubClient/Models/AppPermissions_followers.cs | 2 +- .../GitHubClient/Models/AppPermissions_git_ssh_keys.cs | 2 +- .../GitHubClient/Models/AppPermissions_gpg_keys.cs | 2 +- .../Models/AppPermissions_interaction_limits.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_issues.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_members.cs | 2 +- .../GitHubClient/Models/AppPermissions_metadata.cs | 2 +- .../Models/AppPermissions_organization_administration.cs | 2 +- .../AppPermissions_organization_announcement_banners.cs | 2 +- ...ppPermissions_organization_copilot_seat_management.cs | 2 +- .../AppPermissions_organization_custom_org_roles.cs | 2 +- .../AppPermissions_organization_custom_properties.cs | 2 +- .../Models/AppPermissions_organization_custom_roles.cs | 2 +- .../Models/AppPermissions_organization_events.cs | 2 +- .../Models/AppPermissions_organization_hooks.cs | 2 +- .../Models/AppPermissions_organization_packages.cs | 2 +- ...ssions_organization_personal_access_token_requests.cs | 2 +- ...AppPermissions_organization_personal_access_tokens.cs | 2 +- .../Models/AppPermissions_organization_plan.cs | 2 +- .../Models/AppPermissions_organization_projects.cs | 2 +- .../Models/AppPermissions_organization_secrets.cs | 2 +- .../AppPermissions_organization_self_hosted_runners.cs | 2 +- .../Models/AppPermissions_organization_user_blocking.cs | 2 +- .../GitHubClient/Models/AppPermissions_packages.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_pages.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_profile.cs | 2 +- .../GitHubClient/Models/AppPermissions_pull_requests.cs | 2 +- .../AppPermissions_repository_custom_properties.cs | 2 +- .../Models/AppPermissions_repository_hooks.cs | 2 +- .../Models/AppPermissions_repository_projects.cs | 2 +- .../Models/AppPermissions_secret_scanning_alerts.cs | 2 +- .../GitHub/GitHubClient/Models/AppPermissions_secrets.cs | 2 +- .../Models/AppPermissions_security_events.cs | 2 +- .../GitHubClient/Models/AppPermissions_single_file.cs | 2 +- .../GitHubClient/Models/AppPermissions_starring.cs | 2 +- .../GitHubClient/Models/AppPermissions_statuses.cs | 2 +- .../Models/AppPermissions_team_discussions.cs | 2 +- .../Models/AppPermissions_vulnerability_alerts.cs | 2 +- .../GitHubClient/Models/AppPermissions_workflows.cs | 2 +- .../GitHub/GitHubClient/Models/BasicError.cs | 2 +- .../GitHub/GitHubClient/Models/ContentFile.cs | 2 +- .../GitHub/GitHubClient/Models/ContentFile__links.cs | 2 +- .../GitHub/GitHubClient/Models/ContentFile_type.cs | 2 +- .../GitHub/GitHubClient/Models/ContentSubmodule.cs | 2 +- .../GitHubClient/Models/ContentSubmodule__links.cs | 2 +- .../GitHub/GitHubClient/Models/ContentSubmodule_type.cs | 2 +- .../GitHub/GitHubClient/Models/ContentSymlink.cs | 2 +- .../GitHub/GitHubClient/Models/ContentSymlink__links.cs | 2 +- .../GitHub/GitHubClient/Models/ContentSymlink_type.cs | 2 +- .../GitHub/GitHubClient/Models/Enterprise.cs | 2 +- .../GitHub/GitHubClient/Models/Installation.cs | 4 ++-- .../Models/Installation_repository_selection.cs | 2 +- .../GitHub/GitHubClient/Models/NullableLicenseSimple.cs | 2 +- .../GitHub/GitHubClient/Models/NullableSimpleUser.cs | 2 +- .../GitHub/GitHubClient/Models/ReactionRollup.cs | 2 +- .../GitHub/GitHubClient/Models/Release.cs | 2 +- .../GitHub/GitHubClient/Models/ReleaseAsset.cs | 2 +- .../GitHub/GitHubClient/Models/ReleaseAsset_state.cs | 2 +- .../GitHub/GitHubClient/Models/RepoSearchResultItem.cs | 2 +- .../Models/RepoSearchResultItem_permissions.cs | 2 +- .../GitHub/GitHubClient/Models/Repositories.cs | 2 +- .../GitHub/GitHubClient/Models/Repositories503Error.cs | 2 +- .../GitHub/GitHubClient/Models/Repositories_matches.cs | 2 +- .../GitHub/GitHubClient/Models/SimpleUser.cs | 2 +- .../GitHub/GitHubClient/Models/ValidationError.cs | 2 +- .../GitHub/GitHubClient/Models/ValidationError_errors.cs | 4 ++-- .../GitHubClient/Models/WithPathGetResponseMember1.cs | 2 +- .../Repos/Item/Item/Contents/ContentsRequestBuilder.cs | 2 +- .../Item/Contents/Item/WithPathItemRequestBuilder.cs | 6 +++--- .../Repos/Item/Item/Releases/ReleasesRequestBuilder.cs | 4 ++-- .../Repos/Item/Item/WithRepoItemRequestBuilder.cs | 2 +- .../Repos/Item/WithOwnerItemRequestBuilder.cs | 2 +- .../GitHub/GitHubClient/Repos/ReposRequestBuilder.cs | 2 +- .../Search/Repositories/GetOrderQueryParameterType.cs | 2 +- .../Search/Repositories/GetSortQueryParameterType.cs | 2 +- .../Search/Repositories/RepositoriesGetResponse.cs | 2 +- .../Search/Repositories/RepositoriesRequestBuilder.cs | 4 ++-- .../GitHub/GitHubClient/Search/SearchRequestBuilder.cs | 2 +- .../User/Installations/InstallationsGetResponse.cs | 2 +- .../User/Installations/InstallationsRequestBuilder.cs | 4 ++-- .../GitHub/GitHubClient/User/UserRequestBuilder.cs | 2 +- .../Writers/CSharp/CodeClassDeclarationWriter.cs | 2 +- src/Kiota.Builder/Writers/CSharp/CodeEnumWriter.cs | 2 +- src/Kiota.Generated/KiotaVersionGenerator.cs | 9 +++++++++ 95 files changed, 111 insertions(+), 102 deletions(-) diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/GitHubClient.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/GitHubClient.cs index fbe7adfdb8..3ae1e43b7d 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/GitHubClient.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/GitHubClient.cs @@ -17,7 +17,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient /// /// The main entry point of the SDK, exposes the configuration and the fluent API. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GitHubClient : BaseRequestBuilder { /// The repos property diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions.cs index 301025085e..0d4e9c2b5d 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions.cs @@ -1,4 +1,4 @@ -// +// #pragma warning disable CS0618 using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// The permissions granted to the user access token. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppPermissions : IAdditionalDataHolder, IParsable { /// The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_actions.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_actions.cs index a013060bc3..9f89a0fa2f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_actions.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_actions.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_actions { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_administration.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_administration.cs index 5ae02c1d2a..445764cced 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_administration.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_administration.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_administration { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_checks.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_checks.cs index 9d8d98d6ef..e81d8f96f9 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_checks.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_checks.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for checks on code. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_checks { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_codespaces.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_codespaces.cs index 8eb841021d..3bb6da5209 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_codespaces.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_codespaces.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to create, edit, delete, and list Codespaces. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_codespaces { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_contents.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_contents.cs index 323fa57c42..56fbcf23e8 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_contents.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_contents.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_contents { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_dependabot_secrets.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_dependabot_secrets.cs index b26123bcf2..bf720885f2 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_dependabot_secrets.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_dependabot_secrets.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The leve of permission to grant the access token to manage Dependabot secrets. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_dependabot_secrets { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_deployments.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_deployments.cs index bf415a5fbb..97dfdd87a7 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_deployments.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_deployments.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for deployments and deployment statuses. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_deployments { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_email_addresses.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_email_addresses.cs index a239301c5e..5c6f5b5683 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_email_addresses.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_email_addresses.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage the email addresses belonging to a user. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_email_addresses { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_environments.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_environments.cs index 7042983115..3fd3dc5d77 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_environments.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_environments.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for managing repository environments. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_environments { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_followers.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_followers.cs index cc347bb7fa..57ac31c647 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_followers.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_followers.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage the followers belonging to a user. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_followers { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_git_ssh_keys.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_git_ssh_keys.cs index e094704b8a..00f5658999 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_git_ssh_keys.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_git_ssh_keys.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage git SSH keys. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_git_ssh_keys { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_gpg_keys.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_gpg_keys.cs index e29ec00351..377c9c0a96 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_gpg_keys.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_gpg_keys.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage GPG keys belonging to a user. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_gpg_keys { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_interaction_limits.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_interaction_limits.cs index 168da9917e..b7a6bd6bc5 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_interaction_limits.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_interaction_limits.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage interaction limits on a repository. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_interaction_limits { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_issues.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_issues.cs index a5770950c0..1cabcf6ac0 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_issues.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_issues.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_issues { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_members.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_members.cs index fc604ddfe3..3377e8f24c 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_members.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_members.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for organization teams and members. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_members { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_metadata.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_metadata.cs index 2db999a243..b220e6f476 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_metadata.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_metadata.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_metadata { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_administration.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_administration.cs index f46028117b..c34897302c 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_administration.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_administration.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage access to an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_administration { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_announcement_banners.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_announcement_banners.cs index 180fb47424..fefd412489 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_announcement_banners.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_announcement_banners.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage announcement banners for an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_announcement_banners { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_copilot_seat_management.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_copilot_seat_management.cs index 518b500f68..519d6c47ce 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_copilot_seat_management.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_copilot_seat_management.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_copilot_seat_management { [EnumMember(Value = "write")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_org_roles.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_org_roles.cs index 0aa118e13d..25b96366db 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_org_roles.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_org_roles.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for custom organization roles management. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_custom_org_roles { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_properties.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_properties.cs index 8a7d96c249..92bc6da302 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_properties.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_properties.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for custom property management. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_custom_properties { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_roles.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_roles.cs index 004edace7d..e048b4d280 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_roles.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_custom_roles.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for custom repository roles management. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_custom_roles { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_events.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_events.cs index 9d03c35921..2c55176f27 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_events.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_events.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view events triggered by an activity in an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_events { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_hooks.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_hooks.cs index 43559d9f39..1691643031 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_hooks.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_hooks.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage the post-receive hooks for an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_hooks { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_packages.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_packages.cs index 9f7f5d99a0..1ede5068c8 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_packages.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_packages.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for organization packages published to GitHub Packages. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_packages { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_token_requests.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_token_requests.cs index 384fa0a24b..36cd6f2654 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_token_requests.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_token_requests.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_personal_access_token_requests { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_tokens.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_tokens.cs index aba6c5d4d2..d8583bd41b 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_tokens.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_personal_access_tokens.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_personal_access_tokens { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_plan.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_plan.cs index 9ec7330d34..32a5c5a11f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_plan.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_plan.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for viewing an organization's plan. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_plan { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_projects.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_projects.cs index 006187bd78..7502cd1156 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_projects.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_projects.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage organization projects and projects beta (where available). - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_projects { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_secrets.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_secrets.cs index 475692a394..32718c1201 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_secrets.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_secrets.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage organization secrets. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_secrets { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_self_hosted_runners.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_self_hosted_runners.cs index 94c53b3554..e0f1e12c06 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_self_hosted_runners.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_self_hosted_runners.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_self_hosted_runners { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_user_blocking.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_user_blocking.cs index 1145c82685..b177d02bce 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_user_blocking.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_organization_user_blocking.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage users blocked by the organization. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_organization_user_blocking { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_packages.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_packages.cs index dd66bebc90..99afc6876f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_packages.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_packages.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for packages published to GitHub Packages. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_packages { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pages.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pages.cs index 43c416500f..b301ac48b8 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pages.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pages.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_pages { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_profile.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_profile.cs index 99df092aa1..e7af8f2737 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_profile.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_profile.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage the profile settings belonging to a user. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_profile { [EnumMember(Value = "write")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pull_requests.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pull_requests.cs index 6b3a110166..861737396c 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pull_requests.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_pull_requests.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_pull_requests { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_custom_properties.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_custom_properties.cs index b533a625ec..d816e675a3 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_custom_properties.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_custom_properties.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_repository_custom_properties { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_hooks.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_hooks.cs index 483c563ae6..63a2027a9e 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_hooks.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_hooks.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage the post-receive hooks for a repository. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_repository_hooks { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_projects.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_projects.cs index ba98c6bbc9..13c28b48e7 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_projects.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_repository_projects.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage repository projects, columns, and cards. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_repository_projects { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secret_scanning_alerts.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secret_scanning_alerts.cs index 28c538027b..2ae7fa21b8 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secret_scanning_alerts.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secret_scanning_alerts.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage secret scanning alerts. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_secret_scanning_alerts { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secrets.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secrets.cs index 0f498c16d4..7bb9fb94cf 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secrets.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_secrets.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage repository secrets. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_secrets { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_security_events.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_security_events.cs index a9419a7406..38c14665e8 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_security_events.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_security_events.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to view and manage security events like code scanning alerts. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_security_events { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_single_file.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_single_file.cs index 006b650cac..e88a2d2c40 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_single_file.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_single_file.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage just a single file. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_single_file { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_starring.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_starring.cs index b794c597b8..5df0fa350f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_starring.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_starring.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to list and manage repositories a user is starring. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_starring { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_statuses.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_statuses.cs index 37dc562a98..a836f43d45 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_statuses.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_statuses.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token for commit statuses. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_statuses { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_team_discussions.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_team_discussions.cs index 907a541ba9..fad85924fe 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_team_discussions.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_team_discussions.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage team discussions and related comments. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_team_discussions { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_vulnerability_alerts.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_vulnerability_alerts.cs index 995b2fa6a4..aa853ae366 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_vulnerability_alerts.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_vulnerability_alerts.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to manage Dependabot alerts. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_vulnerability_alerts { [EnumMember(Value = "read")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_workflows.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_workflows.cs index c46c92bc4e..16ebb3f04b 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_workflows.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/AppPermissions_workflows.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// The level of permission to grant the access token to update GitHub Actions workflow files. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum AppPermissions_workflows { [EnumMember(Value = "write")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/BasicError.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/BasicError.cs index 4c946f0902..e3c0b5a261 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/BasicError.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/BasicError.cs @@ -11,7 +11,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Basic Error /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BasicError : ApiException, IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile.cs index 85d75a03bd..aa439165cb 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Content File /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentFile : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile__links.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile__links.cs index 7c5004b8a3..f8eba5522e 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile__links.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile__links.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class ContentFile__links : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile_type.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile_type.cs index 37cda88da4..3d47035a49 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile_type.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentFile_type.cs @@ -3,7 +3,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public enum ContentFile_type #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule.cs index 120edb2ec5..bace99f827 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// An object describing a submodule /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentSubmodule : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule__links.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule__links.cs index 4f0a3eb8e2..97ac3f6975 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule__links.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule__links.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class ContentSubmodule__links : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule_type.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule_type.cs index eb44652854..e08c1e0a74 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule_type.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSubmodule_type.cs @@ -3,7 +3,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public enum ContentSubmodule_type #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink.cs index 7ea95caa9d..bd1dcb9185 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// An object describing a symlink /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentSymlink : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink__links.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink__links.cs index 251681f0c3..c464043d1f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink__links.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink__links.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class ContentSymlink__links : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink_type.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink_type.cs index 1c84cf733b..7bde09826f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink_type.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ContentSymlink_type.cs @@ -3,7 +3,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public enum ContentSymlink_type #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Enterprise.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Enterprise.cs index cad07971e8..98f5ea2d7d 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Enterprise.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Enterprise.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// An enterprise on GitHub. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Enterprise : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation.cs index b5438525d7..b443954696 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Installation /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Installation : IAdditionalDataHolder, IParsable { /// The access_tokens_url property @@ -206,7 +206,7 @@ public virtual void Serialize(ISerializationWriter writer) /// /// Composed type wrapper for classes , /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Installation_account : IComposedTypeWrapper, IParsable { /// Composed type representation for type diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation_repository_selection.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation_repository_selection.cs index 3d9075213d..534f4e6570 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation_repository_selection.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Installation_repository_selection.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// Describe whether all repositories have been selected or there's a selection involved - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum Installation_repository_selection { [EnumMember(Value = "all")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableLicenseSimple.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableLicenseSimple.cs index 8ab5e8141a..277a7436cb 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableLicenseSimple.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableLicenseSimple.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// License Simple /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NullableLicenseSimple : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableSimpleUser.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableSimpleUser.cs index 16e1e8829b..565a656105 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableSimpleUser.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/NullableSimpleUser.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// A GitHub user. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NullableSimpleUser : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReactionRollup.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReactionRollup.cs index 69200ef05f..4e08d609b5 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReactionRollup.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReactionRollup.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class ReactionRollup : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Release.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Release.cs index 976f5c1cca..81ca36cc21 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Release.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Release.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// A release. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Release : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset.cs index 1547daa8d7..aaa8e613b5 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Data related to a release. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ReleaseAsset : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset_state.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset_state.cs index 8439b53813..cfa073debf 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset_state.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ReleaseAsset_state.cs @@ -4,7 +4,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { /// State of the release asset. - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum ReleaseAsset_state { [EnumMember(Value = "uploaded")] diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem.cs index 044dfc877e..7b62e40ad5 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Repo Search Result Item /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RepoSearchResultItem : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem_permissions.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem_permissions.cs index 1cc279df2c..5064248f0a 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem_permissions.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/RepoSearchResultItem_permissions.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class RepoSearchResultItem_permissions : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories.cs index c7b3f86d37..88a6caa2b4 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class Repositories : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories503Error.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories503Error.cs index eee8c40076..d7b6edb8d5 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories503Error.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories503Error.cs @@ -8,7 +8,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class Repositories503Error : ApiException, IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories_matches.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories_matches.cs index d6fbeb7edb..899fec967c 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories_matches.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/Repositories_matches.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class Repositories_matches : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/SimpleUser.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/SimpleUser.cs index 78f7e84954..636463f7c9 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/SimpleUser.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/SimpleUser.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// A GitHub user. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SimpleUser : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError.cs index 2a2c47ddd1..eb1ef10ab7 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError.cs @@ -11,7 +11,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// Validation Error /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ValidationError : ApiException, IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError_errors.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError_errors.cs index 3d862f8577..6879ecf700 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError_errors.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/ValidationError_errors.cs @@ -7,7 +7,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class ValidationError_errors : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 @@ -107,7 +107,7 @@ public virtual void Serialize(ISerializationWriter writer) /// /// Composed type wrapper for classes , /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ValidationError_errors_value : IComposedTypeWrapper, IParsable { /// Composed type representation for type diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/WithPathGetResponseMember1.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/WithPathGetResponseMember1.cs index f55f46d1a3..359ea4e054 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/WithPathGetResponseMember1.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Models/WithPathGetResponseMember1.cs @@ -10,7 +10,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models /// /// A list of directory items /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithPathGetResponseMember1 : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/ContentsRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/ContentsRequestBuilder.cs index cf37832686..743bcd3897 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/ContentsRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/ContentsRequestBuilder.cs @@ -12,7 +12,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos.Item.Item.Cont /// /// Builds and executes requests for operations under \repos\{owner}\{repo}\contents /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Kiota.Builder.SearchProviders.GitHub.GitHubClient.repos.item.item.contents.item collection diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs index 699497ad3a..5ac119da5f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos.Item.Item.Cont /// /// Builds and executes requests for operations under \repos\{owner}\{repo}\contents\{path} /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithPathItemRequestBuilder : BaseRequestBuilder { /// @@ -90,7 +90,7 @@ public RequestInformation ToGetRequestInformation(Action /// Composed type wrapper for classes , , , List<global::Kiota.Builder.SearchProviders.GitHub.GitHubClient.Models.WithPathGetResponseMember1> /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithPathGetResponse : IComposedTypeWrapper, IParsable { /// Composed type representation for type @@ -213,7 +213,7 @@ public virtual void Serialize(ISerializationWriter writer) /// /// Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.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 file contents for files and symlinks.- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.**Notes**:- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/git/trees#get-a-tree).- This API has an upper limit of 1,000 files for a directory. If you need to retrievemore files, use the [Git Trees API](https://docs.github.com/rest/git/trees#get-a-tree).- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.- If the requested file's size is: - 1 MB or smaller: All features of this endpoint are supported. - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an emptystring and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type. - Greater than 100 MB: This endpoint is not supported. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithPathItemRequestBuilderGetQueryParameters { /// The name of the commit/branch/tag. Default: the repository’s default branch. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Releases/ReleasesRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Releases/ReleasesRequestBuilder.cs index 32632c1764..13eed8731b 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Releases/ReleasesRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/Releases/ReleasesRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos.Item.Item.Rele /// /// Builds and executes requests for operations under \repos\{owner}\{repo}\releases /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ReleasesRequestBuilder : BaseRequestBuilder { /// @@ -89,7 +89,7 @@ public RequestInformation ToGetRequestInformation(Action /// This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/repos/repos#list-repository-tags).Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ReleasesRequestBuilderGetQueryParameters { /// The page number of the results to fetch. 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)." diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/WithRepoItemRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/WithRepoItemRequestBuilder.cs index 64518f1127..e5ff765484 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/WithRepoItemRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/Item/WithRepoItemRequestBuilder.cs @@ -13,7 +13,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos.Item.Item /// /// Builds and executes requests for operations under \repos\{owner}\{repo} /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithRepoItemRequestBuilder : BaseRequestBuilder { /// The contents property diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/WithOwnerItemRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/WithOwnerItemRequestBuilder.cs index 491e6e85ae..a9adaaaa5a 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/WithOwnerItemRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/Item/WithOwnerItemRequestBuilder.cs @@ -12,7 +12,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos.Item /// /// Builds and executes requests for operations under \repos\{owner} /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WithOwnerItemRequestBuilder : BaseRequestBuilder { /// Gets an item from the Kiota.Builder.SearchProviders.GitHub.GitHubClient.repos.item.item collection diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/ReposRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/ReposRequestBuilder.cs index 156ca1b26f..b8aaa21274 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/ReposRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Repos/ReposRequestBuilder.cs @@ -12,7 +12,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Repos /// /// Builds and executes requests for operations under \repos /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ReposRequestBuilder : BaseRequestBuilder { /// Gets an item from the Kiota.Builder.SearchProviders.GitHub.GitHubClient.repos.item collection diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetOrderQueryParameterType.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetOrderQueryParameterType.cs index ba51308015..ed999ce102 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetOrderQueryParameterType.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetOrderQueryParameterType.cs @@ -3,7 +3,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Search.Repositories { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public enum GetOrderQueryParameterType #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetSortQueryParameterType.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetSortQueryParameterType.cs index 6bff412d6c..5362d8b21f 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetSortQueryParameterType.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/GetSortQueryParameterType.cs @@ -3,7 +3,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Search.Repositories { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public enum GetSortQueryParameterType #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesGetResponse.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesGetResponse.cs index 832efb5afd..53874bacec 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesGetResponse.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesGetResponse.cs @@ -8,7 +8,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Search.Repositories { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class RepositoriesGetResponse : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesRequestBuilder.cs index 8d794f67d7..364d2707f9 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/Repositories/RepositoriesRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Search.Repositories /// /// Builds and executes requests for operations under \search\repositories /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RepositoriesRequestBuilder : BaseRequestBuilder { /// @@ -90,7 +90,7 @@ public RequestInformation ToGetRequestInformation(Action /// Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:`q=tetris+language:assembly&sort=stars&order=desc`This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RepositoriesRequestBuilderGetQueryParameters { /// Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/SearchRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/SearchRequestBuilder.cs index e16b1abe90..21eab82bfc 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/SearchRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/Search/SearchRequestBuilder.cs @@ -12,7 +12,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.Search /// /// Builds and executes requests for operations under \search /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SearchRequestBuilder : BaseRequestBuilder { /// The repositories property diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsGetResponse.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsGetResponse.cs index 95bb566e68..ca17beca03 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsGetResponse.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsGetResponse.cs @@ -8,7 +8,7 @@ using System; namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.User.Installations { - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 public partial class InstallationsGetResponse : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsRequestBuilder.cs index d4ece8b5cb..4e49377823 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/Installations/InstallationsRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.User.Installations /// /// Builds and executes requests for operations under \user\installations /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class InstallationsRequestBuilder : BaseRequestBuilder { /// @@ -90,7 +90,7 @@ public RequestInformation ToGetRequestInformation(Action /// Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You can find the permissions for the installation under the `permissions` key. /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class InstallationsRequestBuilderGetQueryParameters { /// The page number of the results to fetch. 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)." diff --git a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/UserRequestBuilder.cs b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/UserRequestBuilder.cs index b733e5fb84..f27a9c5d21 100644 --- a/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/UserRequestBuilder.cs +++ b/src/Kiota.Builder/SearchProviders/GitHub/GitHubClient/User/UserRequestBuilder.cs @@ -12,7 +12,7 @@ namespace Kiota.Builder.SearchProviders.GitHub.GitHubClient.User /// /// Builds and executes requests for operations under \user /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UserRequestBuilder : BaseRequestBuilder { /// The installations property diff --git a/src/Kiota.Builder/Writers/CSharp/CodeClassDeclarationWriter.cs b/src/Kiota.Builder/Writers/CSharp/CodeClassDeclarationWriter.cs index c7f3bdb808..b4cd43c2d1 100644 --- a/src/Kiota.Builder/Writers/CSharp/CodeClassDeclarationWriter.cs +++ b/src/Kiota.Builder/Writers/CSharp/CodeClassDeclarationWriter.cs @@ -7,7 +7,7 @@ namespace Kiota.Builder.Writers.CSharp; public class CodeClassDeclarationWriter : BaseElementWriter { public static string AutoGenerationHeader => "// "; - public static string GeneratedCodeAttribute { get; } = $"[global::System.CodeDom.Compiler.GeneratedCode(\"Kiota\", \"{Kiota.Generated.KiotaVersion.Current()}\")]"; + public static string GeneratedCodeAttribute { get; } = $"[global::System.CodeDom.Compiler.GeneratedCode(\"Kiota\", \"{Kiota.Generated.KiotaVersion.CurrentMajor()}\")]"; public CodeClassDeclarationWriter(CSharpConventionService conventionService) : base(conventionService) { } public override void WriteCodeElement(ClassDeclaration codeElement, LanguageWriter writer) { diff --git a/src/Kiota.Builder/Writers/CSharp/CodeEnumWriter.cs b/src/Kiota.Builder/Writers/CSharp/CodeEnumWriter.cs index 5b43dd3c44..cde467a403 100644 --- a/src/Kiota.Builder/Writers/CSharp/CodeEnumWriter.cs +++ b/src/Kiota.Builder/Writers/CSharp/CodeEnumWriter.cs @@ -9,7 +9,7 @@ namespace Kiota.Builder.Writers.CSharp; public class CodeEnumWriter : BaseElementWriter { public static string AutoGenerationHeader => "// "; - public static string GeneratedCodeAttribute { get; } = $"[global::System.CodeDom.Compiler.GeneratedCode(\"Kiota\", \"{Kiota.Generated.KiotaVersion.Current()}\")]"; + public static string GeneratedCodeAttribute { get; } = $"[global::System.CodeDom.Compiler.GeneratedCode(\"Kiota\", \"{Kiota.Generated.KiotaVersion.CurrentMajor()}\")]"; public CodeEnumWriter(CSharpConventionService conventionService) : base(conventionService) { } public override void WriteCodeElement(CodeEnum codeElement, LanguageWriter writer) { diff --git a/src/Kiota.Generated/KiotaVersionGenerator.cs b/src/Kiota.Generated/KiotaVersionGenerator.cs index a4927eb6eb..c2d9c29ac5 100644 --- a/src/Kiota.Generated/KiotaVersionGenerator.cs +++ b/src/Kiota.Generated/KiotaVersionGenerator.cs @@ -22,6 +22,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context) csproj.Load(PathHelper.Join(directory, "Kiota.Builder.csproj")); var version = csproj.GetElementsByTagName("VersionPrefix")[0].InnerText; + var majorVersion = $"{Version.Parse(version).Major}.0.0"; var versionSuffixTag = csproj.GetElementsByTagName("VersionSuffix"); if (versionSuffixTag != null && versionSuffixTag.Count > 0) { @@ -44,6 +45,14 @@ public static string Current() {{ return ""{version}""; }} + + /// + /// The current major version string + /// + public static string CurrentMajor() + {{ + return ""{majorVersion}""; + }} }} }} "; From 0791a2ddbab9a3b7755a9e8ca5c556be10c359d1 Mon Sep 17 00:00:00 2001 From: Birler Date: Thu, 10 Oct 2024 09:47:23 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e32ee9597e..90b48b1371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,13 +16,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed incompatibility with detecting odata primitives after conversion library updates at [OpenAPI.NET.OData#581](https://github.com/microsoft/OpenAPI.NET.OData/issues/581); - Fixed cyclic dependencies in generated Go code. [#2834](https://github.com/microsoft/kiota/issues/2834) - Fixed a bug where default output folder is created on plugin edit and generate commands. [#5510](https://github.com/microsoft/kiota/issues/5429) +- Changed GeneratedCode attribute applied when generating CSharp to only include the major version of Kiota. [#5489](https://github.com/microsoft/kiota/issues/5489) ## [1.19.0] - 2024-10-03 ### Added - Control generated type access modifier for C# via `--type-access-modifier` flag. [#4788](https://github.com/microsoft/kiota/issues/4788) -- ### Changed